|
CbmRoot
|
#include <CbmMvd.h>
Public Member Functions | |
| CbmMvd () | |
| CbmMvd (const char *name, Bool_t active) | |
| virtual | ~CbmMvd () |
| virtual Bool_t | ProcessHits (FairVolume *vol=0) |
| virtual void | BeginEvent () |
| virtual void | EndOfEvent () |
| virtual void | Register () |
| virtual TClonesArray * | GetCollection (Int_t iColl) const |
| virtual void | Print (Option_t *="") const |
| virtual void | Reset () |
| virtual void | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) |
| virtual void | ConstructGeometry () |
| virtual void | ConstructAsciiGeometry () |
| virtual void | ConstructRootGeometry () |
| virtual Bool_t | IsSensitive (const std::string &name) |
| virtual Bool_t | CheckIfSensitive (std::string name) |
| virtual std::map< Int_t, Int_t > | GetMap () |
Private Member Functions | |
| CbmMvdPoint * | AddHit (Int_t trackID, Int_t pdg, Int_t sensorNr, TVector3 posIn, TVector3 pos_out, TVector3 momIn, TVector3 momOut, Double_t time, Double_t length, Double_t eLoss) |
| void | ResetParameters () |
| CbmMvd (const CbmMvd &) | |
| CbmMvd & | operator= (const CbmMvd &) |
| ClassDef (CbmMvd, 1) | |
Private Attributes | |
| Int_t | fTrackID |
| Int_t | fPdg |
| track index | |
| Int_t | fVolumeID |
| track particle type | |
| TLorentzVector | fPosIn |
| volume id | |
| TLorentzVector | fPosOut |
| TLorentzVector | fMomIn |
| position | |
| TLorentzVector | fMomOut |
| Double32_t | fTime |
| momentum | |
| Double32_t | fLength |
| time | |
| Double32_t | fELoss |
| length | |
| Int_t | fPosIndex |
| energy loss | |
| TClonesArray * | fCollection |
| Bool_t | kGeoSaved |
| The hit collection. | |
| TList * | fGeoPar |
| std::map< Int_t, Int_t > | fStationMap |
| List of geometry parameters. | |
| Int_t | fGeoFlag |
| Map from MC volume ID to station number. | |
| CbmMvdGeoHandler * | fmvdHandler |
| CbmMvd::CbmMvd | ( | ) |
Default constructor
Definition at line 29 of file CbmMvd.cxx.
References fCollection, fELoss, fGeoFlag, fGeoPar, fLength, fMomIn, fMomOut, fmvdHandler, fPdg, fPosIn, fPosIndex, fPosOut, fStationMap, fTime, fTrackID, fVolumeID, kGeoSaved, kMvd, ResetParameters(), and ToIntegralType().
Referenced by CbmMvd(), ClassDef(), and operator=().
| CbmMvd::CbmMvd | ( | const char * | name, |
| Bool_t | active ) |
Standard constructor.
| name | detetcor name |
| active | sensitivity flag |
Definition at line 59 of file CbmMvd.cxx.
References fCollection, fELoss, fGeoFlag, fGeoPar, fLength, fMomIn, fMomOut, fmvdHandler, fPdg, fPosIn, fPosIndex, fPosOut, fStationMap, fTime, fTrackID, fVolumeID, kGeoSaved, kMvd, and ToIntegralType().
|
virtual |
|
private |
Private method AddHit
Adds a MvdPoint to the HitCollection
Definition at line 265 of file CbmMvd.cxx.
References fCollection, and size().
Referenced by ProcessHits().
|
virtual |
Virtual method BeginEvent
Definition at line 151 of file CbmMvd.cxx.
|
virtual |
Definition at line 294 of file CbmMvd.cxx.
References IsSensitive().
|
virtual |
Definition at line 241 of file CbmMvd.cxx.
|
virtual |
Virtual method Construct geometry
Constructs the MVD geometry
Definition at line 219 of file CbmMvd.cxx.
References ConstructRootGeometry(), and fGeoFlag.
|
virtual |
Definition at line 246 of file CbmMvd.cxx.
References fGeoFlag, fmvdHandler, and fStationMap.
Referenced by ConstructGeometry().
|
virtual |
Virtual method CopyClones
Copies the hit collection with a given track index offset
| cl1 | Origin |
| cl2 | Target |
| offset | Index offset |
Definition at line 201 of file CbmMvd.cxx.
References fPosIndex.
|
virtual |
Virtual method EndOfEvent
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
Definition at line 156 of file CbmMvd.cxx.
References fCollection, Print(), and ResetParameters().
|
virtual |
Definition at line 130 of file CbmMvd.h.
References fStationMap.
|
virtual |
Definition at line 277 of file CbmMvd.cxx.
Referenced by CheckIfSensitive().
|
virtual |
Virtual method Print
Screen output of hit collection.
Definition at line 182 of file CbmMvd.cxx.
References fCollection.
Referenced by EndOfEvent().
|
virtual |
Virtual method ProcessHits
Defines the action to be taken when a step is inside the active volume. Creates a CbmMvdPoint and adds it to the collection.
| vol | Pointer to the active volume |
Definition at line 102 of file CbmMvd.cxx.
References AddHit(), CbmStack::AddPoint(), fELoss, fLength, fMomIn, fMomOut, fmvdHandler, fPdg, fPosIn, fPosOut, fStationMap, fTime, fTrackID, fVolumeID, kMvd, and ResetParameters().
|
virtual |
Virtual method Register
Registers the hit collection in the ROOT manager.
Definition at line 167 of file CbmMvd.cxx.
References fCollection.
|
virtual |
Virtual method Reset
Clears the hit collection
Definition at line 191 of file CbmMvd.cxx.
References fCollection, and ResetParameters().
|
inlineprivate |
|
private |
Definition at line 145 of file CbmMvd.h.
Referenced by AddHit(), CbmMvd(), CbmMvd(), EndOfEvent(), GetCollection(), Print(), Register(), Reset(), and ~CbmMvd().
|
private |
length
Definition at line 142 of file CbmMvd.h.
Referenced by CbmMvd(), CbmMvd(), ProcessHits(), and ResetParameters().
|
private |
Map from MC volume ID to station number.
Definition at line 149 of file CbmMvd.h.
Referenced by CbmMvd(), CbmMvd(), ConstructGeometry(), and ConstructRootGeometry().
|
private |
|
private |
time
Definition at line 141 of file CbmMvd.h.
Referenced by CbmMvd(), CbmMvd(), ProcessHits(), and ResetParameters().
|
private |
position
Definition at line 139 of file CbmMvd.h.
Referenced by CbmMvd(), CbmMvd(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 139 of file CbmMvd.h.
Referenced by CbmMvd(), CbmMvd(), ProcessHits(), and ResetParameters().
|
private |
Definition at line 151 of file CbmMvd.h.
Referenced by CbmMvd(), CbmMvd(), ConstructRootGeometry(), and ProcessHits().
|
private |
track index
Definition at line 136 of file CbmMvd.h.
Referenced by CbmMvd(), CbmMvd(), and ProcessHits().
|
private |
volume id
Definition at line 138 of file CbmMvd.h.
Referenced by CbmMvd(), CbmMvd(), ProcessHits(), and ResetParameters().
|
private |
energy loss
Definition at line 144 of file CbmMvd.h.
Referenced by CbmMvd(), CbmMvd(), CopyClones(), and ResetParameters().
|
private |
Definition at line 138 of file CbmMvd.h.
Referenced by CbmMvd(), CbmMvd(), ProcessHits(), and ResetParameters().
List of geometry parameters.
Definition at line 148 of file CbmMvd.h.
Referenced by CbmMvd(), CbmMvd(), ConstructRootGeometry(), GetMap(), and ProcessHits().
|
private |
momentum
Definition at line 140 of file CbmMvd.h.
Referenced by CbmMvd(), CbmMvd(), ProcessHits(), and ResetParameters().
|
private |
Track information to be stored until the track leaves the active volume.
Definition at line 135 of file CbmMvd.h.
Referenced by CbmMvd(), CbmMvd(), ProcessHits(), and ResetParameters().
|
private |
track particle type
Definition at line 137 of file CbmMvd.h.
Referenced by CbmMvd(), CbmMvd(), ProcessHits(), and ResetParameters().
|
private |