#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 | dqmEndRun (const edm::Run &r, const edm::EventSetup &c) override |
Protected Member Functions inherited from edm::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (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) |
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 * | bookFloat (DQMStore::IBooker &, const std::string &name) |
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="") |
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 |
int | dccId (const EcalScDetId &detId) const |
int | dccId (const EcalTrigTowerDetId &detId) const |
void | fill (MonitorElement *me, float x) |
void | fill (MonitorElement *me, float x, float y, float z, float w) |
void | fill (MonitorElement *me, float x, float y, float zw) |
void | fill (MonitorElement *me, float x, float yw) |
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) |
EcalTrigTowerDetId | readOutUnitOf (const EBDetId &xtalId) const |
EcalScDetId | readOutUnitOf (const EEDetId &xtalId) const |
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) |
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 |
Static Private Member Functions | |
static int | dccZsFIR (const EcalDataFrame &frame, const std::vector< int > &firWeights, int firstFIRSample, bool *saturated=nullptr) |
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... | |
Additional Inherited Members | |
Public Types inherited from DQMOneEDAnalyzer<> | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Attributes inherited from DQMOneEDAnalyzer<> | |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 46 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 48 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 47 of file EcalSelectiveReadoutValidation.h.
|
private |
distinguishes barral and endcap of ECAL.
Enumerator | |
---|---|
EB | |
EE |
Definition at line 67 of file EcalSelectiveReadoutValidation.h.
EcalSelectiveReadoutValidation::EcalSelectiveReadoutValidation | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 98 of file EcalSelectiveReadoutValidation.cc.
References allHists_, edm::BeginRun, 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_, compare::hists, logSrApplicationErrors_, logSrpAlgoErrors_, outputFile_, CollHandle< T >::setToken(), srApplicationErrorLogFileName_, srpAlgoErrorLogFileName_, tps_, and verbose_.
|
override |
|
private |
Accumulates statitics for data volume analysis. To be called for each ECAL digi. See anaDigiInit().
Definition at line 1649 of file EcalSelectiveReadoutValidation.cc.
References Reference_intrackfit_cff::barrel, dccCh(), ebRuActive_, ebTtEdge, EcalBarrel, eeRuActive_, Exception, RemoveAddSevLevel::flag, amptDefault_cfi::frame, LEDCalibrationChannels::ieta, iEta2cIndex(), LEDCalibrationChannels::iphi, 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 1724 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.
Reimplemented from DQMOneEDAnalyzer<>.
Definition at line 218 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 1595 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 557 of file EcalSelectiveReadoutValidation.cc.
References cms::cuda::assert(), edm::DataFrameContainer::begin(), gather_cfg::cout, dccCh(), dccZsFIR(), ebDigis_, ebEnergies, ebNoZsDigis_, ebRecHits_, ebSimHits_, ebSrFlags_, ebZsThr_, DetId::Ecal, EcalBarrel, edm::DataFrameContainer::end(), PV3DBase< T, PVType, FrameType >::eta(), EcalSelectiveReadoutValidation::energiesEb_t::eta, Exception, fill(), first, firstFIRSample_, firWeights_, RemoveAddSevLevel::flag, amptDefault_cfi::frame, frame2Energy(), EcalSelectiveReadoutValidation::energiesEb_t::gain12, ecalLiteDTU::gainId(), geoToken, CaloSubdetectorGeometry::getGeometry(), edm::EventSetup::getHandle(), mps_fire::i, EBSrFlag::id(), hit::id, EcalTrigTowerDetId::ieta(), L1TowerCalibrationProducer_cfi::iEta, LEDCalibrationChannels::ieta, iEta2cIndex(), EcalTrigTowerDetId::ietaAbs(), ievt_, EcalTrigTowerDetId::iphi(), LEDCalibrationChannels::iphi, iPhi2cIndex(), isRuComplete_, localReco_, SiStripPI::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, rpcPointValidation_cfi::simHit, EcalSelectiveReadoutValidation::energiesEb_t::simHit, 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 289 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(), PV3DBase< T, PVType, FrameType >::eta(), EcalSelectiveReadoutValidation::energiesEe_t::eta, Exception, fill(), first, firstFIRSample_, firWeights_, RemoveAddSevLevel::flag, amptDefault_cfi::frame, frame2Energy(), EcalSelectiveReadoutValidation::energiesEe_t::gain12, ecalLiteDTU::gainId(), geoToken, CaloSubdetectorGeometry::getGeometry(), edm::EventSetup::getHandle(), mps_fire::i, EESrFlag::id(), hit::id, ievt_, isRuComplete_, EcalScDetId::ix(), EEDetId::ix(), iXY2cIndex(), EcalScDetId::iy(), localReco_, SiStripPI::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, rpcPointValidation_cfi::simHit, EcalSelectiveReadoutValidation::energiesEe_t::simHit, edm::DataFrameContainer::size(), srApplicationErrorLog_, EcalSrFlag::SRF_FORCED_MASK, EcalSrFlag::SRF_FULL, EcalSrFlag::SRF_ZS1, findQualityFiles::v, EcalSrFlag::value(), withEeSimHit_, phase1PixelTopology::xOffset, xtalGraphX(), xtalGraphY(), EcalScDetId::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 1478 of file EcalSelectiveReadoutValidation.cc.
References cIndex2iTtEta(), cIndex2iTtPhi(), DetId::Ecal, EcalBarrel, EcalEndcap, fill(), edm::EventSetup::getData(), dqm::impl::MonitorElement::getTProfile(), mps_fire::i, L1TowerCalibrationProducer_cfi::iEta, iTtEta2cIndex(), iTtPhi2cIndex(), lutGrpHandle, lutMapHandle, meForcedTtf_, meHiTtf_, meLiTtf_, meMiTtf_, meTp_, meTpMap_, meTpVsEtSum_, meTtf_, meTtfVsEtSum_, meTtfVsTp_, nTtEta, nTtPhi, physHandle, ecaldqm::towerId(), tpInGeV_, tps_, and ttEtSums.
Referenced by analyze().
|
private |
Definition at line 1972 of file EcalSelectiveReadoutValidation.cc.
References dqm::implementation::IBooker::book1D(), Exception, Skims_PA_cff::name, LaserClient_cfi::nbins, registerHist(), mps_fire::result, runGCPTkAlMap::title, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
Referenced by bookHistograms().
|
private |
Definition at line 1983 of file EcalSelectiveReadoutValidation.cc.
References dqm::implementation::IBooker::book2D(), Exception, Skims_PA_cff::name, registerHist(), mps_fire::result, runGCPTkAlMap::title, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, and L1TOccupancyClient_cfi::ymin.
Referenced by bookHistograms().
|
private |
Wrappers to the book methods of the DQMStore DQM histogramming interface.
Definition at line 1961 of file EcalSelectiveReadoutValidation.cc.
References dqm::implementation::IBooker::bookFloat(), Exception, Skims_PA_cff::name, registerHist(), and mps_fire::result.
Referenced by bookHistograms().
|
overridevirtual |
Implements DQMOneEDAnalyzer<>.
Definition at line 847 of file EcalSelectiveReadoutValidation.cc.
References availableHistList_, book1D(), book2D(), bookFloat(), bookProfile(), bookProfile2D(), visDQMUpload::buf, 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, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, and tpInGeV_.
|
private |
Definition at line 2001 of file EcalSelectiveReadoutValidation.cc.
References dqm::implementation::IBooker::bookProfile(), Exception, Skims_PA_cff::name, LaserClient_cfi::nbins, registerHist(), mps_fire::result, runGCPTkAlMap::title, TrackerOfflineValidation_Dqm_cff::xmax, and TrackerOfflineValidation_Dqm_cff::xmin.
Referenced by bookHistograms().
|
private |
Definition at line 2012 of file EcalSelectiveReadoutValidation.cc.
References dqm::implementation::IBooker::bookProfile2D(), Exception, Skims_PA_cff::name, fileinputsource_cfi::option, registerHist(), mps_fire::result, runGCPTkAlMap::title, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, and L1TOccupancyClient_cfi::ymin.
Referenced by bookHistograms().
|
private |
Checks application of SR decision by the DCC.
event | event currently analyzed. |
srfs | Selective readou flags |
Definition at line 2309 of file EcalSelectiveReadoutValidation.cc.
References dccCh(), fill(), RemoveAddSevLevel::flag, 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 248 of file EcalSelectiveReadoutValidation.h.
References mps_fire::i.
Referenced by dccCh().
|
inlineprivate |
converse of iPhi2cIndex() method.
Definition at line 252 of file EcalSelectiveReadoutValidation.h.
References mps_fire::i.
Referenced by dccCh().
|
inlineprivate |
converse of iTtEta2cIndex() method.
Definition at line 275 of file EcalSelectiveReadoutValidation.h.
References mps_fire::i.
Referenced by analyzeTP().
|
inlineprivate |
converse of iTtPhi2cIndex() method.
Definition at line 279 of file EcalSelectiveReadoutValidation.h.
References mps_fire::i.
Referenced by analyzeTP().
|
inlineprivate |
converse of iXY2cIndex() method.
Definition at line 244 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 2215 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 2147 of file EcalSelectiveReadoutValidation.cc.
References Exception, firstFIRSample_, firWeights_, getFIRWeights(), mps_fire::i, createfilelist::int, dqm-mbProfile::log, and mathSSE::sqrt().
Referenced by EcalSelectiveReadoutValidation().
|
private |
Retrieves the logical number of the DCC reading a given crystal channel.
xtarId | crystal channel identifier |
/** Retrieves the DCC channel reading out a crystal, the crystals of a barrel trigger tower or the crystals, of an endcap supercrystal.
xtarId | crystal channel, barrel trigger tower or endcap supercrystal identifier |
Definition at line 1778 of file EcalSelectiveReadoutValidation.cc.
References cIndex2iEta(), cIndex2iPhi(), EcalElectronicsId::dccId(), TauDecayModes::dec, DetId::det(), DetId::Ecal, EcalBarrel, EcalEndcap, EcalTriggerTower, elecMap_, Exception, EcalElectronicsMapping::getDCCandSC(), EcalElectronicsMapping::getElectronicsId(), iTtEta2cIndex(), iTtPhi2cIndex(), maxDccId_, minDccId_, nOneEeTtEta, DetId::rawId(), mps_fire::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 2267 of file EcalSelectiveReadoutValidation.cc.
References elecMap_, and EcalElectronicsMapping::getDCCandSC().
Referenced by selectFedsForLog().
|
private |
Definition at line 2269 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 2087 of file EcalSelectiveReadoutValidation.cc.
References amptDefault_cfi::frame, LogTrace, SiStripPI::max, simplePhotonAnalyzer_cfi::sample, and w.
Referenced by analyzeEB(), and analyzeEE().
|
overridevirtual |
Reimplemented from DQMOneEDAnalyzer<>.
Definition at line 833 of file EcalSelectiveReadoutValidation.cc.
References ecalmapping, elecMap_, edm::EventSetup::getData(), hTriggerTowerMap, initAsciiFile(), and triggerTowerMap_.
|
overrideprotectedvirtual |
Reimplemented from DQMOneEDAnalyzer<>.
Definition at line 843 of file EcalSelectiveReadoutValidation.cc.
References dqm::impl::MonitorElement::Fill(), getL1aRate(), and meL1aRate_.
|
inlineprivate |
Wrapper to fill methods of DQM monitor elements.
Definition at line 350 of file EcalSelectiveReadoutValidation.h.
References hlt_dqm_clientPB-live_cfg::me, and x.
Referenced by analyze(), analyzeDataVolume(), analyzeEB(), analyzeEE(), analyzeTP(), checkSrApplication(), and compareSrfColl().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Definition at line 354 of file EcalSelectiveReadoutValidation.h.
References hlt_dqm_clientPB-live_cfg::me, and x.
|
private |
Selective Readout decisions Validation
event | EDM event |
es | event setup / void SRFlagValidation(const edm::Event& event, const edm::EventSetup& es); |
/** Energy reconstruction from ADC samples.
frame | the ADC sample of an ECA channel |
Definition at line 1742 of file EcalSelectiveReadoutValidation.cc.
References cms::cuda::assert(), visDQMUpload::buf, amptDefault_cfi::frame, mps_fire::i, createfilelist::int, min(), dqmiodumpmetadata::n, 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 1929 of file EcalSelectiveReadoutValidation.cc.
References Exception, amptDefault_cfi::frame, mps_fire::i, dqmiodumpmetadata::n, hltrates_dqm_sourceclient-live_cfg::offset, and HLT_FULL_cff::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 154 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 2356 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 161 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 145 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 180 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 2063 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 2073 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 2134 of file EcalSelectiveReadoutValidation.cc.
References funct::abs(), mps_fire::i, and min().
Referenced by configFirWeights().
|
private |
Gets L1A rate estimate.
Definition at line 211 of file EcalSelectiveReadoutValidation.cc.
References MillePedeFileConverter_cfg::e, l1aOfTmax, l1aOfTmin, LogDebug, tmax, and tmin.
Referenced by dqmEndRun().
|
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 1776 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 224 of file EcalSelectiveReadoutValidation.h.
References L1TowerCalibrationProducer_cfi::iEta.
Referenced by anaDigi(), and analyzeEB().
|
private |
Definition at line 2193 of file EcalSelectiveReadoutValidation.cc.
References Exception, logSrApplicationErrors_, logSrpAlgoErrors_, MillePedeFileConverter_cfg::out, srApplicationErrorLog_, srApplicationErrorLogFileName_, srpAlgoErrorLog_, srpAlgoErrorLogFileName_, and pileupReCalc_HLTpaths::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 259 of file EcalSelectiveReadoutValidation.h.
References L1TowerCalibrationProducer_cfi::iEta.
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 266 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 240 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 2053 of file EcalSelectiveReadoutValidation.cc.
References availableHistList_, and dqm-mbProfile::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 2036 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 1839 of file EcalSelectiveReadoutValidation.cc.
References EcalTrigTowerConstituentsMap::towerOf(), and triggerTowerMap_.
Referenced by anaDigi(), analyzeEB(), and analyzeEE().
|
private |
Definition at line 1843 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 2031 of file EcalSelectiveReadoutValidation.cc.
References allHists_, availableHistList_, histList_, Skims_PA_cff::name, and runGCPTkAlMap::title.
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 881 of file EcalSelectiveReadoutValidation.h.
Referenced by checkSrApplication(), and compareSrfColl().
|
inlineprivate |
Definition at line 885 of file EcalSelectiveReadoutValidation.h.
|
inlineprivate |
Definition at line 883 of file EcalSelectiveReadoutValidation.h.
Referenced by checkSrApplication(), and compareSrfColl().
|
inlineprivate |
Definition at line 887 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 2278 of file EcalSelectiveReadoutValidation.cc.
References visDQMUpload::buf, dccId(), ebSrFlags_, eeSrFlags_, 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 1852 of file EcalSelectiveReadoutValidation.cc.
References edm::DataFrameContainer::begin(), MillePedeFileConverter_cfg::e, ebDigis_, DetId::Ecal, EcalBarrel, EcalEndcap, SimL1EmulatorDM_cff::eeDigis, edm::DataFrameContainer::end(), EgHLTOffHistBins_cfi::et, amptDefault_cfi::frame, frame2EnergyForTp(), geoToken, edm::EventSetup::getData(), CaloSubdetectorGeometry::getGeometry(), edm::EventSetup::getHandle(), 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 193 of file EcalSelectiveReadoutValidation.cc.
References l1GtPatternGenerator_cfi::bx, l1aOfTmax, l1aOfTmin, submitPVValidationJobs::t, tmax, and tmin.
Referenced by analyze().
|
inlineprivate |
Definition at line 893 of file EcalSelectiveReadoutValidation.h.
|
inlineprivate |
Definition at line 889 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and analyzeEE().
|
inlineprivate |
Definition at line 895 of file EcalSelectiveReadoutValidation.h.
|
inlineprivate |
Definition at line 891 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and analyzeEE().
|
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 491 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 519 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), EcalSelectiveReadoutValidation(), and readAllCollections().
|
private |
The event product collections.
Definition at line 513 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 515 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeEB(), EcalSelectiveReadoutValidation(), and readAllCollections().
|
private |
Definition at line 524 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 521 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeEB(), EcalSelectiveReadoutValidation(), and readAllCollections().
|
private |
Definition at line 517 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeDataVolume(), analyzeEB(), EcalSelectiveReadoutValidation(), readAllCollections(), and selectFedsForLog().
|
staticprivate |
Number of crystals along an EB TT.
Definition at line 462 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi().
|
private |
ZS threshold in 1/4th ADC count for EB
Definition at line 692 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), bookHistograms(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 409 of file EcalSelectiveReadoutValidation.h.
Referenced by dqmBeginRun().
|
private |
Definition at line 520 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), EcalSelectiveReadoutValidation(), and readAllCollections().
|
private |
Definition at line 514 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 516 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeEE(), EcalSelectiveReadoutValidation(), and readAllCollections().
|
private |
Definition at line 525 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 522 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeEE(), EcalSelectiveReadoutValidation(), and readAllCollections().
|
private |
Definition at line 518 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 696 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), bookHistograms(), and EcalSelectiveReadoutValidation().
|
private |
Ecal electronics/geometrical mapping.
Definition at line 675 of file EcalSelectiveReadoutValidation.h.
Referenced by dccCh(), dccId(), dqmBeginRun(), and readOutUnitOf().
|
private |
Definition at line 526 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 705 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), and configFirWeights().
|
private |
Weights to be used for the ZS FIR filter
Definition at line 688 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), and configFirWeights().
|
private |
Definition at line 408 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), and setTtEtSums().
|
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 |
Definition at line 410 of file EcalSelectiveReadoutValidation.h.
Referenced by dqmBeginRun().
|
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 416 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume().
|
private |
Definition at line 535 of file EcalSelectiveReadoutValidation.h.
Referenced by getL1aRate(), and updateL1aRate().
|
private |
Definition at line 534 of file EcalSelectiveReadoutValidation.h.
Referenced by getL1aRate(), and updateL1aRate().
|
private |
Definition at line 536 of file EcalSelectiveReadoutValidation.h.
|
private |
Local reconstruction switch: true to reconstruct locally the amplitude insted of using the Rec Hits.
Definition at line 680 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 716 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 857 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 852 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation(), and initAsciiFile().
|
private |
Definition at line 412 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP().
|
private |
Definition at line 413 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP().
Definition at line 429 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), dccCh(), and getCrystalCount().
|
private |
Definition at line 555 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), and bookHistograms().
|
private |
Definition at line 606 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 618 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 610 of file EcalSelectiveReadoutValidation.h.
Referenced by bookHistograms(), and checkSrApplication().
|
private |
Definition at line 614 of file EcalSelectiveReadoutValidation.h.
Referenced by bookHistograms(), and checkSrApplication().
|
private |
Definition at line 544 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and bookHistograms().
|
private |
Definition at line 543 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and bookHistograms().
|
private |
The histograms
Definition at line 542 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 605 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 617 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 609 of file EcalSelectiveReadoutValidation.h.
Referenced by bookHistograms(), and checkSrApplication().
|
private |
Definition at line 613 of file EcalSelectiveReadoutValidation.h.
Referenced by bookHistograms(), and checkSrApplication().
|
private |
Definition at line 564 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 631 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 591 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 595 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and bookHistograms().
|
private |
Definition at line 596 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 594 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 569 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 567 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and bookHistograms().
|
private |
Definition at line 568 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 619 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 622 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 572 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and bookHistograms().
|
private |
Definition at line 632 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 592 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 599 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and bookHistograms().
|
private |
Definition at line 598 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 577 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 575 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and bookHistograms().
|
private |
Definition at line 576 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 620 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 623 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 633 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 581 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), and bookHistograms().
|
private |
Definition at line 586 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 590 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 579 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), and bookHistograms().
|
private |
Definition at line 585 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 604 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 616 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 608 of file EcalSelectiveReadoutValidation.h.
Referenced by bookHistograms(), and checkSrApplication().
|
private |
Definition at line 612 of file EcalSelectiveReadoutValidation.h.
Referenced by bookHistograms(), and checkSrApplication().
|
private |
Estimate of L1A rate
Definition at line 638 of file EcalSelectiveReadoutValidation.h.
Referenced by bookHistograms(), and dqmEndRun().
|
private |
Definition at line 583 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 584 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 601 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 602 of file EcalSelectiveReadoutValidation.h.
Referenced by bookHistograms(), and compareSrfColl().
|
private |
Definition at line 600 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 557 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 588 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 561 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 560 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 559 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 546 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 552 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 548 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and bookHistograms().
|
private |
Definition at line 553 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 554 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 580 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), and bookHistograms().
|
private |
Definition at line 621 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 624 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and bookHistograms().
|
staticprivate |
Definition at line 426 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 647 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and checkSrApplication().
|
staticprivate |
Number of input channels of a DCC.
Definition at line 423 of file EcalSelectiveReadoutValidation.h.
|
staticprivate |
number of RUs for each DCC
Definition at line 444 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume().
|
staticprivate |
Total number of DCCs.
Definition at line 419 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), bookHistograms(), getEeEventSize(), and selectFedsForLog().
|
private |
Counter of FRO-flagged RU dropped from data.
Definition at line 641 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and checkSrApplication().
|
private |
ECAL barrel read channel count
Definition at line 720 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
staticprivate |
number of DCCs for EB
Definition at line 432 of file EcalSelectiveReadoutValidation.h.
Referenced by getEbEventSize(), and getEeEventSize().
|
staticprivate |
number of crystals along Eta in EB
Definition at line 450 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB().
|
private |
Counter of EB FRO-flagged RUs.
Definition at line 650 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEB().
|
private |
ECAL barrel high interest read channel count
Definition at line 740 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
private |
ECAL barrel low interest read channel count
Definition at line 736 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
staticprivate |
number of crystals along Phi in EB
Definition at line 453 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB().
|
staticprivate |
number of RUs for EB
Definition at line 438 of file EcalSelectiveReadoutValidation.h.
|
staticprivate |
Number of Trigger Towers in barrel along Eta.
Definition at line 471 of file EcalSelectiveReadoutValidation.h.
|
private |
Counter of EB ZS errors (LI channel below ZS threshold)
Definition at line 656 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 663 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEB().
|
private |
ECAL endcap read channel count
Definition at line 724 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
staticprivate |
number of DCCs for EE
Definition at line 435 of file EcalSelectiveReadoutValidation.h.
Referenced by getEbEventSize(), and getEeEventSize().
|
private |
Counter of EE FRO-flagged RUs.
Definition at line 653 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEE().
|
private |
ECAL endcap high interest read channel count
Definition at line 732 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
private |
ECAL endcap low interest read channel count
Definition at line 728 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
staticprivate |
number of RUs for EE
Definition at line 441 of file EcalSelectiveReadoutValidation.h.
|
staticprivate |
EE crystal grid size along X.
Definition at line 456 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE().
|
staticprivate |
EE crystal grid size along Y.
Definition at line 459 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE().
|
private |
Counter of EE ZS errors (LI channel below ZS threshold)
Definition at line 659 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 667 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEE().
|
staticprivate |
number of endcaps
Definition at line 447 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE().
|
private |
read-out ECAL Hiugh interest channel count for each DCC:
Definition at line 752 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 764 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
private |
Counter of FRO-flagged RU only partial data.
Definition at line 644 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and checkSrApplication().
|
private |
read-out ECAL Low interest channel count for each DCC:
Definition at line 748 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 760 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
staticprivate |
Number of crystals per Readout Unit excepted partial SCs.
Definition at line 480 of file EcalSelectiveReadoutValidation.h.
|
staticprivate |
Number of Trigger Towers in an endcap along Eta.
Definition at line 468 of file EcalSelectiveReadoutValidation.h.
Referenced by dccCh().
|
private |
read-out ECAL channel count for each DCC:
Definition at line 744 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 756 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and getRuCount().
|
staticprivate |
Number of Trigger Towers along Eta.
Definition at line 474 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and setTtEtSums().
|
staticprivate |
Number of Trigger Towers along Phi.
Definition at line 477 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and setTtEtSums().
|
private |
Output file for histograms.
Definition at line 488 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation().
|
private |
Definition at line 411 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP().
|
staticprivate |
Conversion factor from radian to degree.
Definition at line 482 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and analyzeEE().
|
staticprivate |
Number of crystals along a supercrystal edge.
Definition at line 465 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 505 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 499 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation(), and initAsciiFile().
|
private |
Output ascii file for unconsistency on SR flags.
Definition at line 502 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 495 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation(), and initAsciiFile().
|
private |
For L1A rate estimate
Definition at line 532 of file EcalSelectiveReadoutValidation.h.
Referenced by getL1aRate(), and updateL1aRate().
|
private |
Definition at line 533 of file EcalSelectiveReadoutValidation.h.
Referenced by getL1aRate(), and updateL1aRate().
|
private |
Switch for uncompressing TP value
Definition at line 700 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and bookHistograms().
|
private |
Definition at line 523 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeTP(), EcalSelectiveReadoutValidation(), and readAllCollections().
|
private |
ECAL trigger tower mapping
Definition at line 671 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 710 of file EcalSelectiveReadoutValidation.h.
|
private |
Verbosity switch.
Definition at line 485 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation().
|
private |
Weights for amplitude local reconstruction
Definition at line 684 of file EcalSelectiveReadoutValidation.h.
Referenced by frame2Energy().
|
private |
Indicates if EB sim hits are available
Definition at line 828 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEB().
|
private |
Indicates if EE sim hits are available
Definition at line 824 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEE().
|
private |
File to log ZS and other errors.
Definition at line 508 of file EcalSelectiveReadoutValidation.h.