er  dev
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
ERTarget Class Reference
Inheritance diagram for ERTarget:
Inheritance graph
[legend]
Collaboration diagram for ERTarget:
Collaboration graph
[legend]

Public Member Functions

 ERTarget ()
 The point collection //fix. More...
 
 ERTarget (const char *name, Bool_t active, Int_t verbose)
 
virtual ~ERTarget ()
 
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 *option="") const
 
virtual void Reset ()
 
virtual void CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
 
virtual void ConstructGeometry ()
 
virtual void Initialize ()
 
virtual Bool_t CheckIfSensitive (std::string name)
 
void SetGeomVersion (Int_t vers)
 
 ClassDef (ERTarget, 1)
 
- Public Member Functions inherited from ERDetector
 ERDetector ()
 Default constructor.
 
 ERDetector (const char *Name, Bool_t Active, Int_t DetId=0)
 
void AddSensetive (TString name)
 Add sensetive volume name. Create new points collection.
 

Static Public Member Functions

static Double_t Thickness ()
 

Private Attributes

Int_t fVersion
 
TClonesArray * fTargetPoints
 

Static Private Attributes

static Double_t fThickness = 2.
 

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

Definition at line 10 of file ERTarget.h.

Constructor & Destructor Documentation

ERTarget::ERTarget ( )

The point collection //fix.

Default constructor

Definition at line 26 of file ERTarget.cxx.

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

Standard constructor.

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

Definition at line 31 of file ERTarget.cxx.

ERTarget::~ERTarget ( )
virtual

Destructor

Definition at line 36 of file ERTarget.cxx.

Member Function Documentation

void ERTarget::BeginEvent ( )
virtual

Virtual method BeginEvent

Definition at line 63 of file ERTarget.cxx.

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

Virtaul method CheckIfSensitive Check whether a volume is sensitive.

Parameters

Reimplemented from ERDetector.

Definition at line 111 of file ERTarget.cxx.

void ERTarget::ConstructGeometry ( void  )
virtual

Virtaul method Construct geometry

Constructs the ERTarget geometry

Reimplemented from ERDetector.

Definition at line 94 of file ERTarget.cxx.

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

Virtual method CopyClones

Copies the hit collection with a given track index offset

Parameters
cl1Origin
cl2Target
offsetIndex offset

Reimplemented from ERDetector.

Definition at line 90 of file ERTarget.cxx.

void ERTarget::EndOfEvent ( )
virtual

Virtual method EndOfEvent

If verbosity level is set, print point collection at the end of the event.

Reimplemented from ERDetector.

Definition at line 67 of file ERTarget.cxx.

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

Accessor to the point collection

Reimplemented from ERDetector.

Definition at line 75 of file ERTarget.cxx.

void ERTarget::Initialize ( )
virtual

Virtaul method Initialize

Initialize ERTarget data

Reimplemented from ERDetector.

Definition at line 106 of file ERTarget.cxx.

void ERTarget::Print ( Option_t *  option = "") const
virtual

Virtual method Print

Screen output of hit collection.

Reimplemented from ERDetector.

Definition at line 82 of file ERTarget.cxx.

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

Virtual method ProcessHits

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

Parameters
volPointer to the active volume

Reimplemented from ERDetector.

Definition at line 41 of file ERTarget.cxx.

void ERTarget::Register ( )
virtual

Virtual method Register

Registers the point collection in the ROOT manager.

Reimplemented from ERDetector.

Definition at line 71 of file ERTarget.cxx.

void ERTarget::Reset ( )
virtual

Virtual method Reset

Clears the point collection

Reimplemented from ERDetector.

Definition at line 86 of file ERTarget.cxx.

void ERTarget::SetGeomVersion ( Int_t  vers)
inline

Virtaul method SetGeomVersion

Definition at line 112 of file ERTarget.h.


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