1 #ifndef CondFormatsHcalObjectsHcalSiPMCharacteristics_h 2 #define CondFormatsHcalObjectsHcalSiPMCharacteristics_h 9 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__) 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__) 95 return a->type_ <
b->type_;
99 return a.type_ <
b.type_;
102 return a->type_ ==
b->type_;
119 std::set<HcalSiPMCharacteristics::PrecisionItem, LessByType>
mPItems;
int getAuxi1(int type) const
get auxiliary words
~HcalSiPMCharacteristics()
PrecisionItem(int type, int pixels, float parLin1, float parLin2, float parLin3, float crossTalk, int auxi1, float auxi2)
const PrecisionItem * findByType(int type) const
std::vector< float > getNonLinearities(int type) const
get nonlinearity constants
bool good(const HcalSiPMCharacteristics::PrecisionItem &a) const
float getAuxi2(int type) const
HcalSiPMCharacteristics()
bool equal(const HcalSiPMCharacteristics::PrecisionItem *a, const HcalSiPMCharacteristics::PrecisionItem *b) const
void swap(HcalSiPMCharacteristics &other)
HcalSiPMCharacteristics & operator=(const HcalSiPMCharacteristics &rhs)
float getCrossTalk(int type) const
get cross talk
bool operator()(const HcalSiPMCharacteristics::PrecisionItem &a, const HcalSiPMCharacteristics::PrecisionItem &b) const
bool operator()(const HcalSiPMCharacteristics::PrecisionItem *a, const HcalSiPMCharacteristics::PrecisionItem *b) const
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)
#define COND_SERIALIZABLE
int getPixels(int type) const
get # of pixels
std::set< HcalSiPMCharacteristics::PrecisionItem, LessByType > mPItems
std::vector< const PrecisionItem * > mPItemsByType
unsigned int getTypes() const
get # of types
std::vector< PrecisionItem > mPItems