PandaRoot
PndHyp Class Reference

#include <PndHyp.h>

Inheritance diagram for PndHyp:

Public Member Functions

 PndHyp ()
 
 PndHyp (const char *name, Bool_t active)
 
virtual ~PndHyp ()
 
virtual void Initialize ()
 
virtual Bool_t ProcessHits (FairVolume *vol=0)
 
virtual void SetSpecialPhysicsCuts ()
 
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 ()
 
virtual void FinishRun ()
 
PndHypPointAddHit (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)
 
PndHypPointAddSecTarHit (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)
 
PndHypPointAddSTMatBudHit (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)
 
void PreTrack ()
 
void SetHypSDtoFile (bool onf, bool val)
 
void SetHypGamFEm (bool gam)
 
void SetMatbud (bool mbud)
 
void SetTreeFName (const Char_t *Name)
 
void SetSensorVol (TString VolSi)
 
void SetAbsorberVol (TString VolAb)
 
void SetStartEvID (Int_t EvID=0)
 
void SetGeoVersion (TString vers="standard")
 
void SetAbsMat (TString abmat="HYPdiamond")
 
void SetBPipeMat (TString bpmat="HYPcarbon")
 
void SetListMat (TString mat="carbon")
 

Detailed Description

Definition at line 28 of file PndHyp.h.

Constructor & Destructor Documentation

◆ PndHyp() [1/2]

PndHyp::PndHyp ( )

Default constructor

◆ PndHyp() [2/2]

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

Standard constructor.

Parameters
namedetetcor name
activesensitivity flag

◆ ~PndHyp()

virtual PndHyp::~PndHyp ( )
virtual

Destructor

Member Function Documentation

◆ AddHit()

PndHypPoint* PndHyp::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 
)

◆ AddSecTarHit()

PndHypPoint* PndHyp::AddSecTarHit ( 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 
)

◆ AddSTMatBudHit()

PndHypPoint* PndHyp::AddSTMatBudHit ( 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 PndHyp::BeginEvent ( )
virtual

◆ ConstructGeometry()

virtual void PndHyp::ConstructGeometry ( )
virtual

Virtual method Construct geometry

◆ CopyClones()

virtual void PndHyp::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 PndHyp::EndOfEvent ( )
virtual

Virtual method EndOfEvent

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

◆ FinishRun()

virtual void PndHyp::FinishRun ( )
virtual

◆ GetCollection()

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

Accessor to the hit collection

◆ Initialize()

virtual void PndHyp::Initialize ( )
virtual

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

◆ PreTrack()

void PndHyp::PreTrack ( )

◆ Print()

virtual void PndHyp::Print ( ) const
virtual

Virtual method Print

Screen output of hit collection.

◆ ProcessHits()

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

Virtual method ProcessHits

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

Parameters
volPointer to the active volume

◆ Register()

virtual void PndHyp::Register ( )
virtual

Virtual method Register

Registers the hit collection in the ROOT manager.

◆ Reset()

virtual void PndHyp::Reset ( )
virtual

Virtual method Reset

Clears the hit collection

◆ SetAbsMat()

void PndHyp::SetAbsMat ( TString  abmat = "HYPdiamond")
inline

Definition at line 143 of file PndHyp.h.

143 { fAbsMat = abmat; }

◆ SetAbsorberVol()

void PndHyp::SetAbsorberVol ( TString  VolAb)
inline

Definition at line 133 of file PndHyp.h.

133 { fVolNamAb = VolAb.Data(); }

◆ SetBPipeMat()

void PndHyp::SetBPipeMat ( TString  bpmat = "HYPcarbon")
inline

Definition at line 145 of file PndHyp.h.

145 { fBPipeMat = bpmat; }

◆ SetGeoVersion()

void PndHyp::SetGeoVersion ( TString  vers = "standard")
inline

Definition at line 141 of file PndHyp.h.

141 { fVers = vers; }

◆ SetHypGamFEm()

void PndHyp::SetHypGamFEm ( bool  gam)
inline

Definition at line 126 of file PndHyp.h.

126 { fUseGamOption = gam; }

◆ SetHypSDtoFile()

void PndHyp::SetHypSDtoFile ( bool  onf,
bool  val 
)
inline

Definition at line 120 of file PndHyp.h.

121  {
122  fUseRAZHOption = onf; // **switch On/Off HypStatDecay**
123  fUseFileOption = val;
124  };

◆ SetListMat()

void PndHyp::SetListMat ( TString  mat = "carbon")
inline

Definition at line 147 of file PndHyp.h.

148  {
149  fListMat = kTRUE;
150  fListOfMaterials.push_back(mat.Data());
151  }

◆ SetMatbud()

void PndHyp::SetMatbud ( bool  mbud)
inline

Definition at line 128 of file PndHyp.h.

128 { fMatBud = mbud; }

◆ SetSensorVol()

void PndHyp::SetSensorVol ( TString  VolSi)
inline

Definition at line 132 of file PndHyp.h.

132 { fVolNamSi = VolSi.Data(); }

◆ SetSpecialPhysicsCuts()

virtual void PndHyp::SetSpecialPhysicsCuts ( )
virtual

◆ SetStartEvID()

void PndHyp::SetStartEvID ( Int_t  EvID = 0)
inline

Definition at line 135 of file PndHyp.h.

136  {
137  fStartEvID = EvID;
138  cout << " starting value for EvId " << fStartEvID << endl;
139  }

◆ SetTreeFName()

void PndHyp::SetTreeFName ( const Char_t *  Name)
inline

Definition at line 130 of file PndHyp.h.

130 { fFileName = Name; };

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