QwAnalysis
QwDetectorID Class Reference

#include <QwTypes.h>

Public Member Functions

 QwDetectorID ()
 
 QwDetectorID (const EQwRegionID region, const EQwDetectorPackage package, const Int_t octant, const Int_t plane, const EQwDirectionID direction, const Int_t wire)
 

Data Fields

EQwRegionID fRegion
 region 1, 2, 3, triggg. scint or cerenkov More...
 
EQwDetectorPackage fPackage
 which arm of the rotator or octant number More...
 
Int_t fOctant
 octant of this detector More...
 
Int_t fPlane
 R or theta index for R1; plane index for R2 & R3. More...
 
EQwDirectionID fDirection
 direction of the wire plane X,Y,U,V etc - Rakitha (10/23/2008) More...
 
Int_t fElement
 trace number for R1; wire number for R2 & R3; PMT number for others More...
 

Friends

std::ostream & operator<< (std::ostream &os, const QwDetectorID &detectorID)
 

Detailed Description

Definition at line 231 of file QwTypes.h.

Constructor & Destructor Documentation

QwDetectorID::QwDetectorID ( )
inline

Definition at line 234 of file QwTypes.h.

EQwDetectorPackage fPackage
which arm of the rotator or octant number
Definition: QwTypes.h:249
EQwDirectionID fDirection
direction of the wire plane X,Y,U,V etc - Rakitha (10/23/2008)
Definition: QwTypes.h:252
EQwRegionID fRegion
region 1, 2, 3, triggg. scint or cerenkov
Definition: QwTypes.h:245
Int_t fElement
trace number for R1; wire number for R2 &amp; R3; PMT number for others
Definition: QwTypes.h:253
Int_t fPlane
R or theta index for R1; plane index for R2 &amp; R3.
Definition: QwTypes.h:251
Int_t fOctant
octant of this detector
Definition: QwTypes.h:250
QwDetectorID::QwDetectorID ( const EQwRegionID  region,
const EQwDetectorPackage  package,
const Int_t  octant,
const Int_t  plane,
const EQwDirectionID  direction,
const Int_t  wire 
)
inline

Definition at line 238 of file QwTypes.h.

244  : fRegion(region),fPackage(package),fOctant(octant),
245  fPlane(plane),fDirection(direction),fElement(wire) { };
EQwDetectorPackage fPackage
which arm of the rotator or octant number
Definition: QwTypes.h:249
EQwDirectionID fDirection
direction of the wire plane X,Y,U,V etc - Rakitha (10/23/2008)
Definition: QwTypes.h:252
EQwRegionID fRegion
region 1, 2, 3, triggg. scint or cerenkov
Definition: QwTypes.h:245
Int_t fElement
trace number for R1; wire number for R2 &amp; R3; PMT number for others
Definition: QwTypes.h:253
Int_t fPlane
R or theta index for R1; plane index for R2 &amp; R3.
Definition: QwTypes.h:251
Int_t fOctant
octant of this detector
Definition: QwTypes.h:250

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const QwDetectorID detectorID 
)
friend

Definition at line 255 of file QwTypes.h.

255  {
256  os << " Region ";
257  os << detectorID.fRegion;
258  os << " Package ";
259  os << detectorID.fPackage;
260  os << " Octant ";
261  os << detectorID.fOctant;
262  os << " Plane ";
263  os << detectorID.fPlane;
264  os << " Direction";
265  os <<detectorID.fDirection;
266  os << " fElement ";
267  os << detectorID.fElement;
268 
269  return os;
270  }
EQwDetectorPackage fPackage
which arm of the rotator or octant number
Definition: QwTypes.h:249
EQwDirectionID fDirection
direction of the wire plane X,Y,U,V etc - Rakitha (10/23/2008)
Definition: QwTypes.h:252
EQwRegionID fRegion
region 1, 2, 3, triggg. scint or cerenkov
Definition: QwTypes.h:245
Int_t fElement
trace number for R1; wire number for R2 &amp; R3; PMT number for others
Definition: QwTypes.h:253
Int_t fPlane
R or theta index for R1; plane index for R2 &amp; R3.
Definition: QwTypes.h:251
Int_t fOctant
octant of this detector
Definition: QwTypes.h:250

Field Documentation

EQwDirectionID QwDetectorID::fDirection

direction of the wire plane X,Y,U,V etc - Rakitha (10/23/2008)

Definition at line 252 of file QwTypes.h.

Int_t QwDetectorID::fElement

trace number for R1; wire number for R2 & R3; PMT number for others

Definition at line 253 of file QwTypes.h.

Referenced by QwDriftChamberHDC::ClearEventData(), QwDriftChamberHDC::FillHistograms(), and QwDriftChamberVDC::FillHistograms().

Int_t QwDetectorID::fOctant

octant of this detector

Definition at line 250 of file QwTypes.h.

EQwDetectorPackage QwDetectorID::fPackage

which arm of the rotator or octant number

Definition at line 249 of file QwTypes.h.

Int_t QwDetectorID::fPlane

R or theta index for R1; plane index for R2 & R3.

Definition at line 251 of file QwTypes.h.

Referenced by QwDriftChamberHDC::ClearEventData(), QwDriftChamberHDC::FillHistograms(), and QwDriftChamberVDC::FillHistograms().

EQwRegionID QwDetectorID::fRegion

region 1, 2, 3, triggg. scint or cerenkov

Definition at line 245 of file QwTypes.h.


The documentation for this class was generated from the following file: