1 #ifndef CondFormatsHcalObjectsHcalSiPMCharacteristics_h 2 #define CondFormatsHcalObjectsHcalSiPMCharacteristics_h 8 #include <boost/cstdint.hpp> 9 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__) 26 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__) 32 float parLin2,
float parLin3,
float crossTalk,
33 int auxi1=0,
float auxi2=0);
58 float parLin3,
float crossTalk,
int auxi1,
float auxi2) :
78 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
~HcalSiPMCharacteristics()
PrecisionItem(int type, int pixels, float parLin1, float parLin2, float parLin3, float crossTalk, int auxi1, float auxi2)
std::atomic< std::vector< const PrecisionItem * > * > mPItemsByType
HcalSiPMCharacteristics()
void swap(HcalSiPMCharacteristics &other)
float getCrossTalk(int type) const
get cross talk
HcalSiPMCharacteristics & operator=(const HcalSiPMCharacteristics &rhs)
bool loadObject(int type, int pixels, float parLin1, float parLin2, float parLin3, float crossTalk, int auxi1=0, float auxi2=0)
const PrecisionItem * findByType(int type) const
unsigned int getTypes() const
get # of types
int getAuxi1(int type) const
get auxiliary words
int getType(unsigned int k) const
std::vector< float > getNonLinearities(int type) const
get nonlinearity constants
#define COND_SERIALIZABLE
float getAuxi2(int type) const
int getPixels(int type) const
get # of pixels
std::vector< PrecisionItem > mPItems