PandaRoot
PndSciT Class Reference

#include <PndSciT.h>

Inheritance diagram for PndSciT:

Public Member Functions

 PndSciT ()
 
 PndSciT (const char *name, Bool_t active)
 
virtual ~PndSciT ()
 
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 SetThreshold (Double_t val)
 
PndSciTPointAddHit (Int_t eventID, Int_t trackID, Int_t sensorID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof, Double_t length, Double_t eLoss)
 

Detailed Description

Definition at line 27 of file PndSciT.h.

Constructor & Destructor Documentation

◆ PndSciT() [1/2]

PndSciT::PndSciT ( )

Default constructor

◆ PndSciT() [2/2]

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

Standard constructor.

Parameters
namedetetcor name
activesensitivity flag

◆ ~PndSciT()

virtual PndSciT::~PndSciT ( )
virtual

Destructor

Member Function Documentation

◆ AddHit()

PndSciTPoint* PndSciT::AddHit ( Int_t  eventID,
Int_t  trackID,
Int_t  sensorID,
TString  detName,
TVector3  posin,
TVector3  momin,
TVector3  posout,
TVector3  momout,
Double_t  tof,
Double_t  length,
Double_t  eLoss 
)

Referenced by SetThreshold().

◆ BeginEvent()

virtual void PndSciT::BeginEvent ( )
virtual

◆ ConstructGeometry()

virtual void PndSciT::ConstructGeometry ( )
virtual

Virtual method Construct geometry

◆ CopyClones()

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

Accessor to the hit collection

◆ Initialize()

virtual void PndSciT::Initialize ( )
virtual

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

◆ Print()

virtual void PndSciT::Print ( ) const
virtual

Virtual method Print

Screen output of hit collection.

◆ ProcessHits()

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

Virtual method ProcessHits

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

Parameters
volPointer to the active volume

◆ Register()

virtual void PndSciT::Register ( )
virtual

Virtual method Register

Registers the hit collection in the ROOT manager.

◆ Reset()

virtual void PndSciT::Reset ( )
virtual

Virtual method Reset

Clears the hit collection

◆ SetThreshold()

void PndSciT::SetThreshold ( Double_t  val)
inline

Definition at line 101 of file PndSciT.h.

References AddHit().

101 { fThreshold = val; }; // default value is 0.0001 GeV

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