PandaRoot
PndEmcApd Class Reference

#include <PndEmcApd.h>

Inheritance diagram for PndEmcApd:

Public Member Functions

 PndEmcApd ()
 
 PndEmcApd (const char *name, Bool_t active)
 
virtual ~PndEmcApd ()
 
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 ()
 
PndEmcApdPointAddHit (Int_t trackID, Int_t detID, Int_t evtID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Short_t mod, Short_t row, Short_t crys, Short_t copy, Short_t flag)
 

Detailed Description

Definition at line 19 of file PndEmcApd.h.

Constructor & Destructor Documentation

◆ PndEmcApd() [1/2]

PndEmcApd::PndEmcApd ( )

Default constructor

◆ PndEmcApd() [2/2]

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

Standard constructor.

Parameters
namedetetcor name
activesensitivity flag

◆ ~PndEmcApd()

virtual PndEmcApd::~PndEmcApd ( )
virtual

Destructor

Member Function Documentation

◆ AddHit()

PndEmcApdPoint* PndEmcApd::AddHit ( Int_t  trackID,
Int_t  detID,
Int_t  evtID,
TVector3  pos,
TVector3  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Short_t  mod,
Short_t  row,
Short_t  crys,
Short_t  copy,
Short_t  flag 
)

◆ BeginEvent()

virtual void PndEmcApd::BeginEvent ( )
virtual

◆ ConstructASCIIGeometry()

void PndEmcApd::ConstructASCIIGeometry ( )

◆ ConstructGeometry()

virtual void PndEmcApd::ConstructGeometry ( )
virtual

Virtual method Construct geometry

◆ CopyClones()

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

Accessor to the hit collection

◆ Initialize()

virtual void PndEmcApd::Initialize ( )
virtual

Virtual method Initialize Initialises detector.

◆ Print()

virtual void PndEmcApd::Print ( ) const
virtual

Virtual method Print

Screen output of hit collection.

◆ ProcessHits()

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

Virtual method ProcessHits

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

Parameters
volPointer to the active volume

◆ Register()

virtual void PndEmcApd::Register ( )
virtual

Virtual method Register

Registers the hit collection in the ROOT manager.

◆ Reset()

virtual void PndEmcApd::Reset ( )
virtual

Virtual method Reset

Clears the hit collection


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