#include <EcalSelectiveReadoutValidation.h>
Classes | |
struct | energiesEb_t |
struct | energiesEe_t |
Protected Member Functions | |
void | analyze (edm::Event const &e, edm::EventSetup const &c) override |
Analyzes the event. More... | |
void | endRun (const edm::Run &r, const edm::EventSetup &c) override |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Private Types | |
typedef EcalRecHit | RecHit |
typedef EcalRecHitCollection | RecHitCollection |
enum | subdet_t { EB, EE } |
distinguishes barral and endcap of ECAL. More... | |
Private Member Functions | |
template<class T , class U > | |
void | anaDigi (const T &frame, const U &srFlagColl) |
void | anaDigiInit () |
void | analyzeDataVolume (const edm::Event &e, const edm::EventSetup &es) |
void | analyzeEB (const edm::Event &event, const edm::EventSetup &es) |
void | analyzeEE (const edm::Event &event, const edm::EventSetup &es) |
void | analyzeTP (const edm::Event &event, const edm::EventSetup &es) |
template<class T > | |
void | checkSrApplication (const edm::Event &event, T &srfs) |
int | cIndex2iEta (int i) const |
int | cIndex2iPhi (int i) const |
int | cIndex2iTtEta (int i) const |
int | cIndex2iTtPhi (int i) const |
int | cIndex2iXY (int iX0) const |
template<class T > | |
void | compareSrfColl (const edm::Event &event, T &srfFromData, T &computedSrf) |
void | configFirWeights (const std::vector< double > &weightsForZsFIR) |
std::pair< int, int > | dccCh (const DetId &xtalId) const |
double | frame2Energy (const EcalDataFrame &frame) const |
template<class T > | |
double | frame2EnergyForTp (const T &frame, int offset=0) const |
double | getBytesPerCrystal () const |
int | getCrystalCount (int iDcc, int iDccCh) |
double | getDccEventSize (int iDcc0, double nReadXtals) const |
double | getDccOverhead (subdet_t subdet) const |
double | getDccSrDependentPayload (int iDcc0, double nReadRus, double nReadXtals) const |
double | getEbEventSize (double nReadXtals) const |
double | getEeEventSize (double nReadXtals) const |
double | getL1aRate () const |
int | getRuCount (int iDcc0) const |
int | iEta2cIndex (int iEta) const |
void | initAsciiFile () |
int | iPhi2cIndex (int iPhi) const |
int | iTtEta2cIndex (int iEta) const |
int | iTtPhi2cIndex (int iPhi) const |
int | iXY2cIndex (int iX) const |
void | printAvailableHists () |
void | readAllCollections (const edm::Event &e) |
bool | registerHist (const std::string &name, const std::string &title) |
void | selectFedsForLog () |
void | setTtEtSums (const edm::EventSetup &es, const EBDigiCollection &ebDigis, const EEDigiCollection &eeDigis) |
void | updateL1aRate (const edm::Event &event) |
EcalTrigTowerDetId | readOutUnitOf (const EBDetId &xtalId) const |
EcalScDetId | readOutUnitOf (const EEDetId &xtalId) const |
MonitorElement * | bookFloat (DQMStore::IBooker &, const std::string &name) |
MonitorElement * | book1D (DQMStore::IBooker &, const std::string &name, const std::string &title, int nbins, double xmin, double xmax) |
MonitorElement * | book2D (DQMStore::IBooker &, const std::string &name, const std::string &title, int nxbins, double xmin, double xmax, int nybins, double ymin, double ymax) |
MonitorElement * | bookProfile (DQMStore::IBooker &, const std::string &name, const std::string &title, int nbins, double xmin, double xmax) |
MonitorElement * | bookProfile2D (DQMStore::IBooker &, const std::string &name, const std::string &title, int nbinx, double xmin, double xmax, int nbiny, double ymin, double ymax, const char *option="") |
void | fill (MonitorElement *me, float x) |
void | fill (MonitorElement *me, float x, float yw) |
void | fill (MonitorElement *me, float x, float y, float zw) |
void | fill (MonitorElement *me, float x, float y, float z, float w) |
int | ruGraphX (const EcalScDetId &id) const |
int | ruGraphY (const EcalScDetId &id) const |
int | ruGraphX (const EcalTrigTowerDetId &id) const |
int | ruGraphY (const EcalTrigTowerDetId &id) const |
int | xtalGraphX (const EEDetId &id) const |
int | xtalGraphY (const EEDetId &id) const |
int | xtalGraphX (const EBDetId &id) const |
int | xtalGraphY (const EBDetId &id) const |
int | dccId (const EcalScDetId &detId) const |
int | dccId (const EcalTrigTowerDetId &detId) const |
Static Private Member Functions | |
static int | dccZsFIR (const EcalDataFrame &frame, const std::vector< int > &firWeights, int firstFIRSample, bool *saturated=0) |
static std::vector< int > | getFIRWeights (const std::vector< double > &normalizedWeights) |
Static Private Attributes | |
static const int | ebTtEdge = 5 |
Number of crystals along an EB TT. More... | |
static const int | kByte_ = 1024 |
number of bytes in 1 kByte: More... | |
static const int | maxDccId_ = minDccId_ + nDccs_ -1 |
static const int | minDccId_ = 1 |
static const unsigned | nDccChs_ = 68 |
Number of input channels of a DCC. More... | |
static const int | nDccRus_ [nDccs_] |
number of RUs for each DCC More... | |
static const unsigned | nDccs_ = 54 |
Total number of DCCs. More... | |
static const int | nEbDccs = 36 |
number of DCCs for EB More... | |
static const int | nEbEta = 170 |
number of crystals along Eta in EB More... | |
static const int | nEbPhi = 360 |
number of crystals along Phi in EB More... | |
static const int | nEbRus = 36*68 |
number of RUs for EB More... | |
static const int | nEbTtEta = 34 |
Number of Trigger Towers in barrel along Eta. More... | |
static const int | nEeDccs = 18 |
number of DCCs for EE More... | |
static const int | nEeRus = 2*(34+32+33+33+32+34+33+34+33) |
number of RUs for EE More... | |
static const int | nEeX = 100 |
EE crystal grid size along X. More... | |
static const int | nEeY = 100 |
EE crystal grid size along Y. More... | |
static const int | nEndcaps = 2 |
number of endcaps More... | |
static const int | nMaxXtalPerRu = 25 |
Number of crystals per Readout Unit excepted partial SCs. More... | |
static const int | nOneEeTtEta = 11 |
Number of Trigger Towers in an endcap along Eta. More... | |
static const int | nTtEta = 2*nOneEeTtEta + nEbTtEta |
Number of Trigger Towers along Eta. More... | |
static const int | nTtPhi = 72 |
Number of Trigger Towers along Phi. More... | |
static const double | rad2deg = 45./atan(1.) |
Conversion factor from radian to degree. More... | |
static const int | scEdge = 5 |
Number of crystals along a supercrystal edge. More... | |
Definition at line 34 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 37 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 36 of file EcalSelectiveReadoutValidation.h.
|
private |
distinguishes barral and endcap of ECAL.
Enumerator | |
---|---|
EB | |
EE |
Definition at line 58 of file EcalSelectiveReadoutValidation.h.
EcalSelectiveReadoutValidation::EcalSelectiveReadoutValidation | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 56 of file EcalSelectiveReadoutValidation.cc.
References allHists_, configFirWeights(), edm::EDConsumerBase::consumesCollector(), ebComputedSrFlags_, ebDigis_, ebNoZsDigis_, ebRecHits_, ebSimHits_, ebSrFlags_, ebZsThr_, eeComputedSrFlags_, eeDigis_, eeNoZsDigis_, eeRecHits_, eeSimHits_, eeSrFlags_, eeZsThr_, fedRaw_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), histList_, logSrApplicationErrors_, logSrpAlgoErrors_, outputFile_, CollHandle< T >::setToken(), srApplicationErrorLogFileName_, srpAlgoErrorLogFileName_, tps_, and verbose_.
EcalSelectiveReadoutValidation::~EcalSelectiveReadoutValidation | ( | ) |
|
private |
Accumulates statitics for data volume analysis. To be called for each ECAL digi. See anaDigiInit().
Definition at line 1496 of file EcalSelectiveReadoutValidation.cc.
References Reference_intrackfit_cff::barrel, dccCh(), ebRuActive_, ebTtEdge, EcalBarrel, eeRuActive_, Exception, iEta2cIndex(), iPhi2cIndex(), iXY2cIndex(), minDccId_, nEb_, nEbHI_, nEbLI_, nEe_, nEeHI_, nEeLI_, nHiPerDcc_, nHiRuPerDcc_, nLiPerDcc_, nLiRuPerDcc_, nPerDcc_, nPerRu_, nRuPerDcc_, DetId::rawId(), readOutUnitOf(), scEdge, EcalSrFlag::SRF_FULL, DetId::subdetId(), and ecaldqm::zside().
Referenced by analyzeDataVolume().
|
private |
Initializes statistics accumalator for data volume analysis. To be call at start of each event analysis.
Definition at line 1573 of file EcalSelectiveReadoutValidation.cc.
References ebRuActive_, eeRuActive_, nEb_, nEbHI_, nEbLI_, nEe_, nEeHI_, nEeLI_, nHiPerDcc_, nHiRuPerDcc_, nLiPerDcc_, nLiRuPerDcc_, nPerDcc_, nPerRu_, and nRuPerDcc_.
Referenced by analyzeDataVolume().
|
overrideprotectedvirtual |
Analyzes the event.
Implements edm::stream::EDAnalyzerBase.
Definition at line 189 of file EcalSelectiveReadoutValidation.cc.
References analyzeDataVolume(), analyzeEB(), analyzeEE(), analyzeTP(), checkSrApplication(), compareSrfColl(), ebComputedSrFlags_, ebNoZsDigis_, ebSimHits_, ebSrFlags_, eeComputedSrFlags_, eeNoZsDigis_, eeSimHits_, eeSrFlags_, fill(), ievt_, meCompleteZSCnt_, meDroppedFROCnt_, meEbFullRoCnt_, meEbZsErrCnt_, meEbZsErrType1Cnt_, meEeFullRoCnt_, meEeZsErrCnt_, meEeZsErrType1Cnt_, meFullRoCnt_, meIncompleteFROCnt_, meZsErrCnt_, meZsErrType1Cnt_, nCompleteZS_, nDroppedFRO_, nEbFROCnt_, nEbZsErrors_, nEbZsErrorsType1_, nEeFROCnt_, nEeZsErrors_, nEeZsErrorsType1_, nIncompleteFRO_, readAllCollections(), selectFedsForLog(), setTtEtSums(), tps_, updateL1aRate(), withEbSimHit_, and withEeSimHit_.
|
private |
Data volume analysis. To be called for each event.
event | EDM event |
es | event setup |
Definition at line 1430 of file EcalSelectiveReadoutValidation.cc.
References a, anaDigi(), anaDigiInit(), b, ebDigis_, ebSrFlags_, eeDigis_, eeSrFlags_, FEDRawDataCollection::FEDData(), fedRaw_, fill(), getBytesPerCrystal(), getCrystalCount(), getDccEventSize(), getDccSrDependentPayload(), getEbEventSize(), getEeEventSize(), isRuComplete_, kByte_, maxDccId_, meDccHiVol_, meDccLiVol_, meDccVol_, meDccVolFromData_, meVol_, meVolB_, meVolBHI_, meVolBLI_, meVolE_, meVolEHI_, meVolELI_, meVolHI_, meVolLI_, minDccId_, nDccRus_, nDccs_, nEb_, nEbHI_, nEbLI_, nEe_, nEeHI_, nEeLI_, nHiPerDcc_, nHiRuPerDcc_, nLiPerDcc_, nLiRuPerDcc_, nPerDcc_, nPerRu_, FEDRawData::size(), and edm::DataFrameContainer::size().
Referenced by analyze().
|
private |
ECAL barrel data analysis. To be called for each event.
event | EDM event |
es | event setup |
Definition at line 542 of file EcalSelectiveReadoutValidation.cc.
References assert(), edm::DataFrameContainer::begin(), gather_cfg::cout, dccCh(), dccZsFIR(), ebDigis_, ebEnergies, ebNoZsDigis_, ebRecHits_, ebSimHits_, ebSrFlags_, ebZsThr_, DetId::Ecal, EcalBarrel, edm::DataFrameContainer::end(), PCaloHit::energy(), EcalRecHit::energy(), PV3DBase< T, PVType, FrameType >::eta(), EcalSelectiveReadoutValidation::energiesEb_t::eta, Exception, fill(), plotBeamSpotDB::first, firstFIRSample_, firWeights_, frame2Energy(), EcalSelectiveReadoutValidation::energiesEb_t::gain12, ecalMGPA::gainId(), geometry, edm::EventSetup::get(), CaloSubdetectorGeometry::getGeometry(), i, EBDataFrame::id(), EBSrFlag::id(), PCaloHit::id(), EcalRecHit::id(), EcalTrigTowerDetId::ieta(), EBDetId::ieta(), iEta2cIndex(), EcalTrigTowerDetId::ietaAbs(), ievt_, EcalTrigTowerDetId::iphi(), iPhi2cIndex(), isRuComplete_, localReco_, bookConverter::max, meChOcc_, meEbEMean_, meEbHiZsFir_, meEbLiZsFir_, meEbNoise_, meEbNoZsRecVsSimE_, meEbRecE_, meEbRecEHitXtal_, meEbRecVsSimE_, meEbSimE_, meForcedRu_, meFullRoRu_, meZs1Ru_, nEbEta, nEbFROCnt_, nEbPhi, nEbZsErrors_, nEbZsErrorsType1_, EcalSelectiveReadoutValidation::energiesEb_t::noZsRecE, PV3DBase< T, PVType, FrameType >::phi(), EcalSelectiveReadoutValidation::energiesEb_t::phi, rad2deg, readOutUnitOf(), EcalSelectiveReadoutValidation::energiesEb_t::recE, alignCSCRings::s, edm::second(), EcalSelectiveReadoutValidation::energiesEb_t::simE, EcalSelectiveReadoutValidation::energiesEb_t::simHit, EcalDataFrame::size(), srApplicationErrorLog_, EcalSrFlag::SRF_FORCED_MASK, EcalSrFlag::SRF_FULL, EcalSrFlag::SRF_ZS1, findQualityFiles::v, EcalSrFlag::value(), withEbSimHit_, x, xtalGraphX(), xtalGraphY(), y, and EcalTrigTowerDetId::zside().
Referenced by analyze().
|
private |
ECAL endcap data analysis. To be called for each event.
event | EDM event |
es | event setup |
Definition at line 265 of file EcalSelectiveReadoutValidation.cc.
References edm::DataFrameContainer::begin(), gather_cfg::cout, dccCh(), dccZsFIR(), DetId::Ecal, EcalEndcap, eeDigis_, eeEnergies, eeNoZsDigis_, eeRecHits_, eeSimHits_, eeSrFlags_, eeZsThr_, edm::DataFrameContainer::end(), PCaloHit::energy(), EcalRecHit::energy(), PV3DBase< T, PVType, FrameType >::eta(), EcalSelectiveReadoutValidation::energiesEe_t::eta, Exception, fill(), plotBeamSpotDB::first, firstFIRSample_, firWeights_, frame2Energy(), EcalSelectiveReadoutValidation::energiesEe_t::gain12, ecalMGPA::gainId(), geometry, edm::EventSetup::get(), CaloSubdetectorGeometry::getGeometry(), i, EEDataFrame::id(), EESrFlag::id(), PCaloHit::id(), EcalRecHit::id(), ievt_, isRuComplete_, EcalScDetId::ix(), EEDetId::ix(), iXY2cIndex(), EcalScDetId::iy(), EEDetId::iy(), localReco_, bookConverter::max, meChOcc_, meEeEMean_, meEeHiZsFir_, meEeLiZsFir_, meEeNoise_, meEeNoZsRecVsSimE_, meEeRecE_, meEeRecEHitXtal_, meEeRecVsSimE_, meEeSimE_, meForcedRu_, meFullRoRu_, meZs1Ru_, nEeFROCnt_, nEeX, nEeY, nEeZsErrors_, nEeZsErrorsType1_, nEndcaps, EcalSelectiveReadoutValidation::energiesEe_t::noZsRecE, PV3DBase< T, PVType, FrameType >::phi(), EcalSelectiveReadoutValidation::energiesEe_t::phi, rad2deg, readOutUnitOf(), EcalSelectiveReadoutValidation::energiesEe_t::recE, edm::second(), EcalSelectiveReadoutValidation::energiesEe_t::simE, EcalSelectiveReadoutValidation::energiesEe_t::simHit, EcalDataFrame::size(), edm::DataFrameContainer::size(), srApplicationErrorLog_, EcalSrFlag::SRF_FORCED_MASK, EcalSrFlag::SRF_FULL, EcalSrFlag::SRF_ZS1, findQualityFiles::v, EcalSrFlag::value(), withEeSimHit_, xtalGraphX(), xtalGraphY(), EcalScDetId::zside(), EEDetId::zside(), and ecaldqm::zside().
Referenced by analyze().
|
private |
Trigger primitive analysis. To be called for each event.
event | EDM event |
es | event setup |
Definition at line 1305 of file EcalSelectiveReadoutValidation.cc.
References cIndex2iTtEta(), cIndex2iTtPhi(), DetId::Ecal, EcalBarrel, EcalEndcap, fill(), edm::EventSetup::get(), MonitorElement::getTProfile(), i, iTtEta2cIndex(), iTtPhi2cIndex(), lumiPlot::lut, meForcedTtf_, meHiTtf_, meLiTtf_, meMiTtf_, meTp_, meTpMap_, meTpVsEtSum_, meTtf_, meTtfVsEtSum_, meTtfVsTp_, nTtEta, nTtPhi, edm::ESHandle< class >::product(), ecaldqm::towerId(), tpInGeV_, tps_, and ttEtSums.
Referenced by analyze().
|
private |
Definition at line 1841 of file EcalSelectiveReadoutValidation.cc.
References DQMStore::IBooker::book1D(), Exception, mergeVDriftHistosByStation::name, registerHist(), and query::result.
Referenced by bookHistograms().
|
private |
Definition at line 1851 of file EcalSelectiveReadoutValidation.cc.
References DQMStore::IBooker::book2D(), Exception, mergeVDriftHistosByStation::name, registerHist(), and query::result.
Referenced by bookHistograms().
|
private |
Wrappers to the book methods of the DQMStore DQM histogramming interface.
Definition at line 1830 of file EcalSelectiveReadoutValidation.cc.
References DQMStore::IBooker::bookFloat(), Exception, mergeVDriftHistosByStation::name, registerHist(), and query::result.
Referenced by bookHistograms().
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 849 of file EcalSelectiveReadoutValidation.cc.
References availableHistList_, book1D(), book2D(), bookFloat(), bookProfile(), bookProfile2D(), ebZsThr_, eeZsThr_, histList_, meChOcc_, meCompleteZSCnt_, meCompleteZSMap_, meCompleteZSRateMap_, meDccHiVol_, meDccLiVol_, meDccVol_, meDccVolFromData_, meDroppedFROCnt_, meDroppedFROMap_, meDroppedFRORateMap_, meEbEMean_, meEbFullRoCnt_, meEbHiZsFir_, meEbLiZsFir_, meEbNoise_, meEbNoZsRecVsSimE_, meEbRecE_, meEbRecEHitXtal_, meEbRecVsSimE_, meEbSimE_, meEbZsErrCnt_, meEbZsErrType1Cnt_, meEeEMean_, meEeFullRoCnt_, meEeHiZsFir_, meEeLiZsFir_, meEeNoise_, meEeNoZsRecVsSimE_, meEeRecE_, meEeRecEHitXtal_, meEeRecVsSimE_, meEeSimE_, meEeZsErrCnt_, meEeZsErrType1Cnt_, meForcedRu_, meForcedTtf_, meFullRoCnt_, meFullRoRu_, meHiTtf_, meIncompleteFROCnt_, meIncompleteFROMap_, meIncompleteFRORateMap_, meL1aRate_, meLiTtf_, meMiTtf_, meSRFlagsConsistency_, meTp_, meTpMap_, meTpVsEtSum_, meTtf_, meTtfVsEtSum_, meTtfVsTp_, meVol_, meVolB_, meVolBHI_, meVolBLI_, meVolE_, meVolEHI_, meVolELI_, meVolHI_, meVolLI_, meZs1Ru_, meZsErrCnt_, meZsErrType1Cnt_, nDccs_, printAvailableHists(), alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, indexGen::title, and tpInGeV_.
|
private |
Definition at line 1862 of file EcalSelectiveReadoutValidation.cc.
References DQMStore::IBooker::bookProfile(), Exception, mergeVDriftHistosByStation::name, registerHist(), and query::result.
Referenced by bookHistograms().
|
private |
Definition at line 1873 of file EcalSelectiveReadoutValidation.cc.
References DQMStore::IBooker::bookProfile2D(), Exception, mergeVDriftHistosByStation::name, registerHist(), and query::result.
Referenced by bookHistograms().
|
private |
Checks application of SR decision by the DCC.
event | event currently analyzed. |
srfs | Selective readou flags |
Definition at line 2197 of file EcalSelectiveReadoutValidation.cc.
References dccCh(), fill(), getCrystalCount(), meCompleteZSMap_, meCompleteZSRateMap_, meDroppedFROMap_, meDroppedFRORateMap_, meIncompleteFROMap_, meIncompleteFRORateMap_, minDccId_, nCompleteZS_, nDroppedFRO_, nIncompleteFRO_, nPerRu_, ruGraphX(), ruGraphY(), srApplicationErrorLog_, EcalSrFlag::SRF_FULL, EcalSrFlag::SRF_ZS1, and EcalSrFlag::SRF_ZS2.
Referenced by analyze().
|
inlineprivate |
converse of iEta2cIndex() method.
Definition at line 251 of file EcalSelectiveReadoutValidation.h.
Referenced by dccCh().
|
inlineprivate |
converse of iPhi2cIndex() method.
Definition at line 258 of file EcalSelectiveReadoutValidation.h.
Referenced by dccCh().
|
inlineprivate |
converse of iTtEta2cIndex() method.
Definition at line 285 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP().
|
inlineprivate |
converse of iTtPhi2cIndex() method.
Definition at line 291 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP().
|
inlineprivate |
converse of iXY2cIndex() method.
Definition at line 245 of file EcalSelectiveReadoutValidation.h.
|
private |
Compares two SR flag collection, flags read from data and computed flags. Descripencies are recorded in relevant histogram and log file.
T | collection type. Must be either an EESrFlagCollection or an EBSrFlagCollection. |
event | event currently analyzed. Used in logs. |
srfFromData | SR flag collection read from data |
compareSrf | SR flag collection computed from TTF by SRP emulation |
Definition at line 2085 of file EcalSelectiveReadoutValidation.cc.
References dccCh(), fill(), logErrForDccs_, meSRFlagsConsistency_, minDccId_, ruGraphX(), ruGraphY(), and srpAlgoErrorLog_.
Referenced by analyze().
|
private |
Configure DCC ZS FIR weights. Heuristic is used to determine if input weights are normalized weights or integer weights in the hardware representation.
weightsForZsFIR | weights from configuration file |
Definition at line 2014 of file EcalSelectiveReadoutValidation.cc.
References Exception, firstFIRSample_, firWeights_, getFIRWeights(), i, cmsBatch::log, indexGen::s2, and mathSSE::sqrt().
Referenced by EcalSelectiveReadoutValidation().
|
private |
Retrieves the logical number of the DCC reading a given crystal channel.
xtarId | crystal channel identifier |
xtarId | crystal channel, barrel trigger tower or endcap supercrystal identifier |
Definition at line 1629 of file EcalSelectiveReadoutValidation.cc.
References cIndex2iEta(), cIndex2iPhi(), EcalElectronicsId::dccId(), TauDecayModes::dec, DetId::det(), DetId::Ecal, EcalBarrel, EcalEndcap, EcalTriggerTower, elecMap_, Exception, EcalElectronicsMapping::getDCCandSC(), EcalElectronicsMapping::getElectronicsId(), EcalTrigTowerDetId::ieta(), EcalTrigTowerDetId::iphi(), iTtEta2cIndex(), iTtPhi2cIndex(), maxDccId_, minDccId_, nOneEeTtEta, DetId::rawId(), query::result, DetId::subdetId(), EcalElectronicsId::towerId(), and groupFilesInBlocks::tt.
Referenced by anaDigi(), analyzeEB(), analyzeEE(), checkSrApplication(), compareSrfColl(), and dccId().
|
private |
Retrieves the ID of the DCC reading a readout unit
detId | detid of the readout unit |
Definition at line 2146 of file EcalSelectiveReadoutValidation.cc.
References elecMap_, and EcalElectronicsMapping::getDCCandSC().
Referenced by selectFedsForLog().
|
private |
Definition at line 2150 of file EcalSelectiveReadoutValidation.cc.
References dccCh(), Exception, and EcalTrigTowerDetId::ietaAbs().
|
staticprivate |
Emulates the DCC zero suppression FIR filter. If one of the time sample is not in gain 12, numeric_limits<int>::max() is returned.
frame | data frame |
firWeights | TAP weights |
firstFIRSample | index (starting from 1) of the first time sample to be used in the filter |
saturated | if not null, *saturated is set to true if all the time sample are not in gain 12 and set to false otherwise. |
Definition at line 1950 of file EcalSelectiveReadoutValidation.cc.
References EcalMGPASample::adc(), EcalMGPASample::gainId(), LogTrace, bookConverter::max, compare_using_db::sample, EcalDataFrame::size(), and w.
Referenced by analyzeEB(), and analyzeEE().
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 831 of file EcalSelectiveReadoutValidation.cc.
References elecMap_, edm::EventSetup::get(), initAsciiFile(), edm::ESHandle< class >::product(), and triggerTowerMap_.
|
overrideprotectedvirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 845 of file EcalSelectiveReadoutValidation.cc.
References MonitorElement::Fill(), getL1aRate(), and meL1aRate_.
|
inlineprivate |
Wrapper to fill methods of DQM monitor elements.
Definition at line 358 of file EcalSelectiveReadoutValidation.h.
References MonitorElement::Fill().
Referenced by analyze(), analyzeDataVolume(), analyzeEB(), analyzeEE(), analyzeTP(), checkSrApplication(), and compareSrfColl().
|
inlineprivate |
|
inlineprivate |
Definition at line 364 of file EcalSelectiveReadoutValidation.h.
References MonitorElement::Fill().
|
inlineprivate |
|
private |
Selective Readout decisions Validation
event | EDM event |
es | event setup Energy reconstruction from ADC samples. |
frame | the ADC sample of an ECA channel |
Definition at line 1591 of file EcalSelectiveReadoutValidation.cc.
References assert(), i, min(), gen::n, EcalDataFrame::size(), and weights_.
Referenced by analyzeEB(), and analyzeEE().
|
private |
Energy reconstruction from ADC samples to be used for trigger primitive estimate.
frame | the ADC sample of an ECA channel |
offset | time offset. To be used to evaluate energy of the event previous (offset=-1) and next (offset=+1) to the triggered one. |
Definition at line 1795 of file EcalSelectiveReadoutValidation.cc.
References Exception, i, gen::n, hltrates_dqm_sourceclient-live_cfg::offset, and create_public_pileup_plots::weights.
Referenced by setTtEtSums().
|
inlineprivate |
Gets the number of bytes per crystal channel of the event part depending on the number of read crystal channels.
Definition at line 145 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), getDccSrDependentPayload(), getEbEventSize(), and getEeEventSize().
|
private |
Retrieves number of crystal channel read out by a DCC channel
iDcc | DCC ID starting from 1 |
iDccCh | DCC channel starting from 1 |
Definition at line 2260 of file EcalSelectiveReadoutValidation.cc.
References maxDccId_.
Referenced by analyzeDataVolume(), and checkSrApplication().
|
inlineprivate |
Gets the size of an DCC event fragment.
iDcc0 | the DCC logical number starting from 0. |
nReadXtals | number of read crystal channels. |
Definition at line 154 of file EcalSelectiveReadoutValidation.h.
References EB, EE, getDccOverhead(), getDccSrDependentPayload(), and getRuCount().
Referenced by analyzeDataVolume().
|
inlineprivate |
Gets the size in bytes fixed-size part of a DCC event fragment.
Definition at line 136 of file EcalSelectiveReadoutValidation.h.
References EB.
Referenced by getDccEventSize(), getEbEventSize(), and getEeEventSize().
|
inlineprivate |
Gets DCC event fragment payload depending on the channel selection made by the selective readout.
iDcc0 | the DCC logical number starting from 0. |
nReadRus | number of read-out RUs |
nReadXtals | number of read-out crystal channels. |
Definition at line 174 of file EcalSelectiveReadoutValidation.h.
References getBytesPerCrystal().
Referenced by analyzeDataVolume(), and getDccEventSize().
|
private |
Computes the size of an ECAL barrel event fragment.
nReadXtals | number of read crystal channels |
Definition at line 1924 of file EcalSelectiveReadoutValidation.cc.
References EB, getBytesPerCrystal(), getDccOverhead(), getRuCount(), nEbDccs, and nEeDccs.
Referenced by analyzeDataVolume().
|
private |
Computes the size of an ECAL endcap event fragment.
nReadXtals | number of read crystal channels |
Definition at line 1935 of file EcalSelectiveReadoutValidation.cc.
References EE, getBytesPerCrystal(), getDccOverhead(), getRuCount(), nDccs_, nEbDccs, and nEeDccs.
Referenced by analyzeDataVolume().
|
staticprivate |
Computes the ZS FIR filter weights from the normalized weights.
normalizedWeights | the normalized weights |
Definition at line 1999 of file EcalSelectiveReadoutValidation.cc.
References funct::abs(), i, and min().
Referenced by configFirWeights().
|
private |
Gets L1A rate estimate.
Definition at line 181 of file EcalSelectiveReadoutValidation.cc.
References alignCSCRings::e, l1aOfTmax, l1aOfTmin, LogDebug, tmax, and tmin.
Referenced by endRun().
|
private |
Gets the number of readout unit read by a DCC. A readout unit correspond to an active DCC input channel.
iDcc0 | DCC logical number starting from 0. |
Definition at line 1625 of file EcalSelectiveReadoutValidation.cc.
References nRuPerDcc_.
Referenced by getDccEventSize(), getEbEventSize(), and getEeEventSize().
|
inlineprivate |
Converts a std CMSSW crystal eta index to a c-array index (starting from zero and without hole).
Definition at line 222 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), and analyzeEB().
|
private |
Definition at line 2059 of file EcalSelectiveReadoutValidation.cc.
References Exception, logSrApplicationErrors_, logSrpAlgoErrors_, dbtoconf::out, srApplicationErrorLog_, srApplicationErrorLogFileName_, srpAlgoErrorLog_, srpAlgoErrorLogFileName_, and estimatePileup_makeJSON::trunc.
Referenced by dqmBeginRun().
|
inlineprivate |
Converts a std CMSSW crystal phi index to a c-array index (starting from zero and without hole).
Definition at line 229 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), and analyzeEB().
|
inlineprivate |
Transforms CMSSW eta ECAL TT indices to indices starting at 0 to use for c-array or vector.
iEta | CMSSW eta index (numbering -28...-1,28...56) |
Definition at line 267 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), dccCh(), and setTtEtSums().
|
inlineprivate |
Transforms CMSSW phi ECAL crystal indices to indices starting at 0 to use for c-array or vector.
iPhi | CMSSW phi index (numbering 1...72) |
Definition at line 276 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), dccCh(), and setTtEtSums().
|
inlineprivate |
Converts a std CMSSW crystal x or y index to a c-array index (starting from zero and without hole).
Definition at line 239 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), and analyzeEE().
|
private |
Prints the list of available histograms (registered by the registerHist method), including disabled one.
Definition at line 1912 of file EcalSelectiveReadoutValidation.cc.
References availableHistList_, and cmsBatch::log.
Referenced by bookHistograms().
|
private |
Reads the data collections from the event. Called at start of each event analysis.
event | the EDM event. |
Definition at line 1895 of file EcalSelectiveReadoutValidation.cc.
References ebComputedSrFlags_, ebDigis_, ebNoZsDigis_, ebRecHits_, ebSimHits_, ebSrFlags_, eeComputedSrFlags_, eeDigis_, eeNoZsDigis_, eeRecHits_, eeSimHits_, eeSrFlags_, fedRaw_, CollHandle< T >::read(), and tps_.
Referenced by analyze().
|
private |
Retrives the readout unit, a trigger tower in the barrel case, and a supercrystal in the endcap case, a given crystal belongs to.
xtalId | identifier of the crystal |
Definition at line 1697 of file EcalSelectiveReadoutValidation.cc.
References EcalTrigTowerConstituentsMap::towerOf(), and triggerTowerMap_.
Referenced by anaDigi(), analyzeEB(), and analyzeEE().
|
private |
Definition at line 1702 of file EcalSelectiveReadoutValidation.cc.
References EcalElectronicsId::dccId(), elecMap_, EcalElectronicsMapping::getEcalScDetId(), EcalElectronicsMapping::getElectronicsId(), and EcalElectronicsId::towerId().
|
private |
Register a histogram in the available histogram list and check if the histogram is enabled. Called by the histogram booking methods.
Definition at line 1889 of file EcalSelectiveReadoutValidation.cc.
References allHists_, availableHistList_, and histList_.
Referenced by book1D(), book2D(), bookFloat(), bookProfile(), and bookProfile2D().
|
inlineprivate |
Functions to compute x and y coordinates of RU maps grouping endcap and barrel.
Definition at line 883 of file EcalSelectiveReadoutValidation.h.
Referenced by checkSrApplication(), and compareSrfColl().
|
inlineprivate |
Definition at line 891 of file EcalSelectiveReadoutValidation.h.
|
inlineprivate |
Definition at line 887 of file EcalSelectiveReadoutValidation.h.
Referenced by checkSrApplication(), and compareSrfColl().
|
inlineprivate |
Definition at line 895 of file EcalSelectiveReadoutValidation.h.
|
private |
Look in events whose DCC has SR flags and enable error logging for them. To be called with the processed first event. List of monitored DCCs is reported in the log file.
Definition at line 2161 of file EcalSelectiveReadoutValidation.cc.
References dccId(), ebSrFlags_, eeSrFlags_, plotBeamSpotDB::first, logErrForDccs_, minDccId_, nDccs_, srApplicationErrorLog_, and srpAlgoErrorLog_.
Referenced by analyze().
|
private |
Computes trigger primitive estimates. A sum of crystal deposited transverse energy is performed.
es | event setup |
ebDigis | the ECAL barrel unsuppressed digi to use for the computation |
ebDigis | the ECAL endcap unsuppressed digi to use for the computation |
Definition at line 1712 of file EcalSelectiveReadoutValidation.cc.
References edm::DataFrameContainer::begin(), alignCSCRings::e, ebDigis_, DetId::Ecal, EcalBarrel, EcalEndcap, edm::DataFrameContainer::end(), frame2EnergyForTp(), edm::EventSetup::get(), CaloSubdetectorGeometry::getGeometry(), EEDataFrame::id(), EBDataFrame::id(), EcalTrigTowerDetId::ieta(), EcalTrigTowerDetId::iphi(), iTtEta2cIndex(), iTtPhi2cIndex(), nTtEta, nTtPhi, funct::sin(), theta(), EcalTrigTowerConstituentsMap::towerOf(), triggerTowerMap_, ttEtSums, and ecaldqm::ttId().
Referenced by analyze().
|
private |
Updates estimate of L1A rate
event | EDM event |
Definition at line 164 of file EcalSelectiveReadoutValidation.cc.
References l1aOfTmax, l1aOfTmin, lumiQTWidget::t, tmax, and tmin.
Referenced by analyze().
|
inlineprivate |
Definition at line 899 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and analyzeEE().
|
inlineprivate |
Definition at line 907 of file EcalSelectiveReadoutValidation.h.
|
inlineprivate |
Definition at line 903 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and analyzeEE().
|
inlineprivate |
Definition at line 911 of file EcalSelectiveReadoutValidation.h.
|
private |
When true, every histogram is enabled.
Definition at line 811 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation(), and registerHist().
|
private |
List of available histograms. Filled by the booking methods. key: name, value: title.
Definition at line 820 of file EcalSelectiveReadoutValidation.h.
Referenced by bookHistograms(), printAvailableHists(), and registerHist().
|
private |
Switch for collection-not-found warning.
Definition at line 488 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 516 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), EcalSelectiveReadoutValidation(), and readAllCollections().
|
private |
The event product collections.
Definition at line 510 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), analyzeEB(), EcalSelectiveReadoutValidation(), readAllCollections(), and setTtEtSums().
|
private |
Energy deposited in ECAL barrel crystals. Eta index starts from 0 at eta minimum and phi index starts at phi=0+ in CMS std coordinate system.
Definition at line 792 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB().
|
private |
Definition at line 512 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeEB(), EcalSelectiveReadoutValidation(), and readAllCollections().
|
private |
Definition at line 521 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), EcalSelectiveReadoutValidation(), and readAllCollections().
For book keeping of RU actually read out (not fully zero suppressed)
Definition at line 769 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), and anaDigiInit().
|
private |
Definition at line 518 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeEB(), EcalSelectiveReadoutValidation(), and readAllCollections().
|
private |
Definition at line 514 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeDataVolume(), analyzeEB(), EcalSelectiveReadoutValidation(), readAllCollections(), and selectFedsForLog().
|
staticprivate |
Number of crystals along an EB TT.
Definition at line 459 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi().
|
private |
ZS threshold in 1/4th ADC count for EB
Definition at line 690 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), bookHistograms(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 517 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), EcalSelectiveReadoutValidation(), and readAllCollections().
|
private |
Definition at line 511 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), analyzeEE(), EcalSelectiveReadoutValidation(), and readAllCollections().
|
private |
Energy deposited in ECAL endcap crystals. Endcap index is 0 for EE- and 1 for EE+. X and Y index starts at x and y minimum in std CMS coordinate system.
Definition at line 798 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE().
|
private |
Definition at line 513 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeEE(), EcalSelectiveReadoutValidation(), and readAllCollections().
|
private |
Definition at line 522 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), EcalSelectiveReadoutValidation(), and readAllCollections().
Definition at line 770 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), and anaDigiInit().
|
private |
Definition at line 519 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeEE(), EcalSelectiveReadoutValidation(), and readAllCollections().
|
private |
Definition at line 515 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeDataVolume(), analyzeEE(), EcalSelectiveReadoutValidation(), readAllCollections(), and selectFedsForLog().
|
private |
ZS threshold in 1/4th ADC count for EE
Definition at line 694 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), bookHistograms(), and EcalSelectiveReadoutValidation().
|
private |
Ecal electronics/geometrical mapping.
Definition at line 673 of file EcalSelectiveReadoutValidation.h.
Referenced by dccCh(), dccId(), dqmBeginRun(), and readOutUnitOf().
|
private |
Definition at line 523 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), EcalSelectiveReadoutValidation(), and readAllCollections().
|
private |
Time position of the first sample to use in zero suppession FIR filter. Numbering starts at 0.
Definition at line 703 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), and configFirWeights().
|
private |
Weights to be used for the ZS FIR filter
Definition at line 686 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), and configFirWeights().
|
private |
Histogram directory PATH in DQM or within the output ROOT file
Definition at line 815 of file EcalSelectiveReadoutValidation.h.
|
private |
List of enabled histograms. Special name "all" is used to indicate all available histograms.
Definition at line 807 of file EcalSelectiveReadoutValidation.h.
Referenced by bookHistograms(), EcalSelectiveReadoutValidation(), and registerHist().
|
private |
Event sequence number
Definition at line 781 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeEB(), and analyzeEE().
Definition at line 773 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), analyzeEB(), and analyzeEE().
|
staticprivate |
number of bytes in 1 kByte:
Definition at line 413 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume().
|
private |
Definition at line 532 of file EcalSelectiveReadoutValidation.h.
Referenced by getL1aRate(), and updateL1aRate().
|
private |
Definition at line 531 of file EcalSelectiveReadoutValidation.h.
Referenced by getL1aRate(), and updateL1aRate().
|
private |
Definition at line 533 of file EcalSelectiveReadoutValidation.h.
|
private |
Local reconstruction switch: true to reconstruct locally the amplitude insted of using the Rec Hits.
Definition at line 678 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and analyzeEE().
|
private |
List of TCC masks for validation If tccMasks[iTcc-1] is false then TCC is considered to have been out of the run and related validations are skipped.
Definition at line 714 of file EcalSelectiveReadoutValidation.h.
Referenced by compareSrfColl(), and selectFedsForLog().
|
private |
Switch to log SR decision that fails to be applied on data: inconstitencies between SRF and number of read out crystals.
Definition at line 858 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation(), and initAsciiFile().
|
private |
Switch to log in an ascii file inconsistencies found between SRFs read from data and SRFs obtained by rerunning SRP algorithm on TTFs.
Definition at line 853 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation(), and initAsciiFile().
Definition at line 426 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), dccCh(), and getCrystalCount().
|
private |
Definition at line 552 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), and bookHistograms().
|
private |
Definition at line 603 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 615 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 607 of file EcalSelectiveReadoutValidation.h.
Referenced by bookHistograms(), and checkSrApplication().
|
private |
Definition at line 611 of file EcalSelectiveReadoutValidation.h.
Referenced by bookHistograms(), and checkSrApplication().
|
private |
Definition at line 541 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and bookHistograms().
|
private |
Definition at line 540 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and bookHistograms().
|
private |
The histograms
Definition at line 539 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and bookHistograms().
|
private |
Definition at line 542 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and bookHistograms().
|
private |
Definition at line 602 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 614 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 606 of file EcalSelectiveReadoutValidation.h.
Referenced by bookHistograms(), and checkSrApplication().
|
private |
Definition at line 610 of file EcalSelectiveReadoutValidation.h.
Referenced by bookHistograms(), and checkSrApplication().
|
private |
Definition at line 561 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and bookHistograms().
|
private |
Event payload that do not depend on the number of crystals passing the SR
Definition at line 628 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 588 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 592 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and bookHistograms().
|
private |
Definition at line 593 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 591 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and bookHistograms().
|
private |
Definition at line 562 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and bookHistograms().
|
private |
Definition at line 566 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and bookHistograms().
|
private |
Definition at line 560 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and bookHistograms().
|
private |
Definition at line 564 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and bookHistograms().
|
private |
Definition at line 565 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and bookHistograms().
|
private |
Definition at line 563 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and bookHistograms().
|
private |
Definition at line 616 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 619 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 569 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and bookHistograms().
|
private |
Definition at line 629 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 589 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 596 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and bookHistograms().
|
private |
Definition at line 595 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and bookHistograms().
|
private |
Definition at line 570 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and bookHistograms().
|
private |
Definition at line 574 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and bookHistograms().
|
private |
Definition at line 568 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and bookHistograms().
|
private |
Definition at line 572 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and bookHistograms().
|
private |
Definition at line 573 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and bookHistograms().
|
private |
Definition at line 571 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and bookHistograms().
|
private |
Definition at line 617 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 620 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 630 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 578 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), and bookHistograms().
|
private |
Definition at line 583 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 587 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 576 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), and bookHistograms().
|
private |
Definition at line 582 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 601 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 613 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 605 of file EcalSelectiveReadoutValidation.h.
Referenced by bookHistograms(), and checkSrApplication().
|
private |
Definition at line 609 of file EcalSelectiveReadoutValidation.h.
Referenced by bookHistograms(), and checkSrApplication().
|
private |
Estimate of L1A rate
Definition at line 635 of file EcalSelectiveReadoutValidation.h.
Referenced by bookHistograms(), and endRun().
|
private |
Definition at line 580 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 581 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 598 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 599 of file EcalSelectiveReadoutValidation.h.
Referenced by bookHistograms(), and compareSrfColl().
|
private |
Definition at line 597 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 554 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 585 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 558 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 555 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 557 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 556 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 543 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and bookHistograms().
|
private |
Definition at line 544 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and bookHistograms().
|
private |
Definition at line 549 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and bookHistograms().
|
private |
Definition at line 546 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and bookHistograms().
|
private |
Definition at line 545 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and bookHistograms().
|
private |
Definition at line 550 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and bookHistograms().
|
private |
Definition at line 547 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and bookHistograms().
|
private |
Definition at line 551 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and bookHistograms().
|
private |
Definition at line 548 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and bookHistograms().
|
private |
Definition at line 577 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), and bookHistograms().
|
private |
Definition at line 618 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 621 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
staticprivate |
Definition at line 423 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), analyzeDataVolume(), checkSrApplication(), compareSrfColl(), dccCh(), and selectFedsForLog().
|
private |
Counter of ZS-flagged RU fully read out.
Definition at line 644 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and checkSrApplication().
|
staticprivate |
Number of input channels of a DCC.
Definition at line 420 of file EcalSelectiveReadoutValidation.h.
|
staticprivate |
number of RUs for each DCC
Definition at line 441 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume().
|
staticprivate |
Total number of DCCs.
Definition at line 416 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), bookHistograms(), getEeEventSize(), and selectFedsForLog().
|
private |
Counter of FRO-flagged RU dropped from data.
Definition at line 638 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and checkSrApplication().
|
private |
ECAL barrel read channel count
Definition at line 718 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
staticprivate |
number of DCCs for EB
Definition at line 429 of file EcalSelectiveReadoutValidation.h.
Referenced by getEbEventSize(), and getEeEventSize().
|
staticprivate |
number of crystals along Eta in EB
Definition at line 447 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB().
|
private |
Counter of EB FRO-flagged RUs.
Definition at line 647 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEB().
|
private |
ECAL barrel high interest read channel count
Definition at line 738 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
private |
ECAL barrel low interest read channel count
Definition at line 734 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
staticprivate |
number of crystals along Phi in EB
Definition at line 450 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB().
|
staticprivate |
number of RUs for EB
Definition at line 435 of file EcalSelectiveReadoutValidation.h.
|
staticprivate |
Number of Trigger Towers in barrel along Eta.
Definition at line 468 of file EcalSelectiveReadoutValidation.h.
|
private |
Counter of EB ZS errors (LI channel below ZS threshold)
Definition at line 653 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEB().
|
private |
Counter of EB ZS errors of type 1: LI channel below ZS threshold and in a RU which was fully readout
Definition at line 660 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEB().
|
private |
ECAL endcap read channel count
Definition at line 722 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
staticprivate |
number of DCCs for EE
Definition at line 432 of file EcalSelectiveReadoutValidation.h.
Referenced by getEbEventSize(), and getEeEventSize().
|
private |
Counter of EE FRO-flagged RUs.
Definition at line 650 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEE().
|
private |
ECAL endcap high interest read channel count
Definition at line 730 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
private |
ECAL endcap low interest read channel count
Definition at line 726 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
staticprivate |
number of RUs for EE
Definition at line 438 of file EcalSelectiveReadoutValidation.h.
|
staticprivate |
EE crystal grid size along X.
Definition at line 453 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE().
|
staticprivate |
EE crystal grid size along Y.
Definition at line 456 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE().
|
private |
Counter of EE ZS errors (LI channel below ZS threshold)
Definition at line 656 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEE().
|
private |
Counter of EE ZS errors of tyoe 1: LI channel below ZS threshold and in a RU which was fully readout
Definition at line 664 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEE().
|
staticprivate |
number of endcaps
Definition at line 444 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE().
|
private |
read-out ECAL Hiugh interest channel count for each DCC:
Definition at line 750 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
private |
Count for each DCC of HI RUs with at leat one channel read out:
Definition at line 763 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
private |
Counter of FRO-flagged RU only partial data.
Definition at line 641 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and checkSrApplication().
|
private |
read-out ECAL Low interest channel count for each DCC:
Definition at line 746 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
private |
Count for each DCC of LI RUs with at leat one channel read out:
Definition at line 759 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
staticprivate |
Number of crystals per Readout Unit excepted partial SCs.
Definition at line 477 of file EcalSelectiveReadoutValidation.h.
|
staticprivate |
Number of Trigger Towers in an endcap along Eta.
Definition at line 465 of file EcalSelectiveReadoutValidation.h.
Referenced by dccCh().
|
private |
read-out ECAL channel count for each DCC:
Definition at line 742 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
Number of crystal read for each DCC channel (aka readout unit).
Definition at line 777 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), analyzeDataVolume(), and checkSrApplication().
|
private |
Count for each DCC of RUs with at leat one channel read out:
Definition at line 755 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and getRuCount().
|
staticprivate |
Number of Trigger Towers along Eta.
Definition at line 471 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and setTtEtSums().
|
staticprivate |
Number of Trigger Towers along Phi.
Definition at line 474 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and setTtEtSums().
|
private |
Output file for histograms.
Definition at line 485 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation().
|
staticprivate |
Conversion factor from radian to degree.
Definition at line 479 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and analyzeEE().
|
staticprivate |
Number of crystals along a supercrystal edge.
Definition at line 462 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi().
|
private |
Permits to skip inner SC
Definition at line 802 of file EcalSelectiveReadoutValidation.h.
|
private |
Output ascii file for unconsistency between Xtals and RU Flags.
Definition at line 502 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), checkSrApplication(), initAsciiFile(), and selectFedsForLog().
|
private |
Output ascii file name for unconsistency between SRFs and actual number of read-out crystals.
Definition at line 496 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation(), and initAsciiFile().
|
private |
Output ascii file for unconsistency on SR flags.
Definition at line 499 of file EcalSelectiveReadoutValidation.h.
Referenced by compareSrfColl(), initAsciiFile(), and selectFedsForLog().
|
private |
Output ascii file name for unconsistency between SRFs read from data and SRF obtained by rerunning SRP algorithm on TTFs.
Definition at line 492 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation(), and initAsciiFile().
|
private |
For L1A rate estimate
Definition at line 529 of file EcalSelectiveReadoutValidation.h.
Referenced by getL1aRate(), and updateL1aRate().
|
private |
Definition at line 530 of file EcalSelectiveReadoutValidation.h.
Referenced by getL1aRate(), and updateL1aRate().
|
private |
Switch for uncompressing TP value
Definition at line 698 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 520 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeTP(), EcalSelectiveReadoutValidation(), and readAllCollections().
|
private |
ECAL trigger tower mapping
Definition at line 669 of file EcalSelectiveReadoutValidation.h.
Referenced by dqmBeginRun(), readOutUnitOf(), and setTtEtSums().
Trigger tower Et computed as sum the crystal Et. Indices stands for the eta and phi TT index starting from 0 at eta minimum and at phi=0+ in std CMS coordinate system.
Definition at line 787 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and setTtEtSums().
|
private |
Switch to fill histograms with event rate instead of event count. Applies only to some histograms.
Definition at line 708 of file EcalSelectiveReadoutValidation.h.
|
private |
Verbosity switch.
Definition at line 482 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation().
|
private |
Weights for amplitude local reconstruction
Definition at line 682 of file EcalSelectiveReadoutValidation.h.
Referenced by frame2Energy().
|
private |
Indicates if EB sim hits are available
Definition at line 829 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEB().
|
private |
Indicates if EE sim hits are available
Definition at line 825 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEE().
|
private |
File to log ZS and other errors.
Definition at line 505 of file EcalSelectiveReadoutValidation.h.