er  dev
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ERGadast Class Reference

Class for the MC transport of the Gadast. More...

#include <ERGadast.h>

Inheritance diagram for ERGadast:
Inheritance graph
[legend]
Collaboration diagram for ERGadast:
Collaboration graph
[legend]

Public Member Functions

 ERGadast ()
 Default constructor.
 
 ERGadast (const char *name, Bool_t active, Int_t verbose)
 Standard constructor. More...
 
virtual ~ERGadast ()
 Destructor.
 
void SetStoreSteps ()
 Method for switch on storing of all geant steps in sensetive volume. It is necessary to determine geant4 processes in sensetive volume.
 
virtual TClonesArray * GetCollection (Int_t iColl) const
 Get array of ERGadastPoint. More...
 
virtual void Initialize ()
 Initialisation class method FairDetector::Initialize() is called. GadastGeoPar init from RuntimeDB Virtual from FairDetector.
 
virtual void Register ()
 Register output array (NeuRadPoint) to the I/O manager Abstract from FairDetector.
 
virtual Bool_t ProcessHits (FairVolume *vol=0)
 Virtual method Defines the action to be taken when a step is inside the active volume. Creates a ERGadastPoint and adds it to the collection. More...
 
virtual void EndOfEvent ()
 Action at end of event Short status log and Reset(). Virtual from FairDetector.
 
virtual void Print (Option_t *option="") const
 Screen log Prints GadastPoint information Virtual from TObject.
 
virtual void Reset ()
 Clears the point and steps collections Virtual from FairDetector.
 
virtual void CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
 Copies the points collection with a given track index offset. More...
 
virtual Bool_t CheckIfSensitive (std::string name)
 Check whether a volume is sensitive. More...
 
- Public Member Functions inherited from ERDetector
 ERDetector ()
 Default constructor.
 
 ERDetector (const char *Name, Bool_t Active, Int_t DetId=0)
 
virtual void ConstructGeometry ()
 
void AddSensetive (TString name)
 Add sensetive volume name. Create new points collection.
 

Private Member Functions

ERGadastCsIPointAddCsIPoint ()
 Adds a GadastCsIPoint to the Point Collection.
 
ERGadastLaBrPointAddLaBrPoint ()
 Adds a GadastLaBrPoint to the Point Collection.
 
ERGadastStepAddStep ()
 Adds a GadastStep to the Step Collection.
 
void StartPoint ()
 Start new point creation. Reinit current point data.
 
void FinishPoint ()
 Finish point creation. Call AddCsIPoint() or AddLaBrPoint()
 
 ClassDef (ERGadast, 1)
 

Private Attributes

TClonesArray * fCsIPoints
 The CsI point collection.
 
TClonesArray * fLaBrPoints
 The LaBr point collection.
 
TClonesArray * fGadastSteps
 The all steps collection.
 
Bool_t fStoreSteps
 Flag to storing all steps in sensetive volume.
 
Int_t fEventID
 event index
 
Int_t fTrackID
 track index
 
Int_t fMot0TrackID
 0th mother track index
 
Double_t fMass
 mass
 
TVector3 fPosIn
 point start position
 
TVector3 fPosOut
 point finish position
 
TVector3 fMomIn
 point start momentum
 
TVector3 fMomOut
 point finish momentum
 
Double32_t fTime
 point start time
 
Double32_t fLength
 track length from his origin
 
Double32_t fELoss
 energy loss
 
Int_t fPDG
 particle PDG
 
Int_t fStepNr
 current step numb in this active volumes
 
SensetiveType fDetectorType
 CsI or LaBr point.
 
Int_t fCsIWall
 CsI Wall number.
 
Int_t fCsIBlock
 CsI Block number.
 
Int_t fCsICell
 CsI Cell number.
 
Int_t fLaBrCell
 laBr Cell number
 

Additional Inherited Members

- Protected Attributes inherited from ERDetector
std::map< TString, TClonesArray * > fSenVolumes
 
std::vector< TString > fSenNames
 Sensetive volumes sustring, that user set.
 
Int_t fVerbose
 Verbosity level.
 
Float_t fFullEnergy
 Sum Edep in event in sensetive volume.
 
Float_t fFullLY
 Sum Light Yield in event in sensetive volume.
 
Int_t fEventID
 event index
 
Int_t fTrackID
 track index
 
Int_t fMot0TrackID
 0th mother track index
 
Double_t fMass
 mass
 
TLorentzVector fPosIn
 point start position
 
TLorentzVector fPosOut
 point finish position
 
TLorentzVector fCurPosIn
 current step position
 
TVector3 fPosInLocal
 point position in sensetive volume CS
 
TLorentzVector fMomIn
 point start momentum
 
TLorentzVector fMomOut
 point start momentum
 
TLorentzVector fCurMomIn
 current step momentum
 
Double32_t fTimeIn
 point start time
 
Double32_t fTimeOut
 point finish time
 
Double32_t fTrackLength
 track length from his origin
 
Double32_t fELoss
 energy loss
 
Double_t fLightYield
 light yield
 
Int_t fVolNb
 number of fiber in pixel
 
ExpertTrackingStatus fTrackStatus
 curren track stutus (transport, stop, disappeared, ...)
 
TArrayI fProcessesID
 VMC prcess IDs in step.
 

Detailed Description

Class for the MC transport of the Gadast.

Author
V.Schetinin sch_v.nosp@m.ital.nosp@m.iy@ma.nosp@m.il.r.nosp@m.u
Version
1.0

The ERGadast defines the behaviour of the Gadast system during transport simulation. It constructs the Gadast transport geometry and creates objects of type ERGadastPoins and ERGadastSteps if requested.

Definition at line 33 of file ERGadast.h.

Constructor & Destructor Documentation

ERGadast::ERGadast ( const char *  name,
Bool_t  active,
Int_t  verbose 
)

Standard constructor.

Parameters
nameERNeuRad detector name
activesensitivity flag
verboseVerbosity level. 1 - only standart logs, 2 - Print points after each event, 3 - GEANT Step information.

Definition at line 37 of file ERGadast.cxx.

Member Function Documentation

Bool_t ERGadast::CheckIfSensitive ( std::string  name)
virtual

Check whether a volume is sensitive.

Parameters
nameVolume name kTRUE if volume is sensitive, else kFALSE The decision is based on the volume name (has to contain "LaBrcell_cell" for LaBrPoint, "onecell_cell" for CsI Point). Virtual from FairModule.

Reimplemented from ERDetector.

Definition at line 263 of file ERGadast.cxx.

void ERGadast::CopyClones ( TClonesArray *  cl1,
TClonesArray *  cl2,
Int_t  offset 
)
virtual

Copies the points collection with a given track index offset.

Parameters
cl1Origin
cl2Target
offsetIndex offset Virtual from FairDetector

Reimplemented from ERDetector.

Definition at line 199 of file ERGadast.cxx.

TClonesArray * ERGadast::GetCollection ( Int_t  iColl) const
virtual

Get array of ERGadastPoint.

Parameters
iCollnumber of point collection
Returns
Pointer to ERGadastPoint array. NULL if iColl > 0.

Abstract from FairDetector.

Reimplemented from ERDetector.

Definition at line 164 of file ERGadast.cxx.

Bool_t ERGadast::ProcessHits ( FairVolume *  vol = 0)
virtual

Virtual method Defines the action to be taken when a step is inside the active volume. Creates a ERGadastPoint and adds it to the collection.

Parameters
volPointer to the active volume Virtual from FairDetector.

Reimplemented from ERDetector.

Definition at line 73 of file ERGadast.cxx.


The documentation for this class was generated from the following files: