PandaRoot
PndFtof Class Reference

#include <PndFtof.h>

Inheritance diagram for PndFtof:

Public Member Functions

 PndFtof ()
 
 PndFtof (const char *name, Bool_t active)
 
virtual ~PndFtof ()
 
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 ()
 
void ConstructASCIIGeometry ()
 
PndFtofPointAddHit (Int_t trackID, Int_t evtID, Int_t detID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof, Double_t length, Double_t eLoss, Double_t charge, Double_t mass, Int_t pdgCode, Double_t dist, Double_t PLin, Double_t PLout)
 

Detailed Description

Definition at line 21 of file PndFtof.h.

Constructor & Destructor Documentation

◆ PndFtof() [1/2]

PndFtof::PndFtof ( )

Default constructor

◆ PndFtof() [2/2]

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

Standard constructor.

Parameters
namedetetcor name
activesensitivity flag

◆ ~PndFtof()

virtual PndFtof::~PndFtof ( )
virtual

Destructor

Member Function Documentation

◆ AddHit()

PndFtofPoint* PndFtof::AddHit ( Int_t  trackID,
Int_t  evtID,
Int_t  detID,
TString  detName,
TVector3  posin,
TVector3  momin,
TVector3  posout,
TVector3  momout,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Double_t  charge,
Double_t  mass,
Int_t  pdgCode,
Double_t  dist,
Double_t  PLin,
Double_t  PLout 
)

◆ BeginEvent()

virtual void PndFtof::BeginEvent ( )
virtual

◆ ConstructASCIIGeometry()

void PndFtof::ConstructASCIIGeometry ( )

◆ ConstructGeometry()

virtual void PndFtof::ConstructGeometry ( )
virtual

Virtual method Construct geometry

◆ CopyClones()

virtual void PndFtof::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 PndFtof::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* PndFtof::GetCollection ( Int_t  iColl) const
virtual

Accessor to the hit collection

◆ Initialize()

virtual void PndFtof::Initialize ( )
virtual

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

◆ Print()

virtual void PndFtof::Print ( ) const
virtual

Virtual method Print

Screen output of hit collection.

◆ ProcessHits()

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

Virtual method ProcessHits

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

Parameters
volPointer to the active volume

◆ Register()

virtual void PndFtof::Register ( )
virtual

Virtual method Register

Registers the hit collection in the ROOT manager.

◆ Reset()

virtual void PndFtof::Reset ( )
virtual

Virtual method Reset

Clears the hit collection


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