Public Member Functions | |
HcalQIEDataDataRepr (unsigned int total, HcalQIEData::tAllContWithNames const &allCont) | |
Public Attributes | |
unsigned int | fCapId |
unsigned int | fRange |
bool | slopeOrOffset |
Protected Member Functions | |
void | doFillIn (std::vector< TH2F > &graphData) |
Protected Attributes | |
HcalQIEData::tAllContWithNames | allContainers |
Definition at line 48 of file HcalQIEDataPyWrapper.cc.
cond::HcalQIEDataDataRepr::HcalQIEDataDataRepr | ( | unsigned int | total, |
HcalQIEData::tAllContWithNames const & | allCont | ||
) | [inline] |
Definition at line 57 of file HcalQIEDataPyWrapper.cc.
:ADataRepr(total), allContainers(allCont), fCapId(0), fRange(0), slopeOrOffset(false){}
void cond::HcalQIEDataDataRepr::doFillIn | ( | std::vector< TH2F > & | graphData | ) | [inline, protected, virtual] |
Implements HcalObjRepresent::ADataRepr.
Definition at line 64 of file HcalQIEDataPyWrapper.cc.
References HcalDetId::depth(), HcalForward, and relativeConstraints::value.
{ //ITERATORS AND VALUES: HcalQIEData::tAllContWithNames::const_iterator iter; std::vector<HcalQIECoder>::const_iterator contIter; float value = 0.0; //run trough all pair containers for (iter = allContainers.begin(); iter != allContainers.end(); ++iter){ //Run trough all values: for (contIter = (*iter).second.begin(); contIter != (*iter).second.end(); ++contIter){ hcal_id = HcalDetId((uint32_t)(*contIter).rawId()); depth = hcal_id.depth(); if (depth<1 || depth>4) continue; ieta=hcal_id.ieta(); iphi=hcal_id.iphi(); if (hcal_id.subdet() == HcalForward) ieta>0 ? ++ieta : --ieta; //GET VALUE: //unsigned fCapId, unsigned fRange; if (slopeOrOffset){ value = (*contIter).slope(fCapId, fRange); } else { value = (*contIter).offset(fCapId, fRange); } //logstatus = log2(1.*channelBits)+1; //FILLING GOES HERE: graphData[depth-1].Fill(ieta,iphi, value); } } }
Definition at line 51 of file HcalQIEDataPyWrapper.cc.
unsigned int cond::HcalQIEDataDataRepr::fCapId |
Definition at line 53 of file HcalQIEDataPyWrapper.cc.
Referenced by cond::PayLoadInspector< DataT >::plot().
unsigned int cond::HcalQIEDataDataRepr::fRange |
Definition at line 54 of file HcalQIEDataPyWrapper.cc.
Referenced by cond::PayLoadInspector< DataT >::plot().
Definition at line 55 of file HcalQIEDataPyWrapper.cc.
Referenced by cond::PayLoadInspector< DataT >::plot().