JAPAn
Just Another Parity Analyzer
Loading...
Searching...
No Matches
QwDetectorID Class Reference

Detector identification structure for tracking system components. More...

#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
 
EQwDetectorPackage fPackage
 which arm of the rotator or octant number
 
Int_t fOctant
 octant of this detector
 
Int_t fPlane
 R or theta index for R1; plane index for R2 & R3.
 
EQwDirectionID fDirection
 direction of the wire plane X,Y,U,V etc - Rakitha (10/23/2008)
 
Int_t fElement
 trace number for R1; wire number for R2 & R3; PMT number for others
 

Friends

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

Detailed Description

Detector identification structure for tracking system components.

Encapsulates the complete identification of a detector element including region, package, octant, plane, direction, and element number. Used throughout the tracking system for detector mapping and data organization.

Definition at line 245 of file QwTypes.h.

Constructor & Destructor Documentation

◆ QwDetectorID() [1/2]

QwDetectorID::QwDetectorID ( )
inline

Definition at line 248 of file QwTypes.h.

@ kDirectionNull
Definition QwTypes.h:53
@ kRegionIDNull
Definition QwTypes.h:28
@ kPackageNull
Definition QwTypes.h:82
Int_t fElement
trace number for R1; wire number for R2 & R3; PMT number for others
Definition QwTypes.h:267
Int_t fPlane
R or theta index for R1; plane index for R2 & R3.
Definition QwTypes.h:265
EQwDirectionID fDirection
direction of the wire plane X,Y,U,V etc - Rakitha (10/23/2008)
Definition QwTypes.h:266
Int_t fOctant
octant of this detector
Definition QwTypes.h:264
EQwRegionID fRegion
region 1, 2, 3, triggg. scint or cerenkov
Definition QwTypes.h:262
EQwDetectorPackage fPackage
which arm of the rotator or octant number
Definition QwTypes.h:263

References fDirection, fElement, fOctant, fPackage, fPlane, fRegion, kDirectionNull, kPackageNull, and kRegionIDNull.

Referenced by operator<<.

+ Here is the caller graph for this function:

◆ QwDetectorID() [2/2]

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 252 of file QwTypes.h.

258 : fRegion(region),fPackage(package),fOctant(octant),
259 fPlane(plane),fDirection(direction),fElement(wire) { };

References fDirection, fElement, fOctant, fPackage, fPlane, and fRegion.

Friends And Related Symbol Documentation

◆ operator<<

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

Definition at line 269 of file QwTypes.h.

269 {
270 os << " Region ";
271 os << detectorID.fRegion;
272 os << " Package ";
273 os << detectorID.fPackage;
274 os << " Octant ";
275 os << detectorID.fOctant;
276 os << " Plane ";
277 os << detectorID.fPlane;
278 os << " Direction";
279 os <<detectorID.fDirection;
280 os << " fElement ";
281 os << detectorID.fElement;
282
283 return os;
284 }

References fDirection, fElement, fOctant, fPackage, fPlane, fRegion, and QwDetectorID().

Field Documentation

◆ fDirection

EQwDirectionID QwDetectorID::fDirection

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

Definition at line 266 of file QwTypes.h.

Referenced by operator<<, QwDetectorID(), and QwDetectorID().

◆ fElement

Int_t QwDetectorID::fElement

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

Definition at line 267 of file QwTypes.h.

Referenced by operator<<, QwDetectorID(), and QwDetectorID().

◆ fOctant

Int_t QwDetectorID::fOctant

octant of this detector

Definition at line 264 of file QwTypes.h.

Referenced by operator<<, QwDetectorID(), and QwDetectorID().

◆ fPackage

EQwDetectorPackage QwDetectorID::fPackage

which arm of the rotator or octant number

Definition at line 263 of file QwTypes.h.

Referenced by operator<<, QwDetectorID(), and QwDetectorID().

◆ fPlane

Int_t QwDetectorID::fPlane

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

Definition at line 265 of file QwTypes.h.

Referenced by operator<<, QwDetectorID(), and QwDetectorID().

◆ fRegion

EQwRegionID QwDetectorID::fRegion

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

Definition at line 262 of file QwTypes.h.

Referenced by operator<<, QwDetectorID(), and QwDetectorID().


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