FairRoot/PandaRoot
|
#include <PndMvdDetector.h>
Public Member Functions | |
PndMvdDetector () | |
PndMvdDetector (const char *name, Bool_t active) | |
virtual | ~PndMvdDetector () |
void | SetBranchNames (TString outBranchname, TString folderName) |
virtual void | SetBranchNames () |
virtual void | SetSpecialPhysicsCuts () |
virtual void | SetDefaultSensorNames () |
virtual void | Initialize () |
void | SetExclusiveSensorType (const TString sens) |
virtual Bool_t | ProcessHits (FairVolume *vol=0) |
virtual void | EndOfEvent () |
virtual void | FinishRun () |
virtual void | Register () |
virtual TClonesArray * | GetCollection (Int_t iColl) const |
virtual void | Print () const |
virtual void | Reset () |
virtual void | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) |
virtual void | ConstructGeometry () |
virtual void | ConstructASCIIGeometry () |
void | SetDetectorID (DetectorId id) |
void | SetRadDamOption (bool val) |
bool | GetRadDamOption () |
void | SetVerboseLevel (Int_t level) |
void | SetPersistance (Bool_t p=kTRUE) |
Bool_t | GetPersistance () |
Protected Member Functions | |
bool | CheckIfSensitive (std::string name) |
PndSdsMCPoint * | AddHit (Int_t trackID, Int_t detID, Int_t sensorID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t time, Double_t length, Double_t eLoss) |
void | ResetParameters () |
ClassDef (PndSdsDetector, 6) | |
Protected Attributes | |
Bool_t | fPersistance |
Int_t | fTrackID |
Int_t | fVolumeID |
track index More... | |
TLorentzVector | fPosIn |
Det id. More... | |
TLorentzVector | fPosOut |
entry position in global frame More... | |
TLorentzVector | fMomIn |
exit position in global frame More... | |
TLorentzVector | fMomOut |
momentum More... | |
Double32_t | fTime |
momentum More... | |
Double32_t | fLength |
time More... | |
Double32_t | fELoss |
length More... | |
PndGeoHandling * | fGeoH |
energy loss More... | |
Int_t | fPosIndex |
Gives Access to the Path info of a hit. More... | |
TClonesArray * | fPndSdsCollection |
bool | fUseRadDamOption |
Hit collection. More... | |
TString | fOutBranchName |
enables the detection of neutral particles More... | |
TString | fFolderName |
To be set by daughter classes. More... | |
DetectorId | fDetectorID |
To be set by daughter classes. More... | |
std::vector< std::string > | fListOfSensitives |
To be set by daughter classes. More... | |
Private Member Functions | |
ClassDef (PndMvdDetector, 6) | |
PndMvdDetector.h
Defines the active detector PndMvdDetector. Constructs the geometry and registers MCPoints.
Definition at line 20 of file PndMvdDetector.h.
PndMvdDetector::PndMvdDetector | ( | ) |
Default constructor
Definition at line 6 of file PndMvdDetector.cxx.
References kMVD, and PndSdsDetector::SetDetectorID().
PndMvdDetector::PndMvdDetector | ( | const char * | name, |
Bool_t | active | ||
) |
Standard constructor.
name | detetcor name |
active | sensitivity flag |
Definition at line 12 of file PndMvdDetector.cxx.
References kMVD, and PndSdsDetector::SetDetectorID().
|
virtual |
|
protectedinherited |
Private method AddHit
Adds a CbmTrdPoint to the HitCollection
Definition at line 436 of file PndSdsDetector.cxx.
References PndSdsDetector::fGeoH, PndSdsDetector::fOutBranchName, PndSdsDetector::fPndSdsCollection, and PndGeoHandling::GetPath().
Referenced by PndSdsDetector::ProcessHits().
|
protectedinherited |
Definition at line 358 of file PndSdsDetector.cxx.
References PndSdsDetector::fListOfSensitives, and i.
|
private |
|
protectedinherited |
|
virtualinherited |
Definition at line 371 of file PndSdsDetector.cxx.
References Bool_t, fRun, geoFace, geoLoad, PndSdsGeoPar::GetGeoPassiveNodes(), PndSdsGeoPar::GetGeoSensitiveNodes(), par, and rtdb.
Referenced by PndSdsDetector::ConstructGeometry().
|
virtualinherited |
Virtual method Construct geometry
Constructs the PndSdsDetector geometry
Definition at line 343 of file PndSdsDetector.cxx.
References PndSdsDetector::ConstructASCIIGeometry(), PndSdsDetector::fListOfSensitives, PndSdsDetector::SetDefaultSensorNames(), and TString.
|
virtualinherited |
Virtual method CopyClones
Copies the hit collection with a given track index offset
cl1 | Origin |
cl2 | Target |
offset | Index offset |
Definition at line 316 of file PndSdsDetector.cxx.
References PndSdsDetector::fPosIndex, i, offset(), and PndSdsMCPoint::SetTrackID().
|
virtualinherited |
Virtual method EndOfEvent
If verbosity level is set, Print hit collection at the end of the event and resets it afterwards.
Definition at line 242 of file PndSdsDetector.cxx.
References PndSdsDetector::fPndSdsCollection, PndSdsDetector::fPosIndex, and PndSdsDetector::Print().
|
virtualinherited |
Definition at line 258 of file PndSdsDetector.cxx.
|
virtualinherited |
Accessor to the hit collection
Definition at line 278 of file PndSdsDetector.cxx.
References PndSdsDetector::fPndSdsCollection.
|
inlineinherited |
|
inlineinherited |
Definition at line 192 of file PndSdsDetector.h.
References PndSdsDetector::fUseRadDamOption.
|
inlinevirtual |
Reimplemented from PndSdsDetector.
Definition at line 42 of file PndMvdDetector.h.
References PndSdsDetector::Initialize().
|
virtualinherited |
Virtual method Print
Screen output of hit collection.
Definition at line 290 of file PndSdsDetector.cxx.
References PndSdsDetector::fPndSdsCollection, i, and nHits.
Referenced by PndSdsDetector::EndOfEvent().
|
virtualinherited |
Virtual method ProcessHits
Defines the action to be taken when a step is inside the active volume. Creates CbmTrdPoints and adds them to the collection.
vol | Pointer to the active volume |
Definition at line 176 of file PndSdsDetector.cxx.
References PndSdsDetector::AddHit(), PndStack::AddPoint(), PndSdsDetector::fDetectorID, PndSdsDetector::fELoss, PndSdsDetector::fGeoH, PndSdsDetector::fLength, PndSdsDetector::fMomIn, PndSdsDetector::fMomOut, PndSdsDetector::fPosIn, PndSdsDetector::fPosOut, PndSdsDetector::fTime, PndSdsDetector::fTrackID, PndSdsDetector::fUseRadDamOption, PndSdsDetector::fVolumeID, PndGeoHandling::GetShortID(), PndSdsDetector::ResetParameters(), and TString.
|
virtualinherited |
Virtual method Register
Registers the hit collection in the ROOT manager.
Definition at line 264 of file PndSdsDetector.cxx.
References PndSdsDetector::fFolderName, PndSdsDetector::fOutBranchName, and PndSdsDetector::fPndSdsCollection.
|
virtualinherited |
Virtual method Reset
Clears the hit collection
Definition at line 306 of file PndSdsDetector.cxx.
References PndSdsDetector::fPndSdsCollection, and PndSdsDetector::ResetParameters().
|
inlineprotectedinherited |
Private method ResetParameters
Resets the private members for the track parameters
Definition at line 251 of file PndSdsDetector.h.
References PndSdsDetector::fELoss, PndSdsDetector::fLength, PndSdsDetector::fMomIn, PndSdsDetector::fMomOut, PndSdsDetector::fPosIn, PndSdsDetector::fPosIndex, PndSdsDetector::fPosOut, PndSdsDetector::fTime, PndSdsDetector::fTrackID, and PndSdsDetector::fVolumeID.
Referenced by PndSdsDetector::ProcessHits(), and PndSdsDetector::Reset().
Setting in/output names for MVD
Definition at line 49 of file PndMvdDetector.cxx.
References PndSdsDetector::fFolderName, and PndSdsDetector::fOutBranchName.
|
virtual |
pure virtual method SetBranchName
called by Initialize() function to set individual branch names
Implements PndSdsDetector.
Definition at line 56 of file PndMvdDetector.cxx.
References PndSdsDetector::fFolderName, and PndSdsDetector::fOutBranchName.
|
virtual |
pure virtual method SetDefaultSensorNames
called by Initialize() function to set individual sensor type names
Implements PndSdsDetector.
Definition at line 18 of file PndMvdDetector.cxx.
References PndSdsDetector::fListOfSensitives.
|
inlineinherited |
Definition at line 189 of file PndSdsDetector.h.
References PndSdsDetector::fDetectorID.
Referenced by PndLmdDetector::PndLmdDetector(), and PndMvdDetector().
|
inherited |
Definition at line 423 of file PndSdsDetector.cxx.
References PndSdsDetector::fListOfSensitives.
Referenced by createPndLmdMisalignmentMatrices(), run0AllSysDPMbkg(), runGeaneTestSimBox(), runLumi0DPMbkg(), runLumi0DPMbkgSte(), runLumi0SimBox(), runLumiPixel0SimBox(), runLumiPixel0SimDPMDirect(), runLumiPixel0SimDPMDirect_all(), runLumiPixel0SimFTF(), runLumiPixel0SimFTFDirect(), runLumiSimBox(), and sim_LMD().
|
inlineinherited |
|
inlineinherited |
Definition at line 191 of file PndSdsDetector.h.
References PndSdsDetector::fUseRadDamOption, and val.
|
virtual |
Virtual Method SetSpecialPhysicsCuts
replaces some Geant initialisation via g3Config.C and so on
Reimplemented from PndSdsDetector.
Definition at line 64 of file PndMvdDetector.cxx.
|
inlineinherited |
Definition at line 195 of file PndSdsDetector.h.
References PndSdsDetector::fGeoH, and PndGeoHandling::SetVerbose().
Referenced by run0AllSysDPMbkg(), runGeaneTestSimBox(), runLumi0DPMbkg(), runLumi0DPMbkgSte(), runLumi0SimBox(), runLumiPixel0SimBox(), runLumiPixel0SimDPM(), runLumiPixel0SimDPMDirect(), runLumiPixel0SimDPMDirect_all(), runLumiPixel0SimFTF(), runLumiPixel0SimFTFDirect(), runLumiSimBox(), and sim_LMD().
|
protectedinherited |
To be set by daughter classes.
Definition at line 223 of file PndSdsDetector.h.
Referenced by PndSdsDetector::operator=(), PndSdsDetector::ProcessHits(), and PndSdsDetector::SetDetectorID().
|
protectedinherited |
length
Definition at line 215 of file PndSdsDetector.h.
Referenced by PndSdsDetector::operator=(), PndSdsDetector::ProcessHits(), and PndSdsDetector::ResetParameters().
|
protectedinherited |
To be set by daughter classes.
Definition at line 222 of file PndSdsDetector.h.
Referenced by PndSdsDetector::operator=(), PndSdsDetector::Register(), SetBranchNames(), and PndLmdDetector::SetBranchNames().
|
protectedinherited |
energy loss
Definition at line 217 of file PndSdsDetector.h.
Referenced by PndSdsDetector::AddHit(), PndSdsDetector::Initialize(), PndSdsDetector::operator=(), PndSdsDetector::ProcessHits(), and PndSdsDetector::SetVerboseLevel().
|
protectedinherited |
time
Definition at line 214 of file PndSdsDetector.h.
Referenced by PndSdsDetector::operator=(), PndSdsDetector::ProcessHits(), and PndSdsDetector::ResetParameters().
|
protectedinherited |
To be set by daughter classes.
Definition at line 225 of file PndSdsDetector.h.
Referenced by PndSdsDetector::CheckIfSensitive(), PndSdsDetector::ConstructGeometry(), PndSdsDetector::Initialize(), PndSdsDetector::operator=(), SetDefaultSensorNames(), PndLmdDetector::SetDefaultSensorNames(), and PndSdsDetector::SetExclusiveSensorType().
|
protectedinherited |
exit position in global frame
Definition at line 211 of file PndSdsDetector.h.
Referenced by PndSdsDetector::operator=(), PndSdsDetector::ProcessHits(), and PndSdsDetector::ResetParameters().
|
protectedinherited |
momentum
Definition at line 212 of file PndSdsDetector.h.
Referenced by PndSdsDetector::operator=(), PndSdsDetector::ProcessHits(), and PndSdsDetector::ResetParameters().
|
protectedinherited |
enables the detection of neutral particles
Definition at line 221 of file PndSdsDetector.h.
Referenced by PndSdsDetector::AddHit(), PndSdsDetector::operator=(), PndSdsDetector::Register(), SetBranchNames(), and PndLmdDetector::SetBranchNames().
|
protectedinherited |
Definition at line 198 of file PndSdsDetector.h.
Referenced by PndSdsDetector::GetPersistance(), PndSdsDetector::operator=(), and PndSdsDetector::SetPersistance().
|
protectedinherited |
Definition at line 219 of file PndSdsDetector.h.
Referenced by PndSdsDetector::AddHit(), PndSdsDetector::EndOfEvent(), PndSdsDetector::GetCollection(), PndSdsDetector::operator=(), PndSdsDetector::Print(), PndSdsDetector::Register(), PndSdsDetector::Reset(), and PndSdsDetector::~PndSdsDetector().
|
protectedinherited |
Det id.
Definition at line 209 of file PndSdsDetector.h.
Referenced by PndSdsDetector::operator=(), PndSdsDetector::ProcessHits(), and PndSdsDetector::ResetParameters().
|
protectedinherited |
Gives Access to the Path info of a hit.
Definition at line 218 of file PndSdsDetector.h.
Referenced by PndSdsDetector::CopyClones(), PndSdsDetector::EndOfEvent(), PndSdsDetector::operator=(), and PndSdsDetector::ResetParameters().
|
protectedinherited |
entry position in global frame
Definition at line 210 of file PndSdsDetector.h.
Referenced by PndSdsDetector::operator=(), PndSdsDetector::ProcessHits(), and PndSdsDetector::ResetParameters().
|
protectedinherited |
momentum
Definition at line 213 of file PndSdsDetector.h.
Referenced by PndSdsDetector::operator=(), PndSdsDetector::ProcessHits(), and PndSdsDetector::ResetParameters().
|
protectedinherited |
Track information to be stored until the track leaves the active volume.
Definition at line 207 of file PndSdsDetector.h.
Referenced by PndSdsDetector::operator=(), PndSdsDetector::ProcessHits(), and PndSdsDetector::ResetParameters().
|
protectedinherited |
Hit collection.
Definition at line 220 of file PndSdsDetector.h.
Referenced by PndSdsDetector::GetRadDamOption(), PndSdsDetector::operator=(), PndSdsDetector::ProcessHits(), and PndSdsDetector::SetRadDamOption().
|
protectedinherited |
track index
Definition at line 208 of file PndSdsDetector.h.
Referenced by PndSdsDetector::operator=(), PndSdsDetector::ProcessHits(), and PndSdsDetector::ResetParameters().