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

#include <scintillator.h>

Public Member Functions

 scintillator ()=default
 scintillator (hipo::schema aschema)
 scintillator (hipo::schema aschema, hipo::schema extras)
 ~scintillator () override=default
double getChi2 () const noexcept
int getComponent () const noexcept
double getDedx () const noexcept
double getEnergy () const noexcept
scintextrasgetExtras () const
double getHX () const noexcept
double getHY () const noexcept
double getHZ () const noexcept
int getLayer () const noexcept override
int getLayer (int index) const noexcept override
int getLayermulti () const noexcept
double getPath () const noexcept
int getSector () const noexcept
int getSize () const noexcept
int getStatus () const noexcept
double getTime () const noexcept
double getX () const noexcept
double getY () const noexcept
double getZ () const noexcept
Public Member Functions inherited from clas12::particle_detector
 particle_detector ()=default
 particle_detector (hipo::schema __schema)
 ~particle_detector () override=default
virtual int getDetector () const noexcept
virtual int getDetector (int index) const noexcept
int getIndex () const noexcept
int getIndex (int pindex, int detector=0, int layer=0)
int getPindex () const noexcept
int getPindex (int index) const noexcept
void notify () override
virtual void print ()
void readItems (const std::string &items)
 load items to be used
std::vector< short > scanForParticle (short iparticle)
void scanIndex ()
void setBankEntry (short i)
void setEntry (int ind) const
virtual void setIndex (int ind) const
bool useItem (const std::string &item)
 check if item should be used

Additional Inherited Members

Protected Attributes inherited from clas12::particle_detector
int _detector_id_order =-1
int _index =-1
int _pindex_order =-1
std::vector< int > _rvec {}
std::vector< std::string > _sitems {}
Inheritance diagram for clas12::scintillator:
Collaboration diagram for clas12::scintillator:

Constructor & Destructor Documentation

◆ scintillator() [1/3]

clas12::scintillator::scintillator ( )
default

◆ scintillator() [2/3]

clas12::scintillator::scintillator ( hipo::schema aschema)

◆ scintillator() [3/3]

clas12::scintillator::scintillator ( hipo::schema aschema,
hipo::schema extras )

◆ ~scintillator()

clas12::scintillator::~scintillator ( )
overridedefault

Member Function Documentation

◆ getChi2()

double clas12::scintillator::getChi2 ( ) const
inlinenoexcept

◆ getComponent()

int clas12::scintillator::getComponent ( ) const
inlinenoexcept

◆ getDedx()

double clas12::scintillator::getDedx ( ) const
inlinenoexcept

◆ getEnergy()

double clas12::scintillator::getEnergy ( ) const
inlinenoexcept

◆ getExtras()

scintextras * clas12::scintillator::getExtras ( ) const
inline

◆ getHX()

double clas12::scintillator::getHX ( ) const
inlinenoexcept

◆ getHY()

double clas12::scintillator::getHY ( ) const
inlinenoexcept

◆ getHZ()

double clas12::scintillator::getHZ ( ) const
inlinenoexcept

◆ getLayer() [1/2]

int clas12::scintillator::getLayer ( ) const
inlineoverridevirtualnoexcept

Reimplemented from clas12::particle_detector.

◆ getLayer() [2/2]

int clas12::scintillator::getLayer ( int index) const
inlineoverridevirtualnoexcept

Reimplemented from clas12::particle_detector.

◆ getLayermulti()

int clas12::scintillator::getLayermulti ( ) const
inlinenoexcept

◆ getPath()

double clas12::scintillator::getPath ( ) const
inlinenoexcept

◆ getSector()

int clas12::scintillator::getSector ( ) const
inlinenoexcept

◆ getSize()

int clas12::scintillator::getSize ( ) const
inlinenoexcept

◆ getStatus()

int clas12::scintillator::getStatus ( ) const
inlinenoexcept

◆ getTime()

double clas12::scintillator::getTime ( ) const
inlinenoexcept

◆ getX()

double clas12::scintillator::getX ( ) const
inlinenoexcept

◆ getY()

double clas12::scintillator::getY ( ) const
inlinenoexcept

◆ getZ()

double clas12::scintillator::getZ ( ) const
inlinenoexcept

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