PandaRoot
PndHypGe Class Reference

#include <PndHypGe.h>

Inheritance diagram for PndHypGe:

Public Member Functions

 PndHypGe ()
 
 PndHypGe (const char *name, Bool_t active)
 
virtual ~PndHypGe ()
 
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 ConstructHPGeGeometry ()
 
PndHypGePointAddHit (Int_t trackID, Int_t evtID, Int_t pdgCode, Int_t charge, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Short_t copy)
 
PndHypGePointAddGeAlHit (Int_t trackID, Int_t evtID, Int_t pdgCode, Int_t charge, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Short_t copy)
 
void SetDisIP (Double_t dist)
 
void SetPathGeo (TString pgeo)
 

Detailed Description

Definition at line 23 of file PndHypGe.h.

Constructor & Destructor Documentation

◆ PndHypGe() [1/2]

PndHypGe::PndHypGe ( )

Default constructor

◆ PndHypGe() [2/2]

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

Standard constructor.

Parameters
namedetetcor name
activesensitivity flag

◆ ~PndHypGe()

virtual PndHypGe::~PndHypGe ( )
virtual

Destructor

Member Function Documentation

◆ AddGeAlHit()

PndHypGePoint* PndHypGe::AddGeAlHit ( Int_t  trackID,
Int_t  evtID,
Int_t  pdgCode,
Int_t  charge,
TVector3  pos,
TVector3  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Short_t  copy 
)

◆ AddHit()

PndHypGePoint* PndHypGe::AddHit ( Int_t  trackID,
Int_t  evtID,
Int_t  pdgCode,
Int_t  charge,
TVector3  pos,
TVector3  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Short_t  copy 
)

◆ BeginEvent()

virtual void PndHypGe::BeginEvent ( )
virtual

◆ ConstructGeometry()

virtual void PndHypGe::ConstructGeometry ( )
virtual

Virtual method Construct geometry

◆ ConstructHPGeGeometry()

void PndHypGe::ConstructHPGeGeometry ( )

◆ CopyClones()

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

Accessor to the hit collection

◆ Initialize()

virtual void PndHypGe::Initialize ( )
virtual

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

◆ Print()

virtual void PndHypGe::Print ( ) const
virtual

Virtual method Print

Screen output of hit collection.

◆ ProcessHits()

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

Virtual method ProcessHits

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

Parameters
volPointer to the active volume

◆ Register()

virtual void PndHypGe::Register ( )
virtual

Virtual method Register

Registers the hit collection in the ROOT manager.

◆ Reset()

virtual void PndHypGe::Reset ( )
virtual

Virtual method Reset

Clears the hit collection

◆ SetDisIP()

void PndHypGe::SetDisIP ( Double_t  dist)
inline

Setting distance to interaction point

Definition at line 104 of file PndHypGe.h.

105  {
106  fdist = dist; // cm
107  }

◆ SetPathGeo()

void PndHypGe::SetPathGeo ( TString  pgeo)
inline

Definition at line 109 of file PndHypGe.h.

109 { fPathGeo = pgeo.Data(); }

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