QwAnalysis
QwDetectorInfo Class Reference

#include <QwDetectorInfo.h>

Inherits TObject.

+ Collaboration diagram for QwDetectorInfo:

Public Member Functions

 QwDetectorInfo (const std::string &name="")
 Constructor with optional name. More...
 
void LoadGeometryDefinition (QwParameterFile *map)
 
void LoadCrosstalkDefinition (QwParameterFile *map)
 
std::string GetDetectorName () const
 
void SetDetectorName (const std::string &name)
 
double GetSpatialResolution () const
 
void SetSpatialResolution (const double res)
 
double GetTrackResolution () const
 
void SetTrackResolution (const double res)
 
double GetSlopeMatching () const
 
void SetSlopeMatching (const double slope)
 
const TVector3 GetPosition () const
 
double GetXPosition () const
 
double GetYPosition () const
 
double GetZPosition () const
 
void SetPosition (const TVector3 &position)
 
void SetZPosition (const double z)
 
void SetXYPosition (const double x, const double y)
 
void SetXYZPosition (const double x, const double y, const double z)
 
void SetOctant (const int octant)
 
int GetOctant () const
 
void SetPlaneOffset (double offset)
 
double GetPlaneOffset () const
 
bool IsActive () const
 
bool IsInactive () const
 
void SetActive (const bool active=true)
 
double GetActiveWidthX () const
 
double GetActiveWidthY () const
 
void SetActiveWidthXY (const double x, const double y)
 
double GetActiveWidthZ () const
 
void SetActiveWidthZ (const double z)
 
bool InAcceptance (const double x, const double y) const
 
EQwDirectionID GetElementDirection () const
 
void SetElementDirection (const EQwDirectionID dir)
 
double GetElementSpacing () const
 
void SetElementSpacing (const double spacing)
 
double GetElementOffset () const
 
void SetElementOffset (const double offset)
 
double GetElementCoordinate (const int element) const
 
double GetElementAngle () const
 
double GetElementAngleInRad () const
 
double GetElementAngleInDeg () const
 
double GetElementAngleCos () const
 
double GetElementAngleSin () const
 
void SetElementAngle (const double angle)
 
void SetElementAngle (const double cosangle, const double sinangle)
 
int GetNumberOfElements () const
 
void SetNumberOfElements (const int nelements)
 
double GetDetectorPitch () const
 
double GetDetectorPitchInRad () const
 
double GetDetectorPitchInDeg () const
 
double GetDetectorPitchCos () const
 
double GetDetectorPitchSin () const
 
void SetDetectorPitch (const double pitch)
 
double GetDetectorYaw () const
 
double GetDetectorYawInRad () const
 
double GetDetectorYawInDeg () const
 
double GetDetectorYawCos () const
 
double GetDetectorYawSin () const
 
void SetDetectorYaw (const double yaw)
 
double GetDetectorRoll () const
 
double GetDetectorRollInRad () const
 
double GetDetectorRollInDeg () const
 
double GetDetectorRollCos () const
 
double GetDetectorRollSin () const
 
void SetDetectorRoll (const double roll)
 
double GetRotatorPitch () const
 
double GetRotatorPitchInRad () const
 
double GetRotatorPitchInDeg () const
 
double GetRotatorPitchCos () const
 
double GetRotatorPitchSin () const
 
void SetRotatorPitch (const double pitch)
 
double GetRotatorYaw () const
 
double GetRotatorYawInRad () const
 
double GetRotatorYawInDeg () const
 
double GetRotatorYawCos () const
 
double GetRotatorYawSin () const
 
void SetRotatorYaw (const double yaw)
 
double GetRotatorRoll () const
 
double GetRotatorRollInRad () const
 
double GetRotatorRollInDeg () const
 
double GetRotatorRollCos () const
 
double GetRotatorRollSin () const
 
void SetRotatorRoll (const double roll)
 
QwTrackingTreeRegionGetTrackingSearchTree ()
 
const QwTrackingTreeRegionGetTrackingSearchTree () const
 
void SetTrackingSearchTree (QwTrackingTreeRegion *tree)
 
void Print (Option_t *option="") const
 
EQwDetectorType GetType () const
 
EQwDetectorPackage GetPackage () const
 
EQwRegionID GetRegion () const
 
EQwDirectionID GetDirection () const
 
int GetPlane () const
 
int GetCrosstalkElement (int element) const
 
double GetElementEfficiency (int element) const
 
void SetElementEfficiency (int element, double efficiency)
 
void SetElementEfficiency (double efficiency)
 
void SetElectronics (int crt, int mdl, int chn)
 
bool IsHit ()
 
int GetNumHits ()
 
void ClearHits ()
 
void PushHit (int time)
 
 ClassDef (QwDetectorInfo, 0)
 

Data Fields

std::string fDetectorName
 
int fReferenceChannelIndex
 
std::vector< int > fHitID
 

Private Attributes

EQwDetectorType fType
 
EQwDetectorPackage fPackage
 
EQwRegionID fRegion
 
EQwDirectionID fDirection
 
int fPlane
 
int fOctant
 
int fCrate
 
int fModule
 
int fChannel
 
double fDetectorOriginX
 Detector position in x. More...
 
double fDetectorOriginY
 Detector position in y. More...
 
double fDetectorOriginZ
 Detector position in z. More...
 
double fDetectorPitch
 Pitch of detector. More...
 
double fDetectorPitchCos
 Cos of detector pitch. More...
 
double fDetectorPitchSin
 Sin of detector pitch. More...
 
double fDetectorYaw
 Yaw of detector. More...
 
double fDetectorYawCos
 Cos of detector yaw. More...
 
double fDetectorYawSin
 Sin of detector yaw. More...
 
double fDetectorRoll
 Roll of detector. More...
 
double fDetectorRollCos
 Cos of detector roll. More...
 
double fDetectorRollSin
 Sin of detector roll. More...
 
double fRotatorPitch
 Pitch of rotator (rotation of rotator about global x-axis) More...
 
double fRotatorPitchCos
 Cos of rotator pitch. More...
 
double fRotatorPitchSin
 Sin of rotator pitch. More...
 
double fRotatorYaw
 Yaw of rotator (rotation of rotator about global y-axis) More...
 
double fRotatorYawCos
 Cos of rotator yaw. More...
 
double fRotatorYawSin
 Sin of rotator yaw. More...
 
double fRotatorRoll
 Roll of rotator (rotation of rotator about global z-axis) More...
 
double fRotatorRollCos
 Cos of rotator roll. More...
 
double fRotatorRollSin
 Sin of rotator roll. More...
 
bool fIsActive
 Is this detector activated in tracking. More...
 
double fSpatialResolution
 Spatial resolution (how accurate is the timing info) More...
 
double fTrackResolution
 Track resolution (how accurate are the tracks through the hits) More...
 
double fSlopeMatching
 Slope matching resolution (how accurate do the tracks line up) More...
 
double fActiveWidthX
 Active volume in x. More...
 
double fActiveWidthY
 Active volume in y. More...
 
double fActiveWidthZ
 Active volume in z. More...
 
double fElementSpacing
 Perpendicular distance between the elements. More...
 
double fElementAngle
 Element orientation with respect to the X axis. More...
 
double fElementAngleCos
 Cos of the element orientation. More...
 
double fElementAngleSin
 Sin of the element orientation. More...
 
double fElementOffset
 
double fPlaneOffset
 exactly clear to me what that exactly means) More...
 
int fNumberOfElements
 Total number of elements in this detector. More...
 
std::map< int, int > fCrosstalk
 
std::vector< double > fEfficiency
 ///< Sets of crosstalking elements, in a map for easy lookup More...
 
QwTrackingTreeRegionfTree
 ///< Efficiency of all elements More...
 

Friends

std::ostream & operator<< (std::ostream &stream, const QwDetectorInfo &det)
 

Detailed Description

Definition at line 25 of file QwDetectorInfo.h.

Constructor & Destructor Documentation

QwDetectorInfo::QwDetectorInfo ( const std::string &  name = "")

Constructor with optional name.

Tracking detector information class. This will be used in an array indexed by the package, plane, and wire,

Definition at line 22 of file QwDetectorInfo.cc.

25  fPlane(0),fOctant(0),
26  fCrate(0),fModule(0),fChannel(0),
39 {
40 
41 }
double fRotatorPitch
Pitch of rotator (rotation of rotator about global x-axis)
EQwRegionID fRegion
double fDetectorPitchSin
Sin of detector pitch.
double fDetectorOriginZ
Detector position in z.
EQwDetectorPackage fPackage
bool fIsActive
Is this detector activated in tracking.
double fElementAngleCos
Cos of the element orientation.
double fSlopeMatching
Slope matching resolution (how accurate do the tracks line up)
double fRotatorRoll
Roll of rotator (rotation of rotator about global z-axis)
double fActiveWidthZ
Active volume in z.
double fDetectorRollSin
Sin of detector roll.
double fDetectorPitchCos
Cos of detector pitch.
double fRotatorYawCos
Cos of rotator yaw.
double fActiveWidthY
Active volume in y.
double fPlaneOffset
exactly clear to me what that exactly means)
std::string fDetectorName
QwTrackingTreeRegion * fTree
///&lt; Efficiency of all elements
double fDetectorPitch
Pitch of detector.
double fRotatorPitchCos
Cos of rotator pitch.
double fActiveWidthX
Active volume in x.
double fRotatorRollCos
Cos of rotator roll.
double fTrackResolution
Track resolution (how accurate are the tracks through the hits)
double fDetectorYaw
Yaw of detector.
EQwDirectionID fDirection
double fRotatorRollSin
Sin of rotator roll.
double fRotatorYawSin
Sin of rotator yaw.
int fNumberOfElements
Total number of elements in this detector.
double fDetectorOriginX
Detector position in x.
double fDetectorOriginY
Detector position in y.
double fDetectorYawCos
Cos of detector yaw.
EQwDetectorType fType
double fSpatialResolution
Spatial resolution (how accurate is the timing info)
double fDetectorRollCos
Cos of detector roll.
double fElementAngle
Element orientation with respect to the X axis.
double fDetectorYawSin
Sin of detector yaw.
double fRotatorPitchSin
Sin of rotator pitch.
double fDetectorRoll
Roll of detector.
double fElementAngleSin
Sin of the element orientation.
double fRotatorYaw
Yaw of rotator (rotation of rotator about global y-axis)
double fElementSpacing
Perpendicular distance between the elements.

Member Function Documentation

QwDetectorInfo::ClassDef ( QwDetectorInfo  ,
 
)
void QwDetectorInfo::ClearHits ( )
inline

Definition at line 350 of file QwDetectorInfo.h.

References fHitID.

Referenced by QwDriftChamberVDC::FillHistograms().

350  {
351  if (!fHitID.empty())
352  fHitID.clear();
353  }
std::vector< int > fHitID

+ Here is the caller graph for this function:

double QwDetectorInfo::GetActiveWidthX ( ) const
inline

Definition at line 88 of file QwDetectorInfo.h.

References fActiveWidthX.

Referenced by QwTreeEventBuffer::CreateHitCerenkov(), QwPartialTrack::DeterminePositionInDetector(), and QwTreeEventBuffer::GetEntry().

88 { return fActiveWidthX; };
double fActiveWidthX
Active volume in x.

+ Here is the caller graph for this function:

double QwDetectorInfo::GetActiveWidthY ( ) const
inline

Definition at line 89 of file QwDetectorInfo.h.

References fActiveWidthY.

Referenced by QwPartialTrack::DeterminePositionInDetector(), and QwTreeEventBuffer::GetEntry().

89 { return fActiveWidthY; };
double fActiveWidthY
Active volume in y.

+ Here is the caller graph for this function:

double QwDetectorInfo::GetActiveWidthZ ( ) const
inline

Definition at line 95 of file QwDetectorInfo.h.

References fActiveWidthZ.

Referenced by QwTreeEventBuffer::CreateHitRegion3(), and QwTrackingWorker::InitTree().

95 { return fActiveWidthZ; };
double fActiveWidthZ
Active volume in z.

+ Here is the caller graph for this function:

int QwDetectorInfo::GetCrosstalkElement ( int  element) const
inline

Definition at line 229 of file QwDetectorInfo.h.

References fCrosstalk.

Referenced by operator<<(), and QwTrackingTreeCombine::TlMatchHits().

229  {
230  if (fCrosstalk.count(element))
231  return fCrosstalk.at(element);
232  else
233  return -1;
234  }
std::map< int, int > fCrosstalk

+ Here is the caller graph for this function:

std::string QwDetectorInfo::GetDetectorName ( ) const
inline

Definition at line 43 of file QwDetectorInfo.h.

References fDetectorName.

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

43 { return fDetectorName; };
std::string fDetectorName

+ Here is the caller graph for this function:

double QwDetectorInfo::GetDetectorPitch ( ) const
inline

Definition at line 144 of file QwDetectorInfo.h.

References fDetectorPitch.

Referenced by QwPartialTrack::DeterminePositionInDetector().

144 { return fDetectorPitch; };
double fDetectorPitch
Pitch of detector.

+ Here is the caller graph for this function:

double QwDetectorInfo::GetDetectorPitchCos ( ) const
inline

Definition at line 147 of file QwDetectorInfo.h.

References fDetectorPitchCos.

Referenced by QwTreeEventBuffer::CreateHitList(), QwTrackingTreeMatch::MatchRegion3(), and QwTrackingTreeCombine::r3_PartialTrackFit().

147 { return fDetectorPitchCos; };
double fDetectorPitchCos
Cos of detector pitch.

+ Here is the caller graph for this function:

double QwDetectorInfo::GetDetectorPitchInDeg ( ) const
inline

Definition at line 146 of file QwDetectorInfo.h.

References Qw::deg, and fDetectorPitch.

146 { return fDetectorPitch / Qw::deg; };
static const double deg
Definition: QwUnits.h:106
double fDetectorPitch
Pitch of detector.
double QwDetectorInfo::GetDetectorPitchInRad ( ) const
inline

Definition at line 145 of file QwDetectorInfo.h.

References fDetectorPitch, and Qw::rad.

145 { return fDetectorPitch / Qw::rad; };
double fDetectorPitch
Pitch of detector.
static const double rad
Definition: QwUnits.h:105
double QwDetectorInfo::GetDetectorPitchSin ( ) const
inline

Definition at line 148 of file QwDetectorInfo.h.

References fDetectorPitchSin.

Referenced by QwTreeEventBuffer::CreateHitList(), QwTrackingTreeMatch::MatchRegion3(), and QwTrackingTreeCombine::r3_PartialTrackFit().

148 { return fDetectorPitchSin; };
double fDetectorPitchSin
Sin of detector pitch.

+ Here is the caller graph for this function:

double QwDetectorInfo::GetDetectorRoll ( ) const
inline

Definition at line 166 of file QwDetectorInfo.h.

References fDetectorRoll.

166 { return fDetectorRoll; };
double fDetectorRoll
Roll of detector.
double QwDetectorInfo::GetDetectorRollCos ( ) const
inline

Definition at line 169 of file QwDetectorInfo.h.

References fDetectorRollCos.

Referenced by QwTrackingTreeCombine::r3_PartialTrackFit().

169 { return fDetectorRollCos; };
double fDetectorRollCos
Cos of detector roll.

+ Here is the caller graph for this function:

double QwDetectorInfo::GetDetectorRollInDeg ( ) const
inline

Definition at line 168 of file QwDetectorInfo.h.

References Qw::deg, and fDetectorRoll.

168 { return fDetectorRoll / Qw::deg; };
static const double deg
Definition: QwUnits.h:106
double fDetectorRoll
Roll of detector.
double QwDetectorInfo::GetDetectorRollInRad ( ) const
inline

Definition at line 167 of file QwDetectorInfo.h.

References fDetectorRoll, and Qw::rad.

167 { return fDetectorRoll / Qw::rad; };
static const double rad
Definition: QwUnits.h:105
double fDetectorRoll
Roll of detector.
double QwDetectorInfo::GetDetectorRollSin ( ) const
inline

Definition at line 170 of file QwDetectorInfo.h.

References fDetectorRollSin.

Referenced by QwTrackingTreeCombine::r3_PartialTrackFit().

170 { return fDetectorRollSin; };
double fDetectorRollSin
Sin of detector roll.

+ Here is the caller graph for this function:

double QwDetectorInfo::GetDetectorYaw ( ) const
inline

Definition at line 155 of file QwDetectorInfo.h.

References fDetectorYaw.

155 { return fDetectorYaw; };
double fDetectorYaw
Yaw of detector.
double QwDetectorInfo::GetDetectorYawCos ( ) const
inline

Definition at line 158 of file QwDetectorInfo.h.

References fDetectorYawCos.

158 { return fDetectorYawCos; };
double fDetectorYawCos
Cos of detector yaw.
double QwDetectorInfo::GetDetectorYawInDeg ( ) const
inline

Definition at line 157 of file QwDetectorInfo.h.

References Qw::deg, and fDetectorYaw.

157 { return fDetectorYaw / Qw::deg; };
static const double deg
Definition: QwUnits.h:106
double fDetectorYaw
Yaw of detector.
double QwDetectorInfo::GetDetectorYawInRad ( ) const
inline

Definition at line 156 of file QwDetectorInfo.h.

References fDetectorYaw, and Qw::rad.

156 { return fDetectorYaw / Qw::rad; };
static const double rad
Definition: QwUnits.h:105
double fDetectorYaw
Yaw of detector.
double QwDetectorInfo::GetDetectorYawSin ( ) const
inline

Definition at line 159 of file QwDetectorInfo.h.

References fDetectorYawSin.

159 { return fDetectorYawSin; };
double fDetectorYawSin
Sin of detector yaw.
EQwDirectionID QwDetectorInfo::GetDirection ( ) const
inline
double QwDetectorInfo::GetElementAngle ( ) const
inline

Definition at line 120 of file QwDetectorInfo.h.

References fElementAngle.

Referenced by QwTreeEventBuffer::CreateHitRegion2(), QwTreeEventBuffer::CreateHitRegion3(), and QwTrackingTreeCombine::r3_PartialTrackFit().

120 { return fElementAngle; };
double fElementAngle
Element orientation with respect to the X axis.

+ Here is the caller graph for this function:

double QwDetectorInfo::GetElementAngleCos ( ) const
inline

Definition at line 123 of file QwDetectorInfo.h.

References fElementAngleCos.

Referenced by QwTrackingTreeMatch::MatchRegion3(), and QwTrackingTreeCombine::r2_PartialTrackFit().

123 { return fElementAngleCos; };
double fElementAngleCos
Cos of the element orientation.

+ Here is the caller graph for this function:

double QwDetectorInfo::GetElementAngleInDeg ( ) const
inline

Definition at line 122 of file QwDetectorInfo.h.

References Qw::deg, and fElementAngle.

122 { return fElementAngle / Qw::deg; };
static const double deg
Definition: QwUnits.h:106
double fElementAngle
Element orientation with respect to the X axis.
double QwDetectorInfo::GetElementAngleInRad ( ) const
inline

Definition at line 121 of file QwDetectorInfo.h.

References fElementAngle.

121 { return fElementAngle; };
double fElementAngle
Element orientation with respect to the X axis.
double QwDetectorInfo::GetElementAngleSin ( ) const
inline

Definition at line 124 of file QwDetectorInfo.h.

References fElementAngleSin.

Referenced by QwTrackingTreeCombine::r2_PartialTrackFit().

124 { return fElementAngleSin; };
double fElementAngleSin
Sin of the element orientation.

+ Here is the caller graph for this function:

double QwDetectorInfo::GetElementCoordinate ( const int  element) const

Get the coordinate of the specified element. E.g. this returns the x/u/v position of the specified wire, taking into account the offset of wire 1.

Parameters
elementElement number
Returns
Coordinate of the element

Definition at line 247 of file QwDetectorInfo.cc.

References GetElementOffset(), and GetElementSpacing().

Referenced by QwTrackingTreeMatch::MatchRegion3().

248 {
249  return GetElementOffset() + (element - 1) * GetElementSpacing();
250 }
double GetElementOffset() const
double GetElementSpacing() const

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

EQwDirectionID QwDetectorInfo::GetElementDirection ( ) const
inline

Definition at line 105 of file QwDetectorInfo.h.

References fDirection.

Referenced by operator<<().

105 { return fDirection; };
EQwDirectionID fDirection

+ Here is the caller graph for this function:

double QwDetectorInfo::GetElementEfficiency ( int  element) const
inline

Definition at line 237 of file QwDetectorInfo.h.

References Qw::e, QwLog::endl(), fEfficiency, and QwWarning.

Referenced by QwTreeEventBuffer::CreateHitRegion2(), and QwTreeEventBuffer::CreateHitRegion3().

237  {
238  try {
239  return fEfficiency.at(element);
240  } catch (std::exception& e) {
241  QwWarning << "Undefined efficiency for element " << element << " in "
242  << *this << QwLog::endl;
243  return 0.0;
244  }
245  }
static const double e
Definition: QwUnits.h:91
std::vector< double > fEfficiency
///&lt; Sets of crosstalking elements, in a map for easy lookup
static std::ostream & endl(std::ostream &)
End of the line.
Definition: QwLog.cc:299
#define QwWarning
Predefined log drain for warnings.
Definition: QwLog.h:45

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double QwDetectorInfo::GetElementOffset ( ) const
inline

Definition at line 113 of file QwDetectorInfo.h.

References fElementOffset.

Referenced by QwTreeEventBuffer::CreateHitRegion1(), QwTreeEventBuffer::CreateHitRegion2(), QwTreeEventBuffer::CreateHitRegion3(), and GetElementCoordinate().

113 { return fElementOffset; };

+ Here is the caller graph for this function:

double QwDetectorInfo::GetElementSpacing ( ) const
inline
int QwDetectorInfo::GetNumberOfElements ( ) const
inline

Definition at line 137 of file QwDetectorInfo.h.

References fNumberOfElements.

Referenced by QwTrackingTree::consistent(), QwTreeEventBuffer::CreateHitRegion1(), QwTreeEventBuffer::CreateHitRegion2(), QwTreeEventBuffer::CreateHitRegion3(), QwTrackingWorker::InitTree(), and QwTrackingWorker::ProcessEvent().

137 { return fNumberOfElements; };
int fNumberOfElements
Total number of elements in this detector.

+ Here is the caller graph for this function:

int QwDetectorInfo::GetNumHits ( )
inline

Definition at line 348 of file QwDetectorInfo.h.

References fHitID.

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

348 { return fHitID.size(); };
std::vector< int > fHitID

+ Here is the caller graph for this function:

EQwDetectorPackage QwDetectorInfo::GetPackage ( ) const
inline

Definition at line 223 of file QwDetectorInfo.h.

References fPackage.

Referenced by QwGeometry::as(), VQwSubsystemTracking::LoadGeometryDefinition(), operator<(), and QwTrackingTreeCombine::r3_PartialTrackFit().

223 { return fPackage; };
EQwDetectorPackage fPackage

+ Here is the caller graph for this function:

int QwDetectorInfo::GetPlane ( ) const
inline
double QwDetectorInfo::GetPlaneOffset ( ) const
inline

Definition at line 80 of file QwDetectorInfo.h.

References fPlaneOffset.

Referenced by QwTrackingTree::consistent(), QwTrackingTreeCombine::r2_PartialTrackFit(), and QwTrackingTreeCombine::TlTreeLineSort().

80 { return fPlaneOffset; }
double fPlaneOffset
exactly clear to me what that exactly means)

+ Here is the caller graph for this function:

const TVector3 QwDetectorInfo::GetPosition ( ) const

Get position of the detector

Returns
TVector3

Definition at line 226 of file QwDetectorInfo.cc.

References fDetectorOriginX, fDetectorOriginY, and fDetectorOriginZ.

Referenced by QwPartialTrack::DeterminePositionInDetector().

227 {
229 }
double fDetectorOriginZ
Detector position in z.
double fDetectorOriginX
Detector position in x.
double fDetectorOriginY
Detector position in y.

+ Here is the caller graph for this function:

double QwDetectorInfo::GetRotatorPitch ( ) const
inline

Definition at line 177 of file QwDetectorInfo.h.

References fRotatorPitch.

Referenced by QwPartialTrack::RotateRotator().

177 { return fRotatorPitch; };
double fRotatorPitch
Pitch of rotator (rotation of rotator about global x-axis)

+ Here is the caller graph for this function:

double QwDetectorInfo::GetRotatorPitchCos ( ) const
inline

Definition at line 180 of file QwDetectorInfo.h.

References fRotatorPitchCos.

180 { return fRotatorPitchCos; };
double fRotatorPitchCos
Cos of rotator pitch.
double QwDetectorInfo::GetRotatorPitchInDeg ( ) const
inline

Definition at line 179 of file QwDetectorInfo.h.

References Qw::deg, and fRotatorPitch.

179 { return fRotatorPitch / Qw::deg; };
double fRotatorPitch
Pitch of rotator (rotation of rotator about global x-axis)
static const double deg
Definition: QwUnits.h:106
double QwDetectorInfo::GetRotatorPitchInRad ( ) const
inline

Definition at line 178 of file QwDetectorInfo.h.

References fRotatorPitch, and Qw::rad.

178 { return fRotatorPitch / Qw::rad; };
double fRotatorPitch
Pitch of rotator (rotation of rotator about global x-axis)
static const double rad
Definition: QwUnits.h:105
double QwDetectorInfo::GetRotatorPitchSin ( ) const
inline

Definition at line 181 of file QwDetectorInfo.h.

References fRotatorPitchSin.

181 { return fRotatorPitchSin; };
double fRotatorPitchSin
Sin of rotator pitch.
double QwDetectorInfo::GetRotatorRoll ( ) const
inline

Definition at line 199 of file QwDetectorInfo.h.

References fRotatorRoll.

Referenced by QwPartialTrack::RotateRotator().

199 { return fRotatorRoll; };
double fRotatorRoll
Roll of rotator (rotation of rotator about global z-axis)

+ Here is the caller graph for this function:

double QwDetectorInfo::GetRotatorRollCos ( ) const
inline

Definition at line 202 of file QwDetectorInfo.h.

References fRotatorRollCos.

202 { return fRotatorRollCos; };
double fRotatorRollCos
Cos of rotator roll.
double QwDetectorInfo::GetRotatorRollInDeg ( ) const
inline

Definition at line 201 of file QwDetectorInfo.h.

References Qw::deg, and fRotatorRoll.

201 { return fRotatorRoll / Qw::deg; };
double fRotatorRoll
Roll of rotator (rotation of rotator about global z-axis)
static const double deg
Definition: QwUnits.h:106
double QwDetectorInfo::GetRotatorRollInRad ( ) const
inline

Definition at line 200 of file QwDetectorInfo.h.

References fRotatorRoll, and Qw::rad.

200 { return fRotatorRoll / Qw::rad; };
double fRotatorRoll
Roll of rotator (rotation of rotator about global z-axis)
static const double rad
Definition: QwUnits.h:105
double QwDetectorInfo::GetRotatorRollSin ( ) const
inline

Definition at line 203 of file QwDetectorInfo.h.

References fRotatorRollSin.

203 { return fRotatorRollSin; };
double fRotatorRollSin
Sin of rotator roll.
double QwDetectorInfo::GetRotatorYaw ( ) const
inline

Definition at line 188 of file QwDetectorInfo.h.

References fRotatorYaw.

Referenced by QwPartialTrack::RotateRotator().

188 { return fRotatorYaw; };
double fRotatorYaw
Yaw of rotator (rotation of rotator about global y-axis)

+ Here is the caller graph for this function:

double QwDetectorInfo::GetRotatorYawCos ( ) const
inline

Definition at line 191 of file QwDetectorInfo.h.

References fRotatorYawCos.

191 { return fRotatorYawCos; };
double fRotatorYawCos
Cos of rotator yaw.
double QwDetectorInfo::GetRotatorYawInDeg ( ) const
inline

Definition at line 190 of file QwDetectorInfo.h.

References Qw::deg, and fRotatorYaw.

190 { return fRotatorYaw / Qw::deg; };
static const double deg
Definition: QwUnits.h:106
double fRotatorYaw
Yaw of rotator (rotation of rotator about global y-axis)
double QwDetectorInfo::GetRotatorYawInRad ( ) const
inline

Definition at line 189 of file QwDetectorInfo.h.

References fRotatorYaw, and Qw::rad.

189 { return fRotatorYaw / Qw::rad; };
static const double rad
Definition: QwUnits.h:105
double fRotatorYaw
Yaw of rotator (rotation of rotator about global y-axis)
double QwDetectorInfo::GetRotatorYawSin ( ) const
inline

Definition at line 192 of file QwDetectorInfo.h.

References fRotatorYawSin.

192 { return fRotatorYawSin; };
double fRotatorYawSin
Sin of rotator yaw.
double QwDetectorInfo::GetSlopeMatching ( ) const
inline

Definition at line 55 of file QwDetectorInfo.h.

References fSlopeMatching.

Referenced by QwTrackingTreeMatch::MatchRegion3().

55 { return fSlopeMatching; };
double fSlopeMatching
Slope matching resolution (how accurate do the tracks line up)

+ Here is the caller graph for this function:

double QwDetectorInfo::GetSpatialResolution ( ) const
inline

Definition at line 47 of file QwDetectorInfo.h.

References fSpatialResolution.

Referenced by QwTreeEventBuffer::CreateHitRegion2(), QwTreeEventBuffer::CreateHitRegion3(), QwTrackingTreeCombine::r2_PartialTrackFit(), and QwTrackingTreeCombine::r2_TreelineFit().

47 { return fSpatialResolution; };
double fSpatialResolution
Spatial resolution (how accurate is the timing info)

+ Here is the caller graph for this function:

QwTrackingTreeRegion* QwDetectorInfo::GetTrackingSearchTree ( )
inline

Definition at line 211 of file QwDetectorInfo.h.

References fTree.

211 { return fTree; };
QwTrackingTreeRegion * fTree
///&lt; Efficiency of all elements
const QwTrackingTreeRegion* QwDetectorInfo::GetTrackingSearchTree ( ) const
inline

Definition at line 212 of file QwDetectorInfo.h.

References fTree.

212 { return fTree; };
QwTrackingTreeRegion * fTree
///&lt; Efficiency of all elements
double QwDetectorInfo::GetTrackResolution ( ) const
inline

Definition at line 51 of file QwDetectorInfo.h.

References fTrackResolution.

Referenced by QwHitPattern::SetHDCHit(), QwHitPattern::SetVDCHit(), and QwTrackingTreeSearch::TsSetPoint().

51 { return fTrackResolution; };
double fTrackResolution
Track resolution (how accurate are the tracks through the hits)

+ Here is the caller graph for this function:

EQwDetectorType QwDetectorInfo::GetType ( ) const
inline

Definition at line 222 of file QwDetectorInfo.h.

References fType.

Referenced by QwGeometry::as(), QwTrackingTree::consistent(), and QwTrackingTree::marklin().

222 { return fType; };
EQwDetectorType fType

+ Here is the caller graph for this function:

double QwDetectorInfo::GetXPosition ( ) const
inline
double QwDetectorInfo::GetYPosition ( ) const
inline
bool QwDetectorInfo::InAcceptance ( const double  x,
const double  y 
) const
inline

Definition at line 97 of file QwDetectorInfo.h.

References fActiveWidthX, fActiveWidthY, fDetectorOriginX, and fDetectorOriginY.

Referenced by QwTrackingTreeCombine::InAcceptance().

97  {
98  if (fabs(x - fDetectorOriginX) < fActiveWidthX / 2.0 &&
99  fabs(y - fDetectorOriginY) < fActiveWidthY / 2.0)
100  return true;
101  else return false;
102  };
double fActiveWidthY
Active volume in y.
double fActiveWidthX
Active volume in x.
double fDetectorOriginX
Detector position in x.
double fDetectorOriginY
Detector position in y.

+ Here is the caller graph for this function:

bool QwDetectorInfo::IsActive ( ) const
inline

Definition at line 83 of file QwDetectorInfo.h.

References fIsActive.

Referenced by IsInactive().

83 { return fIsActive; };
bool fIsActive
Is this detector activated in tracking.

+ Here is the caller graph for this function:

bool QwDetectorInfo::IsHit ( )
inline

Definition at line 346 of file QwDetectorInfo.h.

References fHitID.

346 { return (!fHitID.empty()); };
std::vector< int > fHitID
bool QwDetectorInfo::IsInactive ( ) const
inline

Definition at line 84 of file QwDetectorInfo.h.

References IsActive().

Referenced by QwTrackingWorker::ProcessEvent().

84 { return !IsActive(); };
bool IsActive() const

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void QwDetectorInfo::LoadCrosstalkDefinition ( QwParameterFile map)

Parse the crosstalk definition for this detector

Parameters
mapRelevant fraction of the parameter file

Definition at line 177 of file QwDetectorInfo.cc.

References QwParameterFile::ConvertValue(), QwLog::endl(), fCrosstalk, GetDetectorName(), QwParameterFile::HasVariablePair(), QwOut, QwParameterFile::ReadNextLine(), QwParameterFile::RewindToFileStart(), and QwParameterFile::TrimWhitespace().

Referenced by VQwSubsystemTracking::LoadCrosstalkDefinition().

178 {
179  map->TrimWhitespace();
180  map->RewindToFileStart();
181  while (map->ReadNextLine()) {
182  std::string varname,varvalue;
183  if (! map->HasVariablePair("=",varname,varvalue)) continue;
184 
185  if (varname == "crosstalk") {
186  std::string list = map->ConvertValue<string>(varvalue);
187  size_t begin = 0; // start of a 'element1,element2' pair
188  while (begin < list.size()) {
189  // find next space
190  size_t end = list.find(' ',begin);
191  // if no space, point to end of the line
192  if (end == std::string::npos) end = list.size();
193  // get the 'element1,element2' pair
194  std::string word = list.substr(begin,end-begin);
195  // find next comma
196  size_t comma = word.find(',');
197  // if no comma, stop
198  if (comma == std::string::npos) continue;
199 #if defined(__GXX_EXPERIMENTAL_CXX0X) || __cplusplus >= 201103L
200  // get element1 and element2
201  int element1 = std::stoi(word.substr(0,comma));
202  int element2 = std::stoi(word.substr(comma+1,word.size()-comma-1));
203  fCrosstalk[element1] = element2;
204  fCrosstalk[element2] = element1;
205  QwOut << "crosstalk in " << GetDetectorName() << ": " << element1 << "," << element2 << QwLog::endl;
206 #else
207  // get element1 and element2
208  string str1 = word.substr(0,comma);
209  string str2 = word.substr(comma+1,word.size()-comma-1);
210  int element1 = std::atoi(str1.c_str());
211  int element2 = std::atoi(str2.c_str());
212  fCrosstalk[element1] = element2;
213  fCrosstalk[element2] = element1;
214  QwOut << "crosstalk in " << GetDetectorName() << ": " << element1 << "," << element2 << QwLog::endl;
215 #endif
216  // continue
217  begin = end+1;
218  }
219  }
220  }
221 }
#define QwOut
Predefined log drain for explicit output.
Definition: QwLog.h:35
std::string GetDetectorName() const
Bool_t HasVariablePair(const std::string &separatorchars, std::string &varname, std::string &varvalue)
Bool_t ReadNextLine()
static std::ostream & endl(std::ostream &)
End of the line.
Definition: QwLog.cc:299
void TrimWhitespace(TString::EStripType head_tail=TString::kBoth)
std::map< int, int > fCrosstalk
T ConvertValue(const std::string &value)
Convert string value into specific type.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void QwDetectorInfo::LoadGeometryDefinition ( QwParameterFile map)

Parse the geometry definition for this detector

Parameters
mapRelevant fraction of the parameter file

Definition at line 46 of file QwDetectorInfo.cc.

References Qw::cm, QwParameterFile::ConvertValue(), Qw::deg, fActiveWidthX, fActiveWidthY, fActiveWidthZ, fDetectorOriginX, fDetectorOriginY, fDetectorOriginZ, fDetectorPitch, fDetectorPitchCos, fDetectorPitchSin, fDetectorRoll, fDetectorRollCos, fDetectorRollSin, fDetectorYaw, fDetectorYawCos, fDetectorYawSin, fDirection, fElementAngle, fElementAngleCos, fElementAngleSin, QwParameterFile::FileHasVariablePair(), fIsActive, fOctant, fPackage, fPlane, fPlaneOffset, fRegion, fRotatorPitch, fRotatorPitchCos, fRotatorPitchSin, fRotatorRoll, fRotatorRollCos, fRotatorRollSin, fRotatorYaw, fRotatorYawCos, fRotatorYawSin, fSlopeMatching, fSpatialResolution, fTrackResolution, fType, kQwDirectionMap, kQwPackageMap, kQwRegionMap, kQwTypeMap, SetElementEfficiency(), SetElementOffset(), SetElementSpacing(), SetNumberOfElements(), and QwParameterFile::TrimWhitespace().

Referenced by VQwSubsystemTracking::LoadGeometryDefinition().

47 {
48  std::string varvalue;
49 
50  map->TrimWhitespace();
51 
52  if (map->FileHasVariablePair("=","active_width_x",varvalue))
53  fActiveWidthX = map->ConvertValue<double>(varvalue) * Qw::cm;
54  if (map->FileHasVariablePair("=","active_width_y",varvalue))
55  fActiveWidthY = map->ConvertValue<double>(varvalue) * Qw::cm;
56  if (map->FileHasVariablePair("=","active_width_z",varvalue))
57  fActiveWidthZ = map->ConvertValue<double>(varvalue) * Qw::cm;
58 
59  if (map->FileHasVariablePair("=","detector_origin_x",varvalue))
60  fDetectorOriginX = map->ConvertValue<double>(varvalue) * Qw::cm;
61  if (map->FileHasVariablePair("=","detector_origin_y",varvalue))
62  fDetectorOriginY = map->ConvertValue<double>(varvalue) * Qw::cm;
63  if (map->FileHasVariablePair("=","detector_origin_z",varvalue))
64  fDetectorOriginZ = map->ConvertValue<double>(varvalue) * Qw::cm;
65  if (map->FileHasVariablePair("=","detector_pitch",varvalue)) {
66  fDetectorPitch = map->ConvertValue<double>(varvalue) * Qw::deg;
69  }
70  if (map->FileHasVariablePair("=","detector_yaw",varvalue)) {
71  fDetectorYaw = map->ConvertValue<double>(varvalue) * Qw::deg;
74  }
75  if (map->FileHasVariablePair("=","detector_roll",varvalue)) {
76  fDetectorRoll = map->ConvertValue<double>(varvalue) * Qw::deg;
79  }
80  if(map->FileHasVariablePair("=","rotator_pitch",varvalue)) {
81  fRotatorPitch = map->ConvertValue<double>(varvalue) * Qw::deg;
84  }
85  if(map->FileHasVariablePair("=","rotator_yaw",varvalue)) {
86  fRotatorYaw = map->ConvertValue<double>(varvalue) * Qw::deg;
89  }
90  if(map->FileHasVariablePair("=","rotator_roll",varvalue)) {
91  fRotatorRoll = map->ConvertValue<double>(varvalue) * Qw::deg;
94  }
95 
96  if (map->FileHasVariablePair("=","number_of_elements",varvalue))
97  SetNumberOfElements(map->ConvertValue<int>(varvalue));
98  if (map->FileHasVariablePair("=","element_spacing",varvalue))
99  SetElementSpacing(map->ConvertValue<double>(varvalue) * Qw::cm);
100  if (map->FileHasVariablePair("=","element_offset",varvalue))
101  SetElementOffset(map->ConvertValue<double>(varvalue) * Qw::cm);
102 
103  if (map->FileHasVariablePair("=","element_angle_cos",varvalue))
104  fElementAngleCos = map->ConvertValue<double>(varvalue);
105  if (map->FileHasVariablePair("=","element_angle_sin",varvalue))
106  fElementAngleSin = map->ConvertValue<double>(varvalue);
108 
109  if (map->FileHasVariablePair("=","spatial_resolution",varvalue))
110  fSpatialResolution = map->ConvertValue<double>(varvalue) * Qw::cm;
111  if (map->FileHasVariablePair("=","track_resolution",varvalue))
112  fTrackResolution = map->ConvertValue<double>(varvalue) * Qw::cm;
113  if (map->FileHasVariablePair("=","slope_matching",varvalue))
114  fSlopeMatching = map->ConvertValue<double>(varvalue) * Qw::cm;
115 
116  if (map->FileHasVariablePair("=","type",varvalue))
117  fType = kQwTypeMap.find(map->ConvertValue<char>(varvalue))->second;
118  if (map->FileHasVariablePair("=","package",varvalue))
119  fPackage = kQwPackageMap.find(map->ConvertValue<char>(varvalue))->second;
120  if (map->FileHasVariablePair("=","region",varvalue))
121  fRegion = kQwRegionMap.find(map->ConvertValue<char>(varvalue))->second;
122  if (map->FileHasVariablePair("=","direction",varvalue))
123  fDirection = kQwDirectionMap.find(map->ConvertValue<char>(varvalue))->second;
124 
125  if (map->FileHasVariablePair("=","octant",varvalue))
126  fOctant = map->ConvertValue<int>(varvalue);
127  if (map->FileHasVariablePair("=","plane",varvalue))
128  fPlane = map->ConvertValue<int>(varvalue);
129 
130  if (map->FileHasVariablePair("=","active",varvalue))
131  fIsActive = map->ConvertValue<bool>(varvalue);
132 
133  if (map->FileHasVariablePair("=","efficiency",varvalue)) {
134  SetElementEfficiency(map->ConvertValue<double>(varvalue));
135  }
136  if (map->FileHasVariablePair("=","efficiency_list",varvalue)) {
137  std::string list = map->ConvertValue<string>(varvalue);
138  size_t begin = 0; // start of a 'element:efficiency' pair
139  while (begin < list.size()) {
140  // find next space
141  size_t end = list.find(' ',begin);
142  // if no space, point to end of the line
143  if (end == std::string::npos) end = list.size();
144  // get the 'element:efficiency' pair
145  std::string word = list.substr(begin,end-begin);
146  // find next colon
147  size_t colon = word.find(':');
148  // if no colon, stop
149  if (colon == std::string::npos) continue;
150 #if defined(__GXX_EXPERIMENTAL_CXX0X) || __cplusplus >= 201103L
151  // get element and efficiency
152  int element = std::stoi(word.substr(0,colon));
153  double efficiency = std::stod(word.substr(colon+1,word.size()-colon-1));
154  SetElementEfficiency(element,efficiency);
155 #else
156  // get element and efficiency
157  string str1 = word.substr(0,colon);
158  string str2 = word.substr(colon+1,word.size()-colon-1);
159  int element = std::atoi(str1.c_str());
160  double efficiency = std::atof(str2.c_str());
161  SetElementEfficiency(element,efficiency);
162 #endif
163  // continue
164  begin = end+1;
165  }
166  }
167 
168  // A value of importance for region 2 only
170 }
double fRotatorPitch
Pitch of rotator (rotation of rotator about global x-axis)
EQwRegionID fRegion
double fDetectorPitchSin
Sin of detector pitch.
double fDetectorOriginZ
Detector position in z.
EQwDetectorPackage fPackage
bool fIsActive
Is this detector activated in tracking.
double fElementAngleCos
Cos of the element orientation.
double fSlopeMatching
Slope matching resolution (how accurate do the tracks line up)
double fRotatorRoll
Roll of rotator (rotation of rotator about global z-axis)
static const QwDirectionMap kQwDirectionMap
Definition: QwTypes.h:67
static const double deg
Definition: QwUnits.h:106
double fActiveWidthZ
Active volume in z.
double fDetectorRollSin
Sin of detector roll.
double fDetectorPitchCos
Cos of detector pitch.
double fRotatorYawCos
Cos of rotator yaw.
double fActiveWidthY
Active volume in y.
double fPlaneOffset
exactly clear to me what that exactly means)
void SetNumberOfElements(const int nelements)
double fDetectorPitch
Pitch of detector.
void SetElementOffset(const double offset)
double fRotatorPitchCos
Cos of rotator pitch.
static const QwPackageMap kQwPackageMap
Definition: QwTypes.h:92
double fActiveWidthX
Active volume in x.
void SetElementEfficiency(int element, double efficiency)
double fRotatorRollCos
Cos of rotator roll.
double fTrackResolution
Track resolution (how accurate are the tracks through the hits)
double fDetectorYaw
Yaw of detector.
EQwDirectionID fDirection
double fRotatorRollSin
Sin of rotator roll.
double fRotatorYawSin
Sin of rotator yaw.
Bool_t FileHasVariablePair(const std::string &separatorchars, const std::string &varname, std::string &varvalue)
double fDetectorOriginX
Detector position in x.
double fDetectorOriginY
Detector position in y.
double fDetectorYawCos
Cos of detector yaw.
EQwDetectorType fType
double fSpatialResolution
Spatial resolution (how accurate is the timing info)
double fDetectorRollCos
Cos of detector roll.
double fElementAngle
Element orientation with respect to the X axis.
static const QwRegionMap kQwRegionMap
Definition: QwTypes.h:38
double fDetectorYawSin
Sin of detector yaw.
void TrimWhitespace(TString::EStripType head_tail=TString::kBoth)
double fRotatorPitchSin
Sin of rotator pitch.
double fDetectorRoll
Roll of detector.
void SetElementSpacing(const double spacing)
double fElementAngleSin
Sin of the element orientation.
double fRotatorYaw
Yaw of rotator (rotation of rotator about global y-axis)
T ConvertValue(const std::string &value)
Convert string value into specific type.
static const QwTypeMap kQwTypeMap
Definition: QwTypes.h:120
static const double cm
Length units: base unit is mm.
Definition: QwUnits.h:61

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void QwDetectorInfo::Print ( Option_t *  option = "") const

Print all variables in this

Definition at line 255 of file QwDetectorInfo.cc.

References Qw::cm, Qw::deg, QwLog::endl(), fActiveWidthX, fActiveWidthY, fActiveWidthZ, fDetectorOriginX, fDetectorOriginY, fDetectorOriginZ, fDetectorPitch, fDetectorRoll, fDetectorYaw, fDirection, fElementAngle, fElementOffset, fElementSpacing, fNumberOfElements, fOctant, fPackage, fPlane, fPlaneOffset, fRegion, fRotatorPitch, fRotatorRoll, fRotatorYaw, fSlopeMatching, fSpatialResolution, fTrackResolution, fType, and QwOut.

256 {
257  QwOut << "type = " << fType << QwLog::endl;
258  QwOut << "region = " << fRegion << QwLog::endl;
259  QwOut << "package = " << fPackage << QwLog::endl;
260  QwOut << "direction = " << fDirection << QwLog::endl;
261  QwOut << "octant = " << fOctant << QwLog::endl;
262  QwOut << "plane = " << fPlane << QwLog::endl;
263  QwOut << "active_width_x = " << fActiveWidthX/Qw::cm << QwLog::endl;
264  QwOut << "active_width_y = " << fActiveWidthY/Qw::cm << QwLog::endl;
265  QwOut << "active_width_z = " << fActiveWidthZ/Qw::cm << QwLog::endl;
266  QwOut << "detector_origin_x = " << fDetectorOriginX/Qw::cm << QwLog::endl;
267  QwOut << "detector_origin_y = " << fDetectorOriginY/Qw::cm << QwLog::endl;
268  QwOut << "detector_origin_z = " << fDetectorOriginZ/Qw::cm << QwLog::endl;
269  QwOut << "detector_pitch = " << fDetectorPitch/Qw::deg << QwLog::endl;
270  QwOut << "detector_roll = " << fDetectorRoll/Qw::deg << QwLog::endl;
271  QwOut << "detector_yaw = " << fDetectorYaw/Qw::deg << QwLog::endl;
272  QwOut << "rotator_pitch = " << fRotatorPitch/Qw::deg << QwLog::endl;
273  QwOut << "rotator_roll = " << fRotatorRoll/Qw::deg << QwLog::endl;
274  QwOut << "rotator_yaw = " << fRotatorYaw/Qw::deg << QwLog::endl;
275  QwOut << "spatial_resolution = " << fSpatialResolution << QwLog::endl;
276  QwOut << "track_resolution = " << fTrackResolution << QwLog::endl;
277  QwOut << "slope_matching = " << fSlopeMatching << QwLog::endl;
278  QwOut << "element_angle = " << fElementAngle/Qw::deg << QwLog::endl;
279  QwOut << "element_spacing = " << fElementSpacing/Qw::cm << QwLog::endl;
280  QwOut << "element_offset = " << fElementOffset/Qw::cm << QwLog::endl;
281  QwOut << "number_of_elements = " << fNumberOfElements << QwLog::endl;
282  QwOut << "plane_offset = " << fPlaneOffset/Qw::cm << QwLog::endl;
283 }
double fRotatorPitch
Pitch of rotator (rotation of rotator about global x-axis)
EQwRegionID fRegion
#define QwOut
Predefined log drain for explicit output.
Definition: QwLog.h:35
double fDetectorOriginZ
Detector position in z.
EQwDetectorPackage fPackage
double fSlopeMatching
Slope matching resolution (how accurate do the tracks line up)
double fRotatorRoll
Roll of rotator (rotation of rotator about global z-axis)
static const double deg
Definition: QwUnits.h:106
double fActiveWidthZ
Active volume in z.
double fActiveWidthY
Active volume in y.
double fPlaneOffset
exactly clear to me what that exactly means)
double fDetectorPitch
Pitch of detector.
double fActiveWidthX
Active volume in x.
double fTrackResolution
Track resolution (how accurate are the tracks through the hits)
double fDetectorYaw
Yaw of detector.
EQwDirectionID fDirection
int fNumberOfElements
Total number of elements in this detector.
double fDetectorOriginX
Detector position in x.
static std::ostream & endl(std::ostream &)
End of the line.
Definition: QwLog.cc:299
double fDetectorOriginY
Detector position in y.
EQwDetectorType fType
double fSpatialResolution
Spatial resolution (how accurate is the timing info)
double fElementAngle
Element orientation with respect to the X axis.
double fDetectorRoll
Roll of detector.
double fRotatorYaw
Yaw of rotator (rotation of rotator about global y-axis)
double fElementSpacing
Perpendicular distance between the elements.
static const double cm
Length units: base unit is mm.
Definition: QwUnits.h:61

+ Here is the call graph for this function:

void QwDetectorInfo::PushHit ( int  time)
inline

Definition at line 355 of file QwDetectorInfo.h.

References fHitID.

355  {
356  fHitID.push_back(time);
357  }
std::vector< int > fHitID
void QwDetectorInfo::SetActive ( const bool  active = true)
inline

Definition at line 85 of file QwDetectorInfo.h.

References fIsActive.

85 { fIsActive = active; };
bool fIsActive
Is this detector activated in tracking.
void QwDetectorInfo::SetActiveWidthXY ( const double  x,
const double  y 
)
inline

Definition at line 90 of file QwDetectorInfo.h.

References fActiveWidthX, and fActiveWidthY.

90  {
91  fActiveWidthX = x;
92  fActiveWidthY = y;
93  };
double fActiveWidthY
Active volume in y.
double fActiveWidthX
Active volume in x.
void QwDetectorInfo::SetActiveWidthZ ( const double  z)
inline

Definition at line 96 of file QwDetectorInfo.h.

References fActiveWidthZ.

96 { fActiveWidthZ = z; };
double fActiveWidthZ
Active volume in z.
void QwDetectorInfo::SetDetectorName ( const std::string &  name)
inline

Definition at line 44 of file QwDetectorInfo.h.

References fDetectorName.

44 { fDetectorName = name; };
std::string fDetectorName
void QwDetectorInfo::SetDetectorPitch ( const double  pitch)
inline

Definition at line 149 of file QwDetectorInfo.h.

References fDetectorPitch, fDetectorPitchCos, and fDetectorPitchSin.

149  {
150  fDetectorPitch = pitch; // in radians
151  fDetectorPitchCos = std::cos(fDetectorPitch);
152  fDetectorPitchSin = std::sin(fDetectorPitch);
153  };
double fDetectorPitchSin
Sin of detector pitch.
double fDetectorPitchCos
Cos of detector pitch.
double fDetectorPitch
Pitch of detector.
void QwDetectorInfo::SetDetectorRoll ( const double  roll)
inline

Definition at line 171 of file QwDetectorInfo.h.

References fDetectorRoll, fDetectorRollCos, and fDetectorRollSin.

171  {
172  fDetectorRoll = roll; // in radians
173  fDetectorRollCos = std::cos(fDetectorRoll);
174  fDetectorRollSin = std::sin(fDetectorRoll);
175  };
double fDetectorRollSin
Sin of detector roll.
double fDetectorRollCos
Cos of detector roll.
double fDetectorRoll
Roll of detector.
void QwDetectorInfo::SetDetectorYaw ( const double  yaw)
inline

Definition at line 160 of file QwDetectorInfo.h.

References fDetectorYaw, fDetectorYawCos, and fDetectorYawSin.

160  {
161  fDetectorYaw = yaw; // in radians
162  fDetectorYawCos = std::cos(fDetectorYaw);
163  fDetectorYawSin = std::sin(fDetectorYaw);
164  };
double fDetectorYaw
Yaw of detector.
double fDetectorYawCos
Cos of detector yaw.
double fDetectorYawSin
Sin of detector yaw.
void QwDetectorInfo::SetElectronics ( int  crt,
int  mdl,
int  chn 
)
inline

Definition at line 339 of file QwDetectorInfo.h.

References fChannel, fCrate, fModule, and fReferenceChannelIndex.

339  {
340  fCrate = crt;
341  fModule = mdl;
342  fChannel = chn;
344  }
void QwDetectorInfo::SetElementAngle ( const double  angle)
inline

Definition at line 125 of file QwDetectorInfo.h.

References fElementAngle, fElementAngleCos, and fElementAngleSin.

125  {
126  fElementAngle = angle;
127  fElementAngleCos = std::cos(fElementAngle);
128  fElementAngleSin = std::sin(fElementAngle);
129  };
double fElementAngleCos
Cos of the element orientation.
double fElementAngle
Element orientation with respect to the X axis.
double fElementAngleSin
Sin of the element orientation.
void QwDetectorInfo::SetElementAngle ( const double  cosangle,
const double  sinangle 
)
inline

Definition at line 130 of file QwDetectorInfo.h.

References fElementAngle, fElementAngleCos, and fElementAngleSin.

130  {
131  fElementAngleCos = cosangle;
132  fElementAngleSin = sinangle;
133  fElementAngle = std::atan2 (sinangle, cosangle);
134  };
double fElementAngleCos
Cos of the element orientation.
double fElementAngle
Element orientation with respect to the X axis.
double fElementAngleSin
Sin of the element orientation.
void QwDetectorInfo::SetElementDirection ( const EQwDirectionID  dir)
inline

Definition at line 106 of file QwDetectorInfo.h.

References fDirection.

106 { fDirection = dir; };
EQwDirectionID fDirection
void QwDetectorInfo::SetElementEfficiency ( int  element,
double  efficiency 
)
inline

Definition at line 247 of file QwDetectorInfo.h.

References Qw::e, QwLog::endl(), fEfficiency, and QwWarning.

Referenced by LoadGeometryDefinition().

247  {
248  try {
249  fEfficiency.at(element) = efficiency;
250  } catch (std::exception& e) {
251  QwWarning << "Undefined element " << element << " in "
252  << *this << QwLog::endl;
253  }
254  }
static const double e
Definition: QwUnits.h:91
std::vector< double > fEfficiency
///&lt; Sets of crosstalking elements, in a map for easy lookup
static std::ostream & endl(std::ostream &)
End of the line.
Definition: QwLog.cc:299
#define QwWarning
Predefined log drain for warnings.
Definition: QwLog.h:45

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void QwDetectorInfo::SetElementEfficiency ( double  efficiency)
inline

Definition at line 256 of file QwDetectorInfo.h.

References fEfficiency.

256  {
257  fEfficiency.assign(fEfficiency.size(), efficiency);
258  }
std::vector< double > fEfficiency
///&lt; Sets of crosstalking elements, in a map for easy lookup
void QwDetectorInfo::SetElementOffset ( const double  offset)
inline

Definition at line 114 of file QwDetectorInfo.h.

References fElementOffset.

Referenced by LoadGeometryDefinition().

114 { fElementOffset = offset; };

+ Here is the caller graph for this function:

void QwDetectorInfo::SetElementSpacing ( const double  spacing)
inline

Definition at line 110 of file QwDetectorInfo.h.

References fElementSpacing.

Referenced by LoadGeometryDefinition().

110 { fElementSpacing = spacing; };
double fElementSpacing
Perpendicular distance between the elements.

+ Here is the caller graph for this function:

void QwDetectorInfo::SetNumberOfElements ( const int  nelements)
inline

Definition at line 138 of file QwDetectorInfo.h.

References fEfficiency, and fNumberOfElements.

Referenced by LoadGeometryDefinition().

138  {
139  fNumberOfElements = nelements;
140  fEfficiency.assign(nelements + 1, 1.0); // wires are counted from 1
141  };
std::vector< double > fEfficiency
///&lt; Sets of crosstalking elements, in a map for easy lookup
int fNumberOfElements
Total number of elements in this detector.

+ Here is the caller graph for this function:

void QwDetectorInfo::SetOctant ( const int  octant)
inline

Definition at line 75 of file QwDetectorInfo.h.

References fOctant.

Referenced by VQwSubsystemTracking::LoadGeometryDefinition().

75 { fOctant = octant;};

+ Here is the caller graph for this function:

void QwDetectorInfo::SetPlaneOffset ( double  offset)
inline

Definition at line 79 of file QwDetectorInfo.h.

References fPlaneOffset.

79 { fPlaneOffset = offset; }
double fPlaneOffset
exactly clear to me what that exactly means)
void QwDetectorInfo::SetPosition ( const TVector3 &  position)

Set position of the detector

Parameters
positionTVector3

Definition at line 234 of file QwDetectorInfo.cc.

References fDetectorOriginX, fDetectorOriginY, and fDetectorOriginZ.

235 {
236  fDetectorOriginX = position.X();
237  fDetectorOriginY = position.Y();
238  fDetectorOriginZ = position.Z();
239 }
double fDetectorOriginZ
Detector position in z.
double fDetectorOriginX
Detector position in x.
double fDetectorOriginY
Detector position in y.
void QwDetectorInfo::SetRotatorPitch ( const double  pitch)
inline

Definition at line 182 of file QwDetectorInfo.h.

References fRotatorPitch, fRotatorPitchCos, and fRotatorPitchSin.

182  {
183  fRotatorPitch = pitch; // in radians
184  fRotatorPitchCos = std::cos(fRotatorPitch);
185  fRotatorPitchSin = std::sin(fRotatorPitch);
186  };
double fRotatorPitch
Pitch of rotator (rotation of rotator about global x-axis)
double fRotatorPitchCos
Cos of rotator pitch.
double fRotatorPitchSin
Sin of rotator pitch.
void QwDetectorInfo::SetRotatorRoll ( const double  roll)
inline

Definition at line 204 of file QwDetectorInfo.h.

References fRotatorRoll, fRotatorRollCos, and fRotatorRollSin.

204  {
205  fRotatorRoll = roll; // in radians
206  fRotatorRollCos = std::cos(fRotatorRoll);
207  fRotatorRollSin = std::sin(fRotatorRoll);
208  };
double fRotatorRoll
Roll of rotator (rotation of rotator about global z-axis)
double fRotatorRollCos
Cos of rotator roll.
double fRotatorRollSin
Sin of rotator roll.
void QwDetectorInfo::SetRotatorYaw ( const double  yaw)
inline

Definition at line 193 of file QwDetectorInfo.h.

References fRotatorYaw, fRotatorYawCos, and fRotatorYawSin.

193  {
194  fRotatorYaw = yaw; // in radians
195  fRotatorYawCos = std::cos(fRotatorYaw);
196  fRotatorYawSin = std::sin(fRotatorYaw);
197  };
double fRotatorYawCos
Cos of rotator yaw.
double fRotatorYawSin
Sin of rotator yaw.
double fRotatorYaw
Yaw of rotator (rotation of rotator about global y-axis)
void QwDetectorInfo::SetSlopeMatching ( const double  slope)
inline

Definition at line 56 of file QwDetectorInfo.h.

References fSlopeMatching.

56 { fSlopeMatching = slope; };
double fSlopeMatching
Slope matching resolution (how accurate do the tracks line up)
void QwDetectorInfo::SetSpatialResolution ( const double  res)
inline

Definition at line 48 of file QwDetectorInfo.h.

References fSpatialResolution.

48 { fSpatialResolution = res; };
double fSpatialResolution
Spatial resolution (how accurate is the timing info)
void QwDetectorInfo::SetTrackingSearchTree ( QwTrackingTreeRegion tree)
inline

Definition at line 213 of file QwDetectorInfo.h.

References fTree.

213 { fTree = tree; };
QwTrackingTreeRegion * fTree
///&lt; Efficiency of all elements
void QwDetectorInfo::SetTrackResolution ( const double  res)
inline

Definition at line 52 of file QwDetectorInfo.h.

References fTrackResolution.

52 { fTrackResolution = res; };
double fTrackResolution
Track resolution (how accurate are the tracks through the hits)
void QwDetectorInfo::SetXYPosition ( const double  x,
const double  y 
)
inline

Definition at line 65 of file QwDetectorInfo.h.

References fDetectorOriginX, and fDetectorOriginY.

Referenced by SetXYZPosition().

65  {
66  fDetectorOriginX = x;
67  fDetectorOriginY = y;
68  };
double fDetectorOriginX
Detector position in x.
double fDetectorOriginY
Detector position in y.

+ Here is the caller graph for this function:

void QwDetectorInfo::SetXYZPosition ( const double  x,
const double  y,
const double  z 
)
inline

Definition at line 69 of file QwDetectorInfo.h.

References SetXYPosition(), and SetZPosition().

69  {
70  SetXYPosition(x,y);
71  SetZPosition(z);
72  };
void SetXYPosition(const double x, const double y)
void SetZPosition(const double z)

+ Here is the call graph for this function:

void QwDetectorInfo::SetZPosition ( const double  z)
inline

Definition at line 64 of file QwDetectorInfo.h.

References fDetectorOriginZ.

Referenced by SetXYZPosition().

64 { fDetectorOriginZ = z; };
double fDetectorOriginZ
Detector position in z.

+ Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const QwDetectorInfo det 
)
friend

Output stream operator

Parameters
streamOutput stream
detDetector info object
Returns
Output stream

Definition at line 291 of file QwDetectorInfo.cc.

292 {
293  stream << det.fDetectorName << ": ";
294  stream << "type " << det.fType << ", ";
295  stream << "package " << det.fPackage << ", ";
296  stream << "region " << det.fRegion << ", ";
297  stream << "plane " << det.fPlane << ", ";
298  stream << "octant " << det.fOctant << ", ";
299  stream << "dir " << det.GetElementDirection() << " ";
300  stream << "(y = " << det.GetXPosition() / Qw::cm << " cm)";
301  stream << "(z = " << det.GetZPosition() / Qw::cm << " cm)";
302  return stream;
303 }
EQwRegionID fRegion
EQwDetectorPackage fPackage
std::string fDetectorName
EQwDirectionID GetElementDirection() const
EQwDetectorType fType
double GetZPosition() const
double GetXPosition() const
static const double cm
Length units: base unit is mm.
Definition: QwUnits.h:61

Field Documentation

double QwDetectorInfo::fActiveWidthX
private

Active volume in x.

Definition at line 307 of file QwDetectorInfo.h.

Referenced by GetActiveWidthX(), InAcceptance(), LoadGeometryDefinition(), Print(), and SetActiveWidthXY().

double QwDetectorInfo::fActiveWidthY
private

Active volume in y.

Definition at line 308 of file QwDetectorInfo.h.

Referenced by GetActiveWidthY(), InAcceptance(), LoadGeometryDefinition(), Print(), and SetActiveWidthXY().

double QwDetectorInfo::fActiveWidthZ
private

Active volume in z.

Definition at line 309 of file QwDetectorInfo.h.

Referenced by GetActiveWidthZ(), LoadGeometryDefinition(), Print(), and SetActiveWidthZ().

int QwDetectorInfo::fChannel
private

Definition at line 273 of file QwDetectorInfo.h.

Referenced by SetElectronics().

int QwDetectorInfo::fCrate
private

Definition at line 271 of file QwDetectorInfo.h.

Referenced by SetElectronics().

std::map<int,int> QwDetectorInfo::fCrosstalk
private

Definition at line 320 of file QwDetectorInfo.h.

Referenced by GetCrosstalkElement(), and LoadCrosstalkDefinition().

std::string QwDetectorInfo::fDetectorName

Definition at line 329 of file QwDetectorInfo.h.

Referenced by GetDetectorName(), operator<<(), and SetDetectorName().

double QwDetectorInfo::fDetectorOriginX
private

Detector position in x.

Definition at line 276 of file QwDetectorInfo.h.

Referenced by GetPosition(), GetXPosition(), InAcceptance(), LoadGeometryDefinition(), Print(), SetPosition(), and SetXYPosition().

double QwDetectorInfo::fDetectorOriginY
private

Detector position in y.

Definition at line 277 of file QwDetectorInfo.h.

Referenced by GetPosition(), GetYPosition(), InAcceptance(), LoadGeometryDefinition(), Print(), SetPosition(), and SetXYPosition().

double QwDetectorInfo::fDetectorOriginZ
private

Detector position in z.

Definition at line 278 of file QwDetectorInfo.h.

Referenced by GetPosition(), GetZPosition(), LoadGeometryDefinition(), Print(), SetPosition(), and SetZPosition().

double QwDetectorInfo::fDetectorPitch
private
double QwDetectorInfo::fDetectorPitchCos
private

Cos of detector pitch.

Definition at line 282 of file QwDetectorInfo.h.

Referenced by GetDetectorPitchCos(), LoadGeometryDefinition(), and SetDetectorPitch().

double QwDetectorInfo::fDetectorPitchSin
private

Sin of detector pitch.

Definition at line 283 of file QwDetectorInfo.h.

Referenced by GetDetectorPitchSin(), LoadGeometryDefinition(), and SetDetectorPitch().

double QwDetectorInfo::fDetectorRoll
private
double QwDetectorInfo::fDetectorRollCos
private

Cos of detector roll.

Definition at line 288 of file QwDetectorInfo.h.

Referenced by GetDetectorRollCos(), LoadGeometryDefinition(), and SetDetectorRoll().

double QwDetectorInfo::fDetectorRollSin
private

Sin of detector roll.

Definition at line 289 of file QwDetectorInfo.h.

Referenced by GetDetectorRollSin(), LoadGeometryDefinition(), and SetDetectorRoll().

double QwDetectorInfo::fDetectorYaw
private
double QwDetectorInfo::fDetectorYawCos
private

Cos of detector yaw.

Definition at line 285 of file QwDetectorInfo.h.

Referenced by GetDetectorYawCos(), LoadGeometryDefinition(), and SetDetectorYaw().

double QwDetectorInfo::fDetectorYawSin
private

Sin of detector yaw.

Definition at line 286 of file QwDetectorInfo.h.

Referenced by GetDetectorYawSin(), LoadGeometryDefinition(), and SetDetectorYaw().

EQwDirectionID QwDetectorInfo::fDirection
private
std::vector<double> QwDetectorInfo::fEfficiency
private

///< Sets of crosstalking elements, in a map for easy lookup

Definition at line 322 of file QwDetectorInfo.h.

Referenced by GetElementEfficiency(), SetElementEfficiency(), and SetNumberOfElements().

double QwDetectorInfo::fElementAngle
private

Element orientation with respect to the X axis.

Definition at line 312 of file QwDetectorInfo.h.

Referenced by GetElementAngle(), GetElementAngleInDeg(), GetElementAngleInRad(), LoadGeometryDefinition(), Print(), and SetElementAngle().

double QwDetectorInfo::fElementAngleCos
private

Cos of the element orientation.

Definition at line 313 of file QwDetectorInfo.h.

Referenced by GetElementAngleCos(), LoadGeometryDefinition(), and SetElementAngle().

double QwDetectorInfo::fElementAngleSin
private

Sin of the element orientation.

Definition at line 314 of file QwDetectorInfo.h.

Referenced by GetElementAngleSin(), LoadGeometryDefinition(), and SetElementAngle().

double QwDetectorInfo::fElementOffset
private

Position of the first element (it is not

Definition at line 315 of file QwDetectorInfo.h.

Referenced by GetElementOffset(), Print(), and SetElementOffset().

double QwDetectorInfo::fElementSpacing
private

Perpendicular distance between the elements.

Definition at line 311 of file QwDetectorInfo.h.

Referenced by GetElementSpacing(), Print(), and SetElementSpacing().

std::vector<int> QwDetectorInfo::fHitID

Definition at line 336 of file QwDetectorInfo.h.

Referenced by ClearHits(), GetNumHits(), IsHit(), and PushHit().

bool QwDetectorInfo::fIsActive
private

Is this detector activated in tracking.

Definition at line 301 of file QwDetectorInfo.h.

Referenced by IsActive(), LoadGeometryDefinition(), and SetActive().

int QwDetectorInfo::fModule
private

Definition at line 272 of file QwDetectorInfo.h.

Referenced by SetElectronics().

int QwDetectorInfo::fNumberOfElements
private

Total number of elements in this detector.

Definition at line 318 of file QwDetectorInfo.h.

Referenced by GetNumberOfElements(), Print(), and SetNumberOfElements().

int QwDetectorInfo::fOctant
private

Definition at line 268 of file QwDetectorInfo.h.

Referenced by GetOctant(), LoadGeometryDefinition(), operator<<(), Print(), and SetOctant().

EQwDetectorPackage QwDetectorInfo::fPackage
private

Definition at line 264 of file QwDetectorInfo.h.

Referenced by GetPackage(), LoadGeometryDefinition(), operator<<(), and Print().

int QwDetectorInfo::fPlane
private

Definition at line 267 of file QwDetectorInfo.h.

Referenced by GetPlane(), LoadGeometryDefinition(), operator<<(), and Print().

double QwDetectorInfo::fPlaneOffset
private

exactly clear to me what that exactly means)

Perpendicular distance from the first plane in the same direction

Definition at line 317 of file QwDetectorInfo.h.

Referenced by GetPlaneOffset(), LoadGeometryDefinition(), Print(), and SetPlaneOffset().

int QwDetectorInfo::fReferenceChannelIndex

Definition at line 332 of file QwDetectorInfo.h.

Referenced by SetElectronics().

EQwRegionID QwDetectorInfo::fRegion
private

Definition at line 265 of file QwDetectorInfo.h.

Referenced by GetRegion(), LoadGeometryDefinition(), operator<<(), and Print().

double QwDetectorInfo::fRotatorPitch
private

Pitch of rotator (rotation of rotator about global x-axis)

Definition at line 290 of file QwDetectorInfo.h.

Referenced by GetRotatorPitch(), GetRotatorPitchInDeg(), GetRotatorPitchInRad(), LoadGeometryDefinition(), Print(), and SetRotatorPitch().

double QwDetectorInfo::fRotatorPitchCos
private

Cos of rotator pitch.

Definition at line 291 of file QwDetectorInfo.h.

Referenced by GetRotatorPitchCos(), LoadGeometryDefinition(), and SetRotatorPitch().

double QwDetectorInfo::fRotatorPitchSin
private

Sin of rotator pitch.

Definition at line 292 of file QwDetectorInfo.h.

Referenced by GetRotatorPitchSin(), LoadGeometryDefinition(), and SetRotatorPitch().

double QwDetectorInfo::fRotatorRoll
private

Roll of rotator (rotation of rotator about global z-axis)

Definition at line 296 of file QwDetectorInfo.h.

Referenced by GetRotatorRoll(), GetRotatorRollInDeg(), GetRotatorRollInRad(), LoadGeometryDefinition(), Print(), and SetRotatorRoll().

double QwDetectorInfo::fRotatorRollCos
private

Cos of rotator roll.

Definition at line 297 of file QwDetectorInfo.h.

Referenced by GetRotatorRollCos(), LoadGeometryDefinition(), and SetRotatorRoll().

double QwDetectorInfo::fRotatorRollSin
private

Sin of rotator roll.

Definition at line 298 of file QwDetectorInfo.h.

Referenced by GetRotatorRollSin(), LoadGeometryDefinition(), and SetRotatorRoll().

double QwDetectorInfo::fRotatorYaw
private

Yaw of rotator (rotation of rotator about global y-axis)

Definition at line 293 of file QwDetectorInfo.h.

Referenced by GetRotatorYaw(), GetRotatorYawInDeg(), GetRotatorYawInRad(), LoadGeometryDefinition(), Print(), and SetRotatorYaw().

double QwDetectorInfo::fRotatorYawCos
private

Cos of rotator yaw.

Definition at line 294 of file QwDetectorInfo.h.

Referenced by GetRotatorYawCos(), LoadGeometryDefinition(), and SetRotatorYaw().

double QwDetectorInfo::fRotatorYawSin
private

Sin of rotator yaw.

Definition at line 295 of file QwDetectorInfo.h.

Referenced by GetRotatorYawSin(), LoadGeometryDefinition(), and SetRotatorYaw().

double QwDetectorInfo::fSlopeMatching
private

Slope matching resolution (how accurate do the tracks line up)

Definition at line 305 of file QwDetectorInfo.h.

Referenced by GetSlopeMatching(), LoadGeometryDefinition(), Print(), and SetSlopeMatching().

double QwDetectorInfo::fSpatialResolution
private

Spatial resolution (how accurate is the timing info)

Definition at line 303 of file QwDetectorInfo.h.

Referenced by GetSpatialResolution(), LoadGeometryDefinition(), Print(), and SetSpatialResolution().

double QwDetectorInfo::fTrackResolution
private

Track resolution (how accurate are the tracks through the hits)

Definition at line 304 of file QwDetectorInfo.h.

Referenced by GetTrackResolution(), LoadGeometryDefinition(), Print(), and SetTrackResolution().

QwTrackingTreeRegion* QwDetectorInfo::fTree
private

///< Efficiency of all elements

Search tree for this detector

Definition at line 324 of file QwDetectorInfo.h.

Referenced by GetTrackingSearchTree(), and SetTrackingSearchTree().

EQwDetectorType QwDetectorInfo::fType
private

Definition at line 263 of file QwDetectorInfo.h.

Referenced by GetType(), LoadGeometryDefinition(), operator<<(), and Print().


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