14#include "FairDetector.h"
15#include "FairRootManager.h"
16#include "FairVolume.h"
18#include "TClonesArray.h"
20#include "TGeoCombiTrans.h"
44 BmnSsdMC(Bool_t active = kTRUE,
const char* name =
"SSDMC");
59 return ( TString(name).Contains(
"Sensor") ? kTRUE : kFALSE );
93 return ( iColl ? NULL : fSsdPoints );
100 virtual void Print(Option_t* opt =
"")
const;
121 FairRootManager::Instance()->Register(
"SsdPoint", GetName(), fSsdPoints, kTRUE);
136 fProcessNeutrals = choice;
143 virtual void Reset();
153 std::map<TString, Int_t> fAddressMap;
154 TClonesArray* fSsdPoints;
156 TGeoCombiTrans* fCombiTrans;
157 Bool_t fProcessNeutrals;
178 Bool_t IsNewGeometryFile(TString filename);
Class for the MC transport of the BMN-SSD.
virtual void EndOfEvent()
Action at end of event.
void ProcessNeutrals(Bool_t choice=kTRUE)
Create SsdPoints also for neutral particles.
void ExpandSsdNodes(TGeoNode *fN)
virtual Bool_t ProcessHits(FairVolume *vol=0)
Action for a track step in a sensitive node of the SSD.
virtual void ConstructGeometry()
Construct the SSD geometry in the TGeoManager.
virtual Bool_t CheckIfSensitive(std::string name)
Check whether a volume is sensitive.
virtual void Print(Option_t *opt="") const
Screen log Prints current number of SsdPoints in array. Virtual from TObject.
virtual TClonesArray * GetCollection(Int_t iColl) const
Get array of BmnSsdPoints.
virtual void Register()
Register output array (SsdPoint) to the I/O manager.
virtual void Reset()
Clear output array and reset current track status.
virtual void Initialize()
Initialisation.
virtual void ConstructRootGeometry()
Class representing the top level of the SSD setup.
Stores status of track during transport. Auxiliary for BmnSsd.