PandaRoot
CbmPlane Class Reference

#include <CbmPlane.h>

Inheritance diagram for CbmPlane:

Public Member Functions

 CbmPlane ()
 
 CbmPlane (const char *name, Bool_t active)
 
virtual ~CbmPlane ()
 
virtual void Initialize ()
 
virtual Bool_t ProcessHits (FairVolume *vol=0)
 
virtual void EndOfEvent ()
 
virtual void BeginEvent ()
 
virtual void Register ()
 
virtual TClonesArray * GetCollection (Int_t iColl) const
 
virtual void Print () const
 
virtual void Reset ()
 
virtual void CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset)
 
virtual void ConstructGeometry ()
 
CbmPlanePointAddHit1 (Int_t trackID, Int_t detID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t time, Double_t length, Double_t eLoss, Double_t charge, Double_t mass, Bool_t preflag, Bool_t postflag, TString nam, Int_t evt)
 
CbmPlanePointAddHit2 (Int_t trackID, Int_t detID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t time, Double_t length, Double_t eLoss, Double_t charge, Double_t mass, Bool_t preflag, Bool_t postflag, TString nam, Int_t evt)
 
CbmPlanePointAddHit3 (Int_t trackID, Int_t detID, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t time, Double_t length, Double_t eLoss, Double_t charge, Double_t mass, Bool_t preflag, Bool_t postflag, TString nam, Int_t evt)
 
void plane ()
 

Detailed Description

Definition at line 14 of file CbmPlane.h.

Constructor & Destructor Documentation

◆ CbmPlane() [1/2]

CbmPlane::CbmPlane ( )

Default constructor

◆ CbmPlane() [2/2]

CbmPlane::CbmPlane ( const char *  name,
Bool_t  active 
)

Standard constructor.

Parameters
namedetetcor name
activesensitivity flag

◆ ~CbmPlane()

virtual CbmPlane::~CbmPlane ( )
virtual

Destructor

Member Function Documentation

◆ AddHit1()

CbmPlanePoint* CbmPlane::AddHit1 ( Int_t  trackID,
Int_t  detID,
TVector3  posIn,
TVector3  posOut,
TVector3  momIn,
TVector3  momOut,
Double_t  time,
Double_t  length,
Double_t  eLoss,
Double_t  charge,
Double_t  mass,
Bool_t  preflag,
Bool_t  postflag,
TString  nam,
Int_t  evt 
)

◆ AddHit2()

CbmPlanePoint* CbmPlane::AddHit2 ( Int_t  trackID,
Int_t  detID,
TVector3  posIn,
TVector3  posOut,
TVector3  momIn,
TVector3  momOut,
Double_t  time,
Double_t  length,
Double_t  eLoss,
Double_t  charge,
Double_t  mass,
Bool_t  preflag,
Bool_t  postflag,
TString  nam,
Int_t  evt 
)

◆ AddHit3()

CbmPlanePoint* CbmPlane::AddHit3 ( Int_t  trackID,
Int_t  detID,
TVector3  posIn,
TVector3  posOut,
TVector3  momIn,
TVector3  momOut,
Double_t  time,
Double_t  length,
Double_t  eLoss,
Double_t  charge,
Double_t  mass,
Bool_t  preflag,
Bool_t  postflag,
TString  nam,
Int_t  evt 
)

◆ BeginEvent()

virtual void CbmPlane::BeginEvent ( )
virtual

◆ ConstructGeometry()

virtual void CbmPlane::ConstructGeometry ( )
virtual

Virtual method Construct geometry

◆ CopyClones()

virtual void CbmPlane::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

◆ EndOfEvent()

virtual void CbmPlane::EndOfEvent ( )
virtual

Virtual method EndOfEvent

If verbosity level is set, print hit collection at the end of the event and resets it afterwards.

◆ GetCollection()

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

Accessor to the hit collection

◆ Initialize()

virtual void CbmPlane::Initialize ( )
virtual

Virtual method Initialize Initialises detector. Stores volume IDs for Plane detector and mirror.

◆ plane()

void CbmPlane::plane ( )

◆ Print()

virtual void CbmPlane::Print ( ) const
virtual

Virtual method Print

Screen output of hit collection.

◆ ProcessHits()

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

Virtual method ProcessHits

Defines the action to be taken when a step is inside the active volume. Creates CbmPlanePoints and CbmPlaneMirrorPoints and adds them to the collections.

Parameters
volPointer to the active volume

◆ Register()

virtual void CbmPlane::Register ( )
virtual

Virtual method Register

Registers the hit collection in the ROOT manager.

◆ Reset()

virtual void CbmPlane::Reset ( )
virtual

Virtual method Reset

Clears the hit collection


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