QwAnalysis
|
#include <QwDetectorInfo.h>
Inherits TObject.
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) |
QwTrackingTreeRegion * | GetTrackingSearchTree () |
const QwTrackingTreeRegion * | GetTrackingSearchTree () 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... | |
QwTrackingTreeRegion * | fTree |
///< Efficiency of all elements More... | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const QwDetectorInfo &det) |
Definition at line 25 of file QwDetectorInfo.h.
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.
QwDetectorInfo::ClassDef | ( | QwDetectorInfo | , |
0 | |||
) |
|
inline |
Definition at line 350 of file QwDetectorInfo.h.
References fHitID.
Referenced by QwDriftChamberVDC::FillHistograms().
|
inline |
Definition at line 88 of file QwDetectorInfo.h.
References fActiveWidthX.
Referenced by QwTreeEventBuffer::CreateHitCerenkov(), QwPartialTrack::DeterminePositionInDetector(), and QwTreeEventBuffer::GetEntry().
|
inline |
Definition at line 89 of file QwDetectorInfo.h.
References fActiveWidthY.
Referenced by QwPartialTrack::DeterminePositionInDetector(), and QwTreeEventBuffer::GetEntry().
|
inline |
Definition at line 95 of file QwDetectorInfo.h.
References fActiveWidthZ.
Referenced by QwTreeEventBuffer::CreateHitRegion3(), and QwTrackingWorker::InitTree().
|
inline |
Definition at line 229 of file QwDetectorInfo.h.
References fCrosstalk.
Referenced by operator<<(), and QwTrackingTreeCombine::TlMatchHits().
|
inline |
Definition at line 43 of file QwDetectorInfo.h.
References fDetectorName.
Referenced by LoadCrosstalkDefinition(), and operator<<().
|
inline |
Definition at line 144 of file QwDetectorInfo.h.
References fDetectorPitch.
Referenced by QwPartialTrack::DeterminePositionInDetector().
|
inline |
Definition at line 147 of file QwDetectorInfo.h.
References fDetectorPitchCos.
Referenced by QwTreeEventBuffer::CreateHitList(), QwTrackingTreeMatch::MatchRegion3(), and QwTrackingTreeCombine::r3_PartialTrackFit().
|
inline |
Definition at line 146 of file QwDetectorInfo.h.
References Qw::deg, and fDetectorPitch.
|
inline |
Definition at line 145 of file QwDetectorInfo.h.
References fDetectorPitch, and Qw::rad.
|
inline |
Definition at line 148 of file QwDetectorInfo.h.
References fDetectorPitchSin.
Referenced by QwTreeEventBuffer::CreateHitList(), QwTrackingTreeMatch::MatchRegion3(), and QwTrackingTreeCombine::r3_PartialTrackFit().
|
inline |
|
inline |
Definition at line 169 of file QwDetectorInfo.h.
References fDetectorRollCos.
Referenced by QwTrackingTreeCombine::r3_PartialTrackFit().
|
inline |
|
inline |
|
inline |
Definition at line 170 of file QwDetectorInfo.h.
References fDetectorRollSin.
Referenced by QwTrackingTreeCombine::r3_PartialTrackFit().
|
inline |
|
inline |
Definition at line 158 of file QwDetectorInfo.h.
References fDetectorYawCos.
|
inline |
|
inline |
|
inline |
Definition at line 159 of file QwDetectorInfo.h.
References fDetectorYawSin.
|
inline |
Definition at line 225 of file QwDetectorInfo.h.
References fDirection.
Referenced by QwGeometry::as(), QwTreeEventBuffer::CreateHitCerenkov(), QwTreeEventBuffer::CreateHitRegion1(), QwTreeEventBuffer::CreateHitRegion2(), QwTreeEventBuffer::CreateHitRegion3(), and QwTrackingTreeCombine::r3_PartialTrackFit().
|
inline |
Definition at line 120 of file QwDetectorInfo.h.
References fElementAngle.
Referenced by QwTreeEventBuffer::CreateHitRegion2(), QwTreeEventBuffer::CreateHitRegion3(), and QwTrackingTreeCombine::r3_PartialTrackFit().
|
inline |
Definition at line 123 of file QwDetectorInfo.h.
References fElementAngleCos.
Referenced by QwTrackingTreeMatch::MatchRegion3(), and QwTrackingTreeCombine::r2_PartialTrackFit().
|
inline |
Definition at line 122 of file QwDetectorInfo.h.
References Qw::deg, and fElementAngle.
|
inline |
Definition at line 121 of file QwDetectorInfo.h.
References fElementAngle.
|
inline |
Definition at line 124 of file QwDetectorInfo.h.
References fElementAngleSin.
Referenced by QwTrackingTreeCombine::r2_PartialTrackFit().
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.
element | Element number |
Definition at line 247 of file QwDetectorInfo.cc.
References GetElementOffset(), and GetElementSpacing().
Referenced by QwTrackingTreeMatch::MatchRegion3().
|
inline |
Definition at line 105 of file QwDetectorInfo.h.
References fDirection.
Referenced by operator<<().
|
inline |
Definition at line 237 of file QwDetectorInfo.h.
References Qw::e, QwLog::endl(), fEfficiency, and QwWarning.
Referenced by QwTreeEventBuffer::CreateHitRegion2(), and QwTreeEventBuffer::CreateHitRegion3().
|
inline |
Definition at line 113 of file QwDetectorInfo.h.
References fElementOffset.
Referenced by QwTreeEventBuffer::CreateHitRegion1(), QwTreeEventBuffer::CreateHitRegion2(), QwTreeEventBuffer::CreateHitRegion3(), and GetElementCoordinate().
|
inline |
Definition at line 109 of file QwDetectorInfo.h.
References fElementSpacing.
Referenced by QwTrackingTree::consistent(), QwTreeEventBuffer::CreateHitRegion1(), QwTreeEventBuffer::CreateHitRegion2(), QwTreeEventBuffer::CreateHitRegion3(), GetElementCoordinate(), QwTrackingWorker::InitTree(), QwTrackingTreeMatch::MatchRegion3(), QwHitPattern::SetHDCHit(), and QwTrackingTreeSearch::TsSetPoint().
|
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().
|
inline |
Definition at line 348 of file QwDetectorInfo.h.
References fHitID.
Referenced by QwDriftChamberHDC::FillHistograms(), and QwDriftChamberVDC::FillHistograms().
|
inline |
Definition at line 76 of file QwDetectorInfo.h.
References fOctant.
Referenced by QwTreeEventBuffer::CreateHitCerenkov(), QwTreeEventBuffer::CreateHitList(), QwTreeEventBuffer::CreateHitRegion1(), QwTreeEventBuffer::CreateHitRegion2(), QwTreeEventBuffer::CreateHitRegion3(), VQwSubsystemTracking::LoadGeometryDefinition(), and QwTrackingTreeCombine::TlTreeLineSort().
|
inline |
Definition at line 223 of file QwDetectorInfo.h.
References fPackage.
Referenced by QwGeometry::as(), VQwSubsystemTracking::LoadGeometryDefinition(), operator<(), and QwTrackingTreeCombine::r3_PartialTrackFit().
|
inline |
Definition at line 226 of file QwDetectorInfo.h.
References fPlane.
Referenced by QwTreeEventBuffer::CreateHitCerenkov(), QwTreeEventBuffer::CreateHitRegion1(), QwTreeEventBuffer::CreateHitRegion2(), QwTreeEventBuffer::CreateHitRegion3(), QwTrackingWorker::ProcessEvent(), and QwTrackingTreeSort::rcCommonWires().
|
inline |
Definition at line 80 of file QwDetectorInfo.h.
References fPlaneOffset.
Referenced by QwTrackingTree::consistent(), QwTrackingTreeCombine::r2_PartialTrackFit(), and QwTrackingTreeCombine::TlTreeLineSort().
const TVector3 QwDetectorInfo::GetPosition | ( | ) | const |
Get position of the detector
Definition at line 226 of file QwDetectorInfo.cc.
References fDetectorOriginX, fDetectorOriginY, and fDetectorOriginZ.
Referenced by QwPartialTrack::DeterminePositionInDetector().
|
inline |
Definition at line 224 of file QwDetectorInfo.h.
References fRegion.
Referenced by QwGeometry::as(), QwTrackingTree::consistent(), QwTreeEventBuffer::CreateHitCerenkov(), QwTreeEventBuffer::CreateHitRegion1(), QwTreeEventBuffer::CreateHitRegion2(), QwTreeEventBuffer::CreateHitRegion3(), QwTrackingWorker::InitTree(), VQwSubsystemTracking::LoadGeometryDefinition(), QwTrackingTree::marklin(), and operator<().
|
inline |
Definition at line 177 of file QwDetectorInfo.h.
References fRotatorPitch.
Referenced by QwPartialTrack::RotateRotator().
|
inline |
Definition at line 180 of file QwDetectorInfo.h.
References fRotatorPitchCos.
|
inline |
Definition at line 179 of file QwDetectorInfo.h.
References Qw::deg, and fRotatorPitch.
|
inline |
Definition at line 178 of file QwDetectorInfo.h.
References fRotatorPitch, and Qw::rad.
|
inline |
Definition at line 181 of file QwDetectorInfo.h.
References fRotatorPitchSin.
|
inline |
Definition at line 199 of file QwDetectorInfo.h.
References fRotatorRoll.
Referenced by QwPartialTrack::RotateRotator().
|
inline |
Definition at line 202 of file QwDetectorInfo.h.
References fRotatorRollCos.
|
inline |
Definition at line 201 of file QwDetectorInfo.h.
References Qw::deg, and fRotatorRoll.
|
inline |
Definition at line 200 of file QwDetectorInfo.h.
References fRotatorRoll, and Qw::rad.
|
inline |
Definition at line 203 of file QwDetectorInfo.h.
References fRotatorRollSin.
|
inline |
Definition at line 188 of file QwDetectorInfo.h.
References fRotatorYaw.
Referenced by QwPartialTrack::RotateRotator().
|
inline |
Definition at line 191 of file QwDetectorInfo.h.
References fRotatorYawCos.
|
inline |
Definition at line 190 of file QwDetectorInfo.h.
References Qw::deg, and fRotatorYaw.
|
inline |
Definition at line 189 of file QwDetectorInfo.h.
References fRotatorYaw, and Qw::rad.
|
inline |
Definition at line 192 of file QwDetectorInfo.h.
References fRotatorYawSin.
|
inline |
Definition at line 55 of file QwDetectorInfo.h.
References fSlopeMatching.
Referenced by QwTrackingTreeMatch::MatchRegion3().
|
inline |
Definition at line 47 of file QwDetectorInfo.h.
References fSpatialResolution.
Referenced by QwTreeEventBuffer::CreateHitRegion2(), QwTreeEventBuffer::CreateHitRegion3(), QwTrackingTreeCombine::r2_PartialTrackFit(), and QwTrackingTreeCombine::r2_TreelineFit().
|
inline |
Definition at line 211 of file QwDetectorInfo.h.
References fTree.
|
inline |
Definition at line 212 of file QwDetectorInfo.h.
References fTree.
|
inline |
Definition at line 51 of file QwDetectorInfo.h.
References fTrackResolution.
Referenced by QwHitPattern::SetHDCHit(), QwHitPattern::SetVDCHit(), and QwTrackingTreeSearch::TsSetPoint().
|
inline |
Definition at line 222 of file QwDetectorInfo.h.
References fType.
Referenced by QwGeometry::as(), QwTrackingTree::consistent(), and QwTrackingTree::marklin().
|
inline |
Definition at line 60 of file QwDetectorInfo.h.
References fDetectorOriginX.
Referenced by QwTreeEventBuffer::CreateHitCerenkov(), QwTreeEventBuffer::CreateHitList(), QwTreeEventBuffer::CreateHitRegion1(), QwTrackingTreeMatch::MatchRegion3(), operator<<(), QwTrackingTreeCombine::r2_PartialTrackFit(), and QwTrackingTreeCombine::r3_PartialTrackFit().
|
inline |
Definition at line 61 of file QwDetectorInfo.h.
References fDetectorOriginY.
Referenced by QwTreeEventBuffer::CreateHitList(), QwTreeEventBuffer::CreateHitRegion1(), QwTrackingTreeMatch::MatchRegion3(), QwTrackingTreeCombine::r2_PartialTrackFit(), and QwTrackingTreeCombine::r3_PartialTrackFit().
|
inline |
Definition at line 62 of file QwDetectorInfo.h.
References fDetectorOriginZ.
Referenced by QwTrackingTree::consistent(), QwTreeEventBuffer::CreateHitList(), QwPartialTrack::DeterminePositionInDetector(), QwTrackingTreeCombine::InAcceptance(), QwTrackingTreeMatch::MatchRegion3(), operator<(), operator<<(), QwTrackingTreeCombine::r2_PartialTrackFit(), QwTrackingTreeCombine::r2_TreelineFit(), QwTrackingTreeCombine::r3_PartialTrackFit(), and QwTrackingTreeCombine::TlTreeLineSort().
|
inline |
Definition at line 97 of file QwDetectorInfo.h.
References fActiveWidthX, fActiveWidthY, fDetectorOriginX, and fDetectorOriginY.
Referenced by QwTrackingTreeCombine::InAcceptance().
|
inline |
Definition at line 83 of file QwDetectorInfo.h.
References fIsActive.
Referenced by IsInactive().
|
inline |
|
inline |
Definition at line 84 of file QwDetectorInfo.h.
References IsActive().
Referenced by QwTrackingWorker::ProcessEvent().
void QwDetectorInfo::LoadCrosstalkDefinition | ( | QwParameterFile * | map | ) |
Parse the crosstalk definition for this detector
map | Relevant 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().
void QwDetectorInfo::LoadGeometryDefinition | ( | QwParameterFile * | map | ) |
Parse the geometry definition for this detector
map | Relevant 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().
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.
|
inline |
|
inline |
Definition at line 85 of file QwDetectorInfo.h.
References fIsActive.
|
inline |
Definition at line 90 of file QwDetectorInfo.h.
References fActiveWidthX, and fActiveWidthY.
|
inline |
Definition at line 96 of file QwDetectorInfo.h.
References fActiveWidthZ.
|
inline |
|
inline |
Definition at line 149 of file QwDetectorInfo.h.
References fDetectorPitch, fDetectorPitchCos, and fDetectorPitchSin.
|
inline |
Definition at line 171 of file QwDetectorInfo.h.
References fDetectorRoll, fDetectorRollCos, and fDetectorRollSin.
|
inline |
Definition at line 160 of file QwDetectorInfo.h.
References fDetectorYaw, fDetectorYawCos, and fDetectorYawSin.
|
inline |
Definition at line 339 of file QwDetectorInfo.h.
References fChannel, fCrate, fModule, and fReferenceChannelIndex.
|
inline |
Definition at line 125 of file QwDetectorInfo.h.
References fElementAngle, fElementAngleCos, and fElementAngleSin.
|
inline |
Definition at line 130 of file QwDetectorInfo.h.
References fElementAngle, fElementAngleCos, and fElementAngleSin.
|
inline |
|
inline |
Definition at line 247 of file QwDetectorInfo.h.
References Qw::e, QwLog::endl(), fEfficiency, and QwWarning.
Referenced by LoadGeometryDefinition().
|
inline |
Definition at line 256 of file QwDetectorInfo.h.
References fEfficiency.
|
inline |
Definition at line 114 of file QwDetectorInfo.h.
References fElementOffset.
Referenced by LoadGeometryDefinition().
|
inline |
Definition at line 110 of file QwDetectorInfo.h.
References fElementSpacing.
Referenced by LoadGeometryDefinition().
|
inline |
Definition at line 138 of file QwDetectorInfo.h.
References fEfficiency, and fNumberOfElements.
Referenced by LoadGeometryDefinition().
|
inline |
Definition at line 75 of file QwDetectorInfo.h.
References fOctant.
Referenced by VQwSubsystemTracking::LoadGeometryDefinition().
|
inline |
Definition at line 79 of file QwDetectorInfo.h.
References fPlaneOffset.
void QwDetectorInfo::SetPosition | ( | const TVector3 & | position | ) |
Set position of the detector
position | TVector3 |
Definition at line 234 of file QwDetectorInfo.cc.
References fDetectorOriginX, fDetectorOriginY, and fDetectorOriginZ.
|
inline |
Definition at line 182 of file QwDetectorInfo.h.
References fRotatorPitch, fRotatorPitchCos, and fRotatorPitchSin.
|
inline |
Definition at line 204 of file QwDetectorInfo.h.
References fRotatorRoll, fRotatorRollCos, and fRotatorRollSin.
|
inline |
Definition at line 193 of file QwDetectorInfo.h.
References fRotatorYaw, fRotatorYawCos, and fRotatorYawSin.
|
inline |
Definition at line 56 of file QwDetectorInfo.h.
References fSlopeMatching.
|
inline |
Definition at line 48 of file QwDetectorInfo.h.
References fSpatialResolution.
|
inline |
Definition at line 213 of file QwDetectorInfo.h.
References fTree.
|
inline |
Definition at line 52 of file QwDetectorInfo.h.
References fTrackResolution.
|
inline |
Definition at line 65 of file QwDetectorInfo.h.
References fDetectorOriginX, and fDetectorOriginY.
Referenced by SetXYZPosition().
|
inline |
Definition at line 69 of file QwDetectorInfo.h.
References SetXYPosition(), and SetZPosition().
|
inline |
Definition at line 64 of file QwDetectorInfo.h.
References fDetectorOriginZ.
Referenced by SetXYZPosition().
|
friend |
Output stream operator
stream | Output stream |
det | Detector info object |
Definition at line 291 of file QwDetectorInfo.cc.
|
private |
Active volume in x.
Definition at line 307 of file QwDetectorInfo.h.
Referenced by GetActiveWidthX(), InAcceptance(), LoadGeometryDefinition(), Print(), and SetActiveWidthXY().
|
private |
Active volume in y.
Definition at line 308 of file QwDetectorInfo.h.
Referenced by GetActiveWidthY(), InAcceptance(), LoadGeometryDefinition(), Print(), and SetActiveWidthXY().
|
private |
Active volume in z.
Definition at line 309 of file QwDetectorInfo.h.
Referenced by GetActiveWidthZ(), LoadGeometryDefinition(), Print(), and SetActiveWidthZ().
|
private |
Definition at line 273 of file QwDetectorInfo.h.
Referenced by SetElectronics().
|
private |
Definition at line 271 of file QwDetectorInfo.h.
Referenced by SetElectronics().
|
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().
|
private |
Detector position in x.
Definition at line 276 of file QwDetectorInfo.h.
Referenced by GetPosition(), GetXPosition(), InAcceptance(), LoadGeometryDefinition(), Print(), SetPosition(), and SetXYPosition().
|
private |
Detector position in y.
Definition at line 277 of file QwDetectorInfo.h.
Referenced by GetPosition(), GetYPosition(), InAcceptance(), LoadGeometryDefinition(), Print(), SetPosition(), and SetXYPosition().
|
private |
Detector position in z.
Definition at line 278 of file QwDetectorInfo.h.
Referenced by GetPosition(), GetZPosition(), LoadGeometryDefinition(), Print(), SetPosition(), and SetZPosition().
|
private |
Pitch of detector.
Definition at line 281 of file QwDetectorInfo.h.
Referenced by GetDetectorPitch(), GetDetectorPitchInDeg(), GetDetectorPitchInRad(), LoadGeometryDefinition(), Print(), and SetDetectorPitch().
|
private |
Cos of detector pitch.
Definition at line 282 of file QwDetectorInfo.h.
Referenced by GetDetectorPitchCos(), LoadGeometryDefinition(), and SetDetectorPitch().
|
private |
Sin of detector pitch.
Definition at line 283 of file QwDetectorInfo.h.
Referenced by GetDetectorPitchSin(), LoadGeometryDefinition(), and SetDetectorPitch().
|
private |
Roll of detector.
Definition at line 287 of file QwDetectorInfo.h.
Referenced by GetDetectorRoll(), GetDetectorRollInDeg(), GetDetectorRollInRad(), LoadGeometryDefinition(), Print(), and SetDetectorRoll().
|
private |
Cos of detector roll.
Definition at line 288 of file QwDetectorInfo.h.
Referenced by GetDetectorRollCos(), LoadGeometryDefinition(), and SetDetectorRoll().
|
private |
Sin of detector roll.
Definition at line 289 of file QwDetectorInfo.h.
Referenced by GetDetectorRollSin(), LoadGeometryDefinition(), and SetDetectorRoll().
|
private |
Yaw of detector.
Definition at line 284 of file QwDetectorInfo.h.
Referenced by GetDetectorYaw(), GetDetectorYawInDeg(), GetDetectorYawInRad(), LoadGeometryDefinition(), Print(), and SetDetectorYaw().
|
private |
Cos of detector yaw.
Definition at line 285 of file QwDetectorInfo.h.
Referenced by GetDetectorYawCos(), LoadGeometryDefinition(), and SetDetectorYaw().
|
private |
Sin of detector yaw.
Definition at line 286 of file QwDetectorInfo.h.
Referenced by GetDetectorYawSin(), LoadGeometryDefinition(), and SetDetectorYaw().
|
private |
Definition at line 266 of file QwDetectorInfo.h.
Referenced by GetDirection(), GetElementDirection(), LoadGeometryDefinition(), Print(), and SetElementDirection().
|
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().
|
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().
|
private |
Cos of the element orientation.
Definition at line 313 of file QwDetectorInfo.h.
Referenced by GetElementAngleCos(), LoadGeometryDefinition(), and SetElementAngle().
|
private |
Sin of the element orientation.
Definition at line 314 of file QwDetectorInfo.h.
Referenced by GetElementAngleSin(), LoadGeometryDefinition(), and SetElementAngle().
|
private |
Position of the first element (it is not
Definition at line 315 of file QwDetectorInfo.h.
Referenced by GetElementOffset(), Print(), and SetElementOffset().
|
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().
|
private |
Is this detector activated in tracking.
Definition at line 301 of file QwDetectorInfo.h.
Referenced by IsActive(), LoadGeometryDefinition(), and SetActive().
|
private |
Definition at line 272 of file QwDetectorInfo.h.
Referenced by SetElectronics().
|
private |
Total number of elements in this detector.
Definition at line 318 of file QwDetectorInfo.h.
Referenced by GetNumberOfElements(), Print(), and SetNumberOfElements().
|
private |
Definition at line 268 of file QwDetectorInfo.h.
Referenced by GetOctant(), LoadGeometryDefinition(), operator<<(), Print(), and SetOctant().
|
private |
Definition at line 264 of file QwDetectorInfo.h.
Referenced by GetPackage(), LoadGeometryDefinition(), operator<<(), and Print().
|
private |
Definition at line 267 of file QwDetectorInfo.h.
Referenced by GetPlane(), LoadGeometryDefinition(), operator<<(), and Print().
|
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().
|
private |
Definition at line 265 of file QwDetectorInfo.h.
Referenced by GetRegion(), LoadGeometryDefinition(), operator<<(), and Print().
|
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().
|
private |
Cos of rotator pitch.
Definition at line 291 of file QwDetectorInfo.h.
Referenced by GetRotatorPitchCos(), LoadGeometryDefinition(), and SetRotatorPitch().
|
private |
Sin of rotator pitch.
Definition at line 292 of file QwDetectorInfo.h.
Referenced by GetRotatorPitchSin(), LoadGeometryDefinition(), and SetRotatorPitch().
|
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().
|
private |
Cos of rotator roll.
Definition at line 297 of file QwDetectorInfo.h.
Referenced by GetRotatorRollCos(), LoadGeometryDefinition(), and SetRotatorRoll().
|
private |
Sin of rotator roll.
Definition at line 298 of file QwDetectorInfo.h.
Referenced by GetRotatorRollSin(), LoadGeometryDefinition(), and SetRotatorRoll().
|
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().
|
private |
Cos of rotator yaw.
Definition at line 294 of file QwDetectorInfo.h.
Referenced by GetRotatorYawCos(), LoadGeometryDefinition(), and SetRotatorYaw().
|
private |
Sin of rotator yaw.
Definition at line 295 of file QwDetectorInfo.h.
Referenced by GetRotatorYawSin(), LoadGeometryDefinition(), and SetRotatorYaw().
|
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().
|
private |
Spatial resolution (how accurate is the timing info)
Definition at line 303 of file QwDetectorInfo.h.
Referenced by GetSpatialResolution(), LoadGeometryDefinition(), Print(), and SetSpatialResolution().
|
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().
|
private |
///< Efficiency of all elements
Search tree for this detector
Definition at line 324 of file QwDetectorInfo.h.
Referenced by GetTrackingSearchTree(), and SetTrackingSearchTree().
|
private |
Definition at line 263 of file QwDetectorInfo.h.
Referenced by GetType(), LoadGeometryDefinition(), operator<<(), and Print().