clas12root
Loading...
Searching...
No Matches
clas12::region_fdet Class Reference

#include <region_fdet.h>

Public Member Functions

 region_fdet (par_ptr pars, ftbpar_ptr ftbpars, covmat_ptr cm, cal_ptr calp, scint_ptr scp, trck_ptr trp, utrck_ptr utrp, traj_ptr trj, cher_ptr chp, ft_ptr ftp, event_ptr event, rich_ptr rich, mcpar_ptr mcp=nullptr)
 ~region_fdet () override=default
cal_ptr cal (ushort lay) const final
cher_ptr che (ushort lay) const final
double getDeltaEnergy () const final
double getDetEnergy () const final
double getPath () const final
short getSector () const final
double getTime () const final
rich_ptr rich () const final
scint_ptr sci (ushort lay) const final
bool sort () final
traj_ptr traj (ushort det, ushort layer=0) const final
trck_ptr trk (ushort lay) const final
utrck_ptr utrk (ushort lay) const final
Public Member Functions inherited from clas12::region_particle
 region_particle ()=default
 region_particle (par_ptr pars, ftbpar_ptr ftbpars, covmat_ptr cm, cal_ptr calp, scint_ptr scp, trck_ptr trp, utrck_ptr utrp, traj_ptr trj, cher_ptr chp, ft_ptr ftp, event_ptr event, rich_ptr rich, mcpar_ptr mcp=nullptr)
virtual ~region_particle ()=default
const CovMatrixcmat () const
covmat_ptr covmat () const
event_ptr event () const
virtual ft_ptr ft (ushort lay) const
ftbpar_ptr ftbpar () const
float getBeta () const
double getBetaFromP () const
double getCalcMass () const
float getChi2Pid () const
double getDeltaTime () const
double getGamma () const
short getIndex () const
double getMCPDiff () const
double getMCPhiDiff () const
double getMCThetaDiff () const
double getP () const
double getPdgMass () const
double getPhi () const
int getPid () const
double getPx () const
double getPy () const
double getPz () const
short getRegion () const
double getStartTime () const
int getStatus () const
double getTheta () const
float getVt () const
bool const & isAllowed () const
 Whether or not this region_particle is allowed.
mcpar_ptr mc () const
const par_ptr par () const
void useFTBPid ()

Additional Inherited Members

Protected Member Functions inherited from clas12::region_particle
bool const bankAllowsRow (int const &row, hipo::bank const *bank) const
Protected Attributes inherited from clas12::region_particle
bool _allowed {true}
bool _allowed_ftb {true}
cal_ptr _cal ={nullptr}
cher_ptr _cher ={nullptr}
covmat_ptr _covmat ={nullptr}
event_ptr _event ={nullptr}
ft_ptr _ft ={nullptr}
ftbpar_ptr _ftbparts ={nullptr}
mcpar_ptr _mcpart ={nullptr}
par_ptr _parts ={nullptr}
short _pcmat =-1
short _pentry =-1
short _pmc =-1
short _region =-1
rich_ptr _rich ={nullptr}
scint_ptr _scint ={nullptr}
traj_ptr _traj ={nullptr}
trck_ptr _trck ={nullptr}
short _useFTBPid =0
utrck_ptr _utrck ={nullptr}
Inheritance diagram for clas12::region_fdet:
Collaboration diagram for clas12::region_fdet:

Constructor & Destructor Documentation

◆ region_fdet()

clas12::region_fdet::region_fdet ( par_ptr pars,
ftbpar_ptr ftbpars,
covmat_ptr cm,
cal_ptr calp,
scint_ptr scp,
trck_ptr trp,
utrck_ptr utrp,
traj_ptr trj,
cher_ptr chp,
ft_ptr ftp,
event_ptr event,
rich_ptr rich,
mcpar_ptr mcp = nullptr )

Constructor used for event, give all detector banks to prevent crashes when looking for FT

◆ ~region_fdet()

clas12::region_fdet::~region_fdet ( )
overridedefault

Member Function Documentation

◆ cal()

cal_ptr clas12::region_fdet::cal ( ushort lay) const
finalvirtual

Get pointer to calorimeter banks for this particle This should be used directly to acess data e.g. p->cal(ECIN)->getEnergy(); p->cal(PCAL)->getTime();

Reimplemented from clas12::region_particle.

◆ che()

cher_ptr clas12::region_fdet::che ( ushort lay) const
finalvirtual

Get pointer to chrenkov banks for this particle This should be used directly to acess data e.g. p->che(HTCC)->getNphe(); p->che(LTCC)->getNphe();

Reimplemented from clas12::region_particle.

◆ getDeltaEnergy()

double clas12::region_fdet::getDeltaEnergy ( ) const
inlinefinalvirtual

◆ getDetEnergy()

double clas12::region_fdet::getDetEnergy ( ) const
inlinefinalvirtual

◆ getPath()

double clas12::region_fdet::getPath ( ) const
inlinefinalvirtual

◆ getSector()

short clas12::region_fdet::getSector ( ) const
inlinefinalvirtual

◆ getTime()

double clas12::region_fdet::getTime ( ) const
inlinefinalvirtual

◆ rich()

rich_ptr clas12::region_fdet::rich ( ) const
finalvirtual

Get pointer to rich banks for this particle This should be used directly to acess data e.g. p->rich()->getId(); p->rich()->ring()->getSector();

Reimplemented from clas12::region_particle.

◆ sci()

scint_ptr clas12::region_fdet::sci ( ushort lay) const
finalvirtual

Get pointer to scintillator banks for this particle This should be used directly to acess data e.g. p->scint(FTOF1A)->getEnergy(); p->scint(FTOF2)->getTime();

Reimplemented from clas12::region_particle.

◆ sort()

bool clas12::region_fdet::sort ( )
finalvirtual

check if any FD detectors associated with current particle and store the detector indices

Reimplemented from clas12::region_particle.

◆ traj()

traj_ptr clas12::region_fdet::traj ( ushort det,
ushort layer = 0 ) const
finalvirtual

Get pointer to traj banks for this particle This should be used directly to acess data e.g. p->traj(HTCC)->getCx(); //detector without layer p->traj(FTOF,FTOF1A)->getX(); //detector with layer

Reimplemented from clas12::region_particle.

◆ trk()

trck_ptr clas12::region_fdet::trk ( ushort lay) const
inlinefinalvirtual

Reimplemented from clas12::region_particle.

◆ utrk()

utrck_ptr clas12::region_fdet::utrk ( ushort lay) const
inlinefinalvirtual

Reimplemented from clas12::region_particle.


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