Go to the documentation of this file. 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;
std::vector< PrecisionItem > mPItems
float getAuxi2(int type) const
#define COND_SERIALIZABLE
~HcalSiPMCharacteristics()
std::vector< float > getNonLinearities(int type) const
get nonlinearity constants
PrecisionItem(int type, int pixels, float parLin1, float parLin2, float parLin3, float crossTalk, int auxi1, float auxi2)
int getAuxi1(int type) const
get auxiliary words
float getCrossTalk(int type) const
get cross talk
HcalSiPMCharacteristics()
const PrecisionItem * findByType(int type) const
int getType(unsigned int k) const
HcalSiPMCharacteristics & operator=(const HcalSiPMCharacteristics &rhs)
bool good(const HcalSiPMCharacteristics::PrecisionItem &a) const
void swap(HcalSiPMCharacteristics &other)
bool equal(const HcalSiPMCharacteristics::PrecisionItem *a, const HcalSiPMCharacteristics::PrecisionItem *b) const
bool operator()(const HcalSiPMCharacteristics::PrecisionItem &a, const HcalSiPMCharacteristics::PrecisionItem &b) const
std::set< HcalSiPMCharacteristics::PrecisionItem, LessByType > mPItems
bool loadObject(int type, int pixels, float parLin1, float parLin2, float parLin3, float crossTalk, int auxi1=0, float auxi2=0)
bool operator()(const HcalSiPMCharacteristics::PrecisionItem *a, const HcalSiPMCharacteristics::PrecisionItem *b) const
std::vector< const PrecisionItem * > mPItemsByType
int getPixels(int type) const
get # of pixels
unsigned int getTypes() const
get # of types