1 #ifndef CondFormatsHcalObjectsHcalSiPMCharacteristics_h
2 #define CondFormatsHcalObjectsHcalSiPMCharacteristics_h
9 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
14 namespace HcalSiPMCharacteristicsAddons {
27 int type,
int pixels,
float parLin1,
float parLin2,
float parLin3,
float crossTalk,
int auxi1,
float auxi2)
60 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
90 namespace HcalSiPMCharacteristicsAddons {
119 std::set<HcalSiPMCharacteristics::PrecisionItem, LessByType>
mPItems;
~HcalSiPMCharacteristics()
PrecisionItem(int type, int pixels, float parLin1, float parLin2, float parLin3, float crossTalk, int auxi1, float auxi2)
bool equal(const HcalSiPMCharacteristics::PrecisionItem *a, const HcalSiPMCharacteristics::PrecisionItem *b) const
HcalSiPMCharacteristics()
bool operator()(const HcalSiPMCharacteristics::PrecisionItem *a, const HcalSiPMCharacteristics::PrecisionItem *b) const
void swap(HcalSiPMCharacteristics &other)
float getCrossTalk(int type) const
get cross talk
HcalSiPMCharacteristics & operator=(const HcalSiPMCharacteristics &rhs)
bool good(const HcalSiPMCharacteristics::PrecisionItem &a) const
const PrecisionItem * findByType(int type) const
unsigned int getTypes() const
get # of types
bool operator()(const HcalSiPMCharacteristics::PrecisionItem &a, const HcalSiPMCharacteristics::PrecisionItem &b) const
int getAuxi1(int type) const
get auxiliary words
int getType(unsigned int k) const
bool loadObject(int type, int pixels, float parLin1, float parLin2, float parLin3, float crossTalk, int auxi1=0, float auxi2=0)
std::vector< float > getNonLinearities(int type) const
get nonlinearity constants
#define COND_SERIALIZABLE
float getAuxi2(int type) const
std::set< HcalSiPMCharacteristics::PrecisionItem, LessByType > mPItems
std::vector< const PrecisionItem * > mPItemsByType
int getPixels(int type) const
get # of pixels
std::vector< PrecisionItem > mPItems