Go to the documentation of this file.
14 #include "FairDetector.h"
17 #include "TGeoMatrix.h"
20 #include <TClonesArray.h>
23 class CbmRichRefPlanePoint;
25 class CbmRichMirrorPoint;
111 virtual void Print(Option_t*)
const;
117 virtual void Reset();
126 virtual void CopyClones(TClonesArray* cl1, TClonesArray* cl2, Int_t offset);
188 static std::map<TString, TGeoMedium*>
virtual void Initialize()
Initialize detector. Stores volume IDs for RICH detector and mirror.
virtual TClonesArray * GetCollection(Int_t iColl) const
Return hit collection.
virtual Bool_t ProcessHits(FairVolume *vol=0)
Defines the action to be taken when a step is inside the active volume. Creates CbmRichPoints and Cbm...
TClonesArray * fRichRefPlanePoints
Defines the active detector RICH. Constructs the geometry and creates MCPoints.
TClonesArray * fRichPoints
virtual void CopyClones(TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
Copies the hit collection with a given track index offset.
CbmRichPoint * AddRefPlaneHit(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t time, Double_t length, Double_t eLoss)
Adds a RichRefPlanePoint to the TClonesArray.
CbmRichPoint * AddHit(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t time, Double_t length, Double_t eLoss)
Adds a RichPoint to the TClonesArray.
virtual void Reset()
Clears the hit collection.
static std::map< TString, TGeoMedium * > fFixedMedia
void ExpandNodeForGdml(TGeoNode *node)
Assign materials by taking description from medoa.geo and not from GDML for a certain node.
virtual Bool_t CheckIfSensitive(std::string name)
TClonesArray * fRichMirrorPoints
virtual void Print(Option_t *) const
Screen output of hit collection.
virtual void EndOfEvent()
If verbosity level is set, print hit collection at the end of the event and resets it afterwards.
void SetRichGlassPropertiesForGeant4()
Set Cherenkov propeties for RICH mirror.
void SetRegisterPhotonsOnSensitivePlane(Bool_t b)
CbmRich(const CbmRich &)
Copy constructor.
CbmRich & operator=(const CbmRich &)
Assignment operator.
Bool_t fRegisterPhotonsOnSensitivePlane
void ConstructGdmlGeometry(TGeoMatrix *geoMatrix)
Construct geometry from GDML file.
virtual void ConstructGeometry()
Construct geometry. Currently ROOT and ASCII formats are supported. The concrete method for geometry ...
TGeoCombiTrans * fPositionRotation
virtual ~CbmRich()
Destructor.
virtual void Register()
Registers the hit collection in the ROOT manager.
CbmRich()
Default constructor.
CbmRichPoint * AddMirrorHit(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t time, Double_t length, Double_t eLoss)
Adds a RichMirrorPoint to the TClonesArray.
void ConstructOpGeometry()
Put some optical properties.