#include <HcalSiPMCharacteristics.h>
Classes | |
class | PrecisionItem |
Public Member Functions | |
int | getAuxi1 (int type) const |
get auxiliary words More... | |
float | getAuxi2 (int type) const |
float | getCrossTalk (int type) const |
get cross talk More... | |
std::vector< float > | getNonLinearities (int type) const |
get nonlinearity constants More... | |
int | getPixels (int type) const |
get # of pixels More... | |
int | getType (unsigned int k) const |
unsigned int | getTypes () const |
get # of types More... | |
HcalSiPMCharacteristics () | |
HcalSiPMCharacteristics (const HcalSiPMCharacteristics &src) | |
HcalSiPMCharacteristics (HcalSiPMCharacteristics &&other) | |
bool | loadObject (int type, int pixels, float parLin1, float parLin2, float parLin3, float crossTalk, int auxi1=0, float auxi2=0) |
HcalSiPMCharacteristics & | operator= (const HcalSiPMCharacteristics &rhs) |
void | sort () |
void | sortByType () const |
void | swap (HcalSiPMCharacteristics &other) |
~HcalSiPMCharacteristics () | |
Protected Member Functions | |
const PrecisionItem * | findByType (int type) const |
Protected Attributes | |
std::vector< PrecisionItem > | mPItems |
std::atomic< std::vector < const PrecisionItem * > * > | mPItemsByType |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 13 of file HcalSiPMCharacteristics.h.
HcalSiPMCharacteristics::HcalSiPMCharacteristics | ( | ) |
Definition at line 8 of file HcalSiPMCharacteristics.cc.
HcalSiPMCharacteristics::~HcalSiPMCharacteristics | ( | ) |
Definition at line 14 of file HcalSiPMCharacteristics.cc.
References mPItemsByType.
HcalSiPMCharacteristics::HcalSiPMCharacteristics | ( | const HcalSiPMCharacteristics & | src | ) |
Definition at line 19 of file HcalSiPMCharacteristics.cc.
HcalSiPMCharacteristics::HcalSiPMCharacteristics | ( | HcalSiPMCharacteristics && | other | ) |
Definition at line 38 of file HcalSiPMCharacteristics.cc.
References swap().
|
protected |
Definition at line 42 of file HcalSiPMCharacteristics.cc.
References mPItemsByType, sortByType(), and filterCSVwithJSON::target.
Referenced by getAuxi1(), getAuxi2(), getCrossTalk(), getNonLinearities(), getPixels(), and loadObject().
int HcalSiPMCharacteristics::getAuxi1 | ( | int | type | ) | const |
get auxiliary words
Definition at line 105 of file HcalSiPMCharacteristics.cc.
References HcalSiPMCharacteristics::PrecisionItem::auxi1_, and findByType().
float HcalSiPMCharacteristics::getAuxi2 | ( | int | type | ) | const |
Definition at line 110 of file HcalSiPMCharacteristics.cc.
References HcalSiPMCharacteristics::PrecisionItem::auxi2_, and findByType().
float HcalSiPMCharacteristics::getCrossTalk | ( | int | type | ) | const |
get cross talk
Definition at line 100 of file HcalSiPMCharacteristics.cc.
References HcalSiPMCharacteristics::PrecisionItem::crossTalk_, and findByType().
Referenced by HBHEPhase1Reconstructor::processData(), and HcalSimParameters::sipmCrossTalk().
std::vector< float > HcalSiPMCharacteristics::getNonLinearities | ( | int | type | ) | const |
get nonlinearity constants
Definition at line 89 of file HcalSiPMCharacteristics.cc.
References findByType(), HcalSiPMCharacteristics::PrecisionItem::parLin1_, HcalSiPMCharacteristics::PrecisionItem::parLin2_, and HcalSiPMCharacteristics::PrecisionItem::parLin3_.
Referenced by HcalSimParameters::sipmNonlinearity().
int HcalSiPMCharacteristics::getPixels | ( | int | type | ) | const |
get # of pixels
Definition at line 84 of file HcalSiPMCharacteristics.cc.
References findByType(), and HcalSiPMCharacteristics::PrecisionItem::pixels_.
Referenced by HcalSimParameters::pixels().
|
inline |
Definition at line 37 of file HcalSiPMCharacteristics.h.
References relval_2017::k, and mPItems.
Referenced by Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::getDaughterObjects(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::getObjectRef(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::getShortType(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::properties().
|
inline |
get # of types
Definition at line 36 of file HcalSiPMCharacteristics.h.
References mPItems.
bool HcalSiPMCharacteristics::loadObject | ( | int | type, |
int | pixels, | ||
float | parLin1, | ||
float | parLin2, | ||
float | parLin3, | ||
float | crossTalk, | ||
int | auxi1 = 0 , |
||
float | auxi2 = 0 |
||
) |
Definition at line 55 of file HcalSiPMCharacteristics.cc.
References HcalSiPMCharacteristics::PrecisionItem::crossTalk_, findByType(), mPItems, mPItemsByType, HcalSiPMCharacteristics::PrecisionItem::parLin1_, HcalSiPMCharacteristics::PrecisionItem::parLin2_, HcalSiPMCharacteristics::PrecisionItem::parLin3_, HcalSiPMCharacteristics::PrecisionItem::pixels_, and filterCSVwithJSON::target.
HcalSiPMCharacteristics & HcalSiPMCharacteristics::operator= | ( | const HcalSiPMCharacteristics & | rhs | ) |
Definition at line 23 of file HcalSiPMCharacteristics.cc.
References swap(), and groupFilesInBlocks::temp.
|
private |
|
inline |
Definition at line 50 of file HcalSiPMCharacteristics.h.
void HcalSiPMCharacteristics::sortByType | ( | ) | const |
Definition at line 115 of file HcalSiPMCharacteristics.cc.
References i, mPItems, and mPItemsByType.
Referenced by findByType().
void HcalSiPMCharacteristics::swap | ( | HcalSiPMCharacteristics & | other | ) |
Definition at line 30 of file HcalSiPMCharacteristics.cc.
References mPItems, mPItemsByType, and std::swap().
Referenced by HcalSiPMCharacteristics(), and operator=().
|
friend |
Definition at line 84 of file HcalSiPMCharacteristics.h.
|
friend |
Definition at line 84 of file HcalSiPMCharacteristics.h.
|
protected |
Definition at line 77 of file HcalSiPMCharacteristics.h.
Referenced by getType(), getTypes(), loadObject(), sortByType(), and swap().
|
mutableprotected |
Definition at line 79 of file HcalSiPMCharacteristics.h.
Referenced by findByType(), loadObject(), sortByType(), swap(), and ~HcalSiPMCharacteristics().