FairRoot/PandaRoot
|
#include <PndMdtIGeometry.h>
Classes | |
struct | InfoType |
struct | LayerBoundary |
Public Member Functions | |
PndMdtIGeometry () | |
~PndMdtIGeometry () | |
void | SetVerbose (Int_t _v) |
void | AddSensor (TString _v) |
Bool_t | Init () |
Bool_t | GetTubeCenter (Int_t iDetId, TVector3 &pos) const |
Bool_t | GetTubeLength (Int_t iDetId, Double_t &len) const |
Bool_t | GetStripLength (Int_t iDetId, Double_t &len) const |
Bool_t | GetStripCenter (Int_t iDetId, TVector3 &pos) const |
Bool_t | GetLayerBoundary (Int_t iLayer, TVector3 &LBPos, TVector3 &RTPos) const |
Bool_t | MasterToLocal (Int_t iDetId, TVector3 &master, TVector3 &local) |
Bool_t | MapWireToStrip (Int_t iDetId, const TVector3 &fEntryPos, Int_t &fStripDetID) |
void | Print () const |
Static Public Member Functions | |
static PndMdtIGeometry * | Instance () |
Private Types | |
typedef std::map< Int_t, LayerBoundary >::iterator | LayerInfoMapIter |
typedef std::pair< Int_t, LayerBoundary > | LayerInfoMapValue |
Private Member Functions | |
Bool_t | FindSensorinPath (TString path) |
void | LoadGeometry (TGeoNode *node) |
Bool_t | GetStripInfo () |
Bool_t | GetGeometryInfoV2 (const TString &fFullPath, const TString &Name) |
void | InsertLayerInfo (Int_t layerID, const TVector3 &pos, const TVector3 &lwh) |
Bool_t | AddTubeInfo (Int_t detID, const TVector3 ¢er, Double_t wirelen, TGeoMatrix *matrix) |
Bool_t | AddStripInfo (Int_t detID, TVector3 stripPos, Double_t stripLen, TGeoMatrix *matrix=0) |
Bool_t | AddMatrix (Int_t layerID, TGeoMatrix *matrix) |
ClassDef (PndMdtIGeometry, 1) | |
Private Attributes | |
std::set< TString > | fSensorSet |
Int_t | fVerbose |
Bool_t | fGoodGeometry |
TString | fStateTip |
std::map< Int_t, InfoType > | fGeoMap |
std::map< Int_t, TGeoMatrix * > | fMatrixMap |
std::map< Int_t, LayerBoundary > | fLayerInfoMap |
Int_t | fBarrelVersion |
Int_t | fEndcapVersion |
Int_t | fForwardVersion |
Int_t | fMuonFilterVersion |
Int_t | fNumofMdt |
Int_t | fNumofStrip |
Bool_t | fInitialized |
Static Private Attributes | |
static PndMdtIGeometry * | fInstance = 0 |
Definition at line 18 of file PndMdtIGeometry.h.
|
private |
Definition at line 158 of file PndMdtIGeometry.h.
|
private |
Definition at line 159 of file PndMdtIGeometry.h.
PndMdtIGeometry::PndMdtIGeometry | ( | ) |
Default constructor
Definition at line 36 of file PndMdtIGeometry.cxx.
References fBarrelVersion, fEndcapVersion, fForwardVersion, fGoodGeometry, fInitialized, fMuonFilterVersion, fNumofMdt, fNumofStrip, fStateTip, and fVerbose.
Referenced by Instance().
PndMdtIGeometry::~PndMdtIGeometry | ( | ) |
Destructor
Definition at line 47 of file PndMdtIGeometry.cxx.
References fGeoMap, and fLayerInfoMap.
|
private |
Definition at line 335 of file PndMdtIGeometry.cxx.
References fMatrixMap, and fVerbose.
Referenced by GetGeometryInfoV2().
|
inline |
Definition at line 30 of file PndMdtIGeometry.h.
References fSensorSet.
Referenced by PndMdtDigitization::Init(), and PndMdtPointsToWaveform::Init().
|
private |
Definition at line 364 of file PndMdtIGeometry.cxx.
References fGeoMap, fStateTip, fVerbose, PndMdtIGeometry::InfoType::Length, PndMdtIGeometry::InfoType::Matrix, and PndMdtIGeometry::InfoType::Position.
Referenced by GetStripInfo().
|
private |
Definition at line 344 of file PndMdtIGeometry.cxx.
References CAMath::Abs(), fGeoMap, fStateTip, fVerbose, PndMdtIGeometry::InfoType::Length, PndMdtIGeometry::InfoType::Matrix, and PndMdtIGeometry::InfoType::Position.
Referenced by GetGeometryInfoV2().
|
private |
Definition at line 119 of file PndMdtIGeometry.h.
References Bool_t, and fSensorSet.
Referenced by LoadGeometry().
|
private |
Definition at line 248 of file PndMdtIGeometry.cxx.
References AddMatrix(), AddTubeInfo(), Bool_t, Double_t, fBarrelVersion, fEndcapVersion, fForwardVersion, fMuonFilterVersion, fStateTip, fVerbose, gGeoManager, PndMdtID::Identifier(), InsertLayerInfo(), and PndMdtID::LayerID().
Referenced by LoadGeometry().
|
inline |
Definition at line 70 of file PndMdtIGeometry.h.
References fLayerInfoMap.
|
inline |
Definition at line 62 of file PndMdtIGeometry.h.
References fGeoMap.
Referenced by PndMdtDigitization::exec_e(), and PndMdtDigitization::exec_t().
|
private |
Definition at line 145 of file PndMdtIGeometry.cxx.
References CAMath::Abs(), AddStripInfo(), Bool_t, CAMath::Cos(), cx, cy, Double_t, dx, dy, dz, fLayerInfoMap, fNumofStrip, fStateTip, fVerbose, PndMdtID::Identifier(), PndMdtID::Layer(), layer, PndMdtIGeometry::LayerBoundary::maxX, PndMdtIGeometry::LayerBoundary::maxY, PndMdtIGeometry::LayerBoundary::maxZ, PndMdtIGeometry::LayerBoundary::minX, PndMdtIGeometry::LayerBoundary::minY, PndMdtIGeometry::LayerBoundary::minZ, PndMdtID::Module(), Pi, PndMdtID::Sector(), and CAMath::Sin().
Referenced by Init().
|
inline |
Definition at line 36 of file PndMdtIGeometry.h.
References fGeoMap.
Referenced by PndMdtDigitization::exec_e(), and PndMdtDigitization::exec_t().
Bool_t PndMdtIGeometry::Init | ( | ) |
Definition at line 57 of file PndMdtIGeometry.cxx.
References fBarrelVersion, fEndcapVersion, fForwardVersion, fGoodGeometry, fInitialized, fMuonFilterVersion, fNumofMdt, fNumofStrip, fStateTip, fVerbose, GetStripInfo(), gGeoManager, and LoadGeometry().
Referenced by PndMdtDigitization::Init(), and PndMdtPointsToWaveform::Init().
|
private |
Definition at line 120 of file PndMdtIGeometry.cxx.
References fLayerInfoMap, PndMdtIGeometry::LayerBoundary::maxX, PndMdtIGeometry::LayerBoundary::maxY, PndMdtIGeometry::LayerBoundary::maxZ, PndMdtIGeometry::LayerBoundary::minX, PndMdtIGeometry::LayerBoundary::minY, and PndMdtIGeometry::LayerBoundary::minZ.
Referenced by GetGeometryInfoV2().
|
static |
Definition at line 30 of file PndMdtIGeometry.cxx.
References fInstance, and PndMdtIGeometry().
Referenced by PndMdtDigitization::Init(), and PndMdtPointsToWaveform::Init().
|
private |
Definition at line 92 of file PndMdtIGeometry.cxx.
References fGoodGeometry, FindSensorinPath(), fNumofMdt, GetGeometryInfoV2(), i, name, and TString.
Referenced by Init().
|
inline |
Definition at line 93 of file PndMdtIGeometry.h.
References Double_t, fLayerInfoMap, PndMdtID::Identifier(), PndMdtID::Layer(), PndMdtID::LayerID(), PndMdtID::Module(), and PndMdtID::Sector().
Referenced by PndMdtPointsToWaveform::exec_e(), and PndMdtPointsToWaveform::exec_t().
|
inline |
Definition at line 78 of file PndMdtIGeometry.h.
References fGeoMap.
Referenced by PndMdtPointsToWaveform::exec_e(), and PndMdtPointsToWaveform::exec_t().
void PndMdtIGeometry::Print | ( | ) | const |
Definition at line 381 of file PndMdtIGeometry.cxx.
References PndMdtID::Box(), fGeoMap, PndMdtID::isStrip(), PndMdtID::isWire(), PndMdtID::Layer(), PndMdtID::Module(), out, PndMdtID::Sector(), PndMdtID::Strip(), and PndMdtID::Wire().
Referenced by PndMdtPointsToWaveform::Init().
|
inline |
Definition at line 29 of file PndMdtIGeometry.h.
References fVerbose.
Referenced by PndMdtDigitization::Init(), and PndMdtPointsToWaveform::Init().
|
private |
Definition at line 162 of file PndMdtIGeometry.h.
Referenced by GetGeometryInfoV2(), Init(), and PndMdtIGeometry().
|
private |
Definition at line 163 of file PndMdtIGeometry.h.
Referenced by GetGeometryInfoV2(), Init(), and PndMdtIGeometry().
|
private |
Definition at line 164 of file PndMdtIGeometry.h.
Referenced by GetGeometryInfoV2(), Init(), and PndMdtIGeometry().
Definition at line 143 of file PndMdtIGeometry.h.
Referenced by AddStripInfo(), AddTubeInfo(), GetStripCenter(), GetStripLength(), GetTubeCenter(), GetTubeLength(), MasterToLocal(), Print(), and ~PndMdtIGeometry().
|
private |
Definition at line 132 of file PndMdtIGeometry.h.
Referenced by Init(), LoadGeometry(), and PndMdtIGeometry().
|
private |
Definition at line 168 of file PndMdtIGeometry.h.
Referenced by Init(), and PndMdtIGeometry().
|
staticprivate |
Definition at line 179 of file PndMdtIGeometry.h.
Referenced by Instance().
|
private |
Definition at line 157 of file PndMdtIGeometry.h.
Referenced by GetLayerBoundary(), GetStripInfo(), InsertLayerInfo(), MapWireToStrip(), and ~PndMdtIGeometry().
|
private |
Definition at line 144 of file PndMdtIGeometry.h.
Referenced by AddMatrix().
|
private |
Definition at line 165 of file PndMdtIGeometry.h.
Referenced by GetGeometryInfoV2(), Init(), and PndMdtIGeometry().
|
private |
Definition at line 166 of file PndMdtIGeometry.h.
Referenced by Init(), LoadGeometry(), and PndMdtIGeometry().
|
private |
Definition at line 167 of file PndMdtIGeometry.h.
Referenced by GetStripInfo(), Init(), and PndMdtIGeometry().
|
private |
Definition at line 118 of file PndMdtIGeometry.h.
Referenced by AddSensor(), and FindSensorinPath().
|
private |
Definition at line 133 of file PndMdtIGeometry.h.
Referenced by AddStripInfo(), AddTubeInfo(), GetGeometryInfoV2(), GetStripInfo(), Init(), and PndMdtIGeometry().
|
private |
Definition at line 131 of file PndMdtIGeometry.h.
Referenced by AddMatrix(), AddStripInfo(), AddTubeInfo(), GetGeometryInfoV2(), GetStripInfo(), Init(), PndMdtIGeometry(), and SetVerbose().