14#ifndef CLAS12_SCINTILLATOR_H
15#define CLAS12_SCINTILLATOR_H
36 int getLayer(
int index)
const noexcept override{
37 if(index>-1)
return getByte(_layer_order,index);
69 double getX() const noexcept{
73 double getY() const noexcept{
77 double getZ() const noexcept{
101 return _extras.get()!=
nullptr ? _extras->getDedx(
_index):0;
104 return _extras.get()!=
nullptr ? _extras->getSize(
_index):0;
107 return _extras.get()!=
nullptr ? _extras->getLayermulti(
_index):0;
115 int _component_order=-1;
116 int _energy_order=-1;
119 int _sector_order=-1;
120 int _status_order=-1;
int _index
Definition particle_detector.h:83
particle_detector()=default
Definition scintillator.h:23
double getTime() const noexcept
Definition scintillator.h:45
int getLayermulti() const noexcept
Definition scintillator.h:106
double getEnergy() const noexcept
Definition scintillator.h:49
double getChi2() const noexcept
Definition scintillator.h:93
double getHY() const noexcept
Definition scintillator.h:85
double getX() const noexcept
Definition scintillator.h:69
int getSector() const noexcept
Definition scintillator.h:57
double getHX() const noexcept
Definition scintillator.h:81
int getLayer() const noexcept override
Definition scintillator.h:65
scintextras * getExtras() const
Definition scintillator.h:110
int getComponent() const noexcept
Definition scintillator.h:41
double getDedx() const noexcept
Definition scintillator.h:100
double getHZ() const noexcept
Definition scintillator.h:89
int getSize() const noexcept
Definition scintillator.h:103
int getStatus() const noexcept
Definition scintillator.h:61
double getPath() const noexcept
Definition scintillator.h:53
double getZ() const noexcept
Definition scintillator.h:77
~scintillator() override=default
double getY() const noexcept
Definition scintillator.h:73
int getLayer(int index) const noexcept override
Definition scintillator.h:36
Definition calextras.cpp:10
std::unique_ptr< clas12::scintillator > scint_uptr
Definition scintillator.h:134
std::unique_ptr< clas12::scintextras > scintextra_uptr
Definition scintextras.h:83
clas12::scintillator * scint_ptr
Definition scintillator.h:133