#include <EcalSelectiveReadoutValidation.h>
Classes | |
struct | energiesEb_t |
struct | energiesEe_t |
class | Sorter |
Public Member Functions | |
EcalSelectiveReadoutValidation (const edm::ParameterSet &ps) | |
Constructor. More... | |
~EcalSelectiveReadoutValidation () | |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Protected Member Functions | |
void | analyze (edm::Event const &e, edm::EventSetup const &c) |
Analyzes the event. More... | |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) |
Calls at begin of run. More... | |
void | endRun (const edm::Run &r, const edm::EventSetup &c) |
Calls at end of run. More... | |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
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 (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 | myAna () |
void | normalizeHists (double eventCount) |
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 | SRFlagValidation (const edm::Event &event, const edm::EventSetup &es) |
EcalScDetId | superCrystalOf (const EEDetId &xtalId) const |
void | updateL1aRate (const edm::Event &event) |
EcalTrigTowerDetId | readOutUnitOf (const EBDetId &xtalId) const |
EcalScDetId | readOutUnitOf (const EEDetId &xtalId) const |
MonitorElement * | bookFloat (const std::string &name) |
MonitorElement * | book1D (const std::string &name, const std::string &title, int nbins, double xmin, double xmax) |
MonitorElement * | book2D (const std::string &name, const std::string &title, int nxbins, double xmin, double xmax, int nybins, double ymin, double ymax) |
MonitorElement * | bookProfile (const std::string &name, const std::string &title, int nbins, double xmin, double xmax) |
MonitorElement * | bookProfile2D (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... | |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Definition at line 49 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 54 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 53 of file EcalSelectiveReadoutValidation.h.
|
private |
distinguishes barral and endcap of ECAL.
Enumerator | |
---|---|
EB | |
EE |
Definition at line 77 of file EcalSelectiveReadoutValidation.h.
EcalSelectiveReadoutValidation::EcalSelectiveReadoutValidation | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 96 of file EcalSelectiveReadoutValidation.cc.
References allHists_, availableHistList_, book1D(), book2D(), bookFloat(), bookProfile(), bookProfile2D(), configFirWeights(), dbe_, EB, ebZsThr_, EE, eeZsThr_, MonitorElement::Fill(), getDccOverhead(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), histDir_, histList_, logSrApplicationErrors_, logSrpAlgoErrors_, meChOcc_, meCompleteZSCnt_, meCompleteZSMap_, meCompleteZSRateMap_, meDccHiVol_, meDccLiVol_, meDccVol_, meDccVolFromData_, meDroppedFROCnt_, meDroppedFROMap_, meDroppedFRORateMap_, meEbEMean_, meEbFixedPayload_, meEbFullRoCnt_, meEbHiZsFir_, meEbLiZsFir_, meEbNoise_, meEbNoZsRecVsSimE_, meEbRecE_, meEbRecEHitXtal_, meEbRecVsSimE_, meEbSimE_, meEbZsErrCnt_, meEbZsErrType1Cnt_, meEeEMean_, meEeFixedPayload_, meEeFullRoCnt_, meEeHiZsFir_, meEeLiZsFir_, meEeNoise_, meEeNoZsRecVsSimE_, meEeRecE_, meEeRecEHitXtal_, meEeRecVsSimE_, meEeSimE_, meEeZsErrCnt_, meEeZsErrType1Cnt_, meFixedPayload_, 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_, nEbDccs, nEeDccs, cppFunctionSkipper::operator, outputFile_, printAvailableHists(), alignCSCRings::s, srApplicationErrorLogFileName_, srpAlgoErrorLogFileName_, lumiQTWidget::t, indexGen::title, tpInGeV_, and verbose_.
EcalSelectiveReadoutValidation::~EcalSelectiveReadoutValidation | ( | ) |
|
private |
Accumulates statitics for data volume analysis. To be called for each ECAL digi. See anaDigiInit().
Definition at line 1511 of file EcalSelectiveReadoutValidation.cc.
References Reference_intrackfit_cff::barrel, dccCh(), ebRuActive_, ebTtEdge, EcalBarrel, eeRuActive_, edm::hlt::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, and DetId::subdetId().
Referenced by analyzeDataVolume().
|
private |
Initializes statistics accumalator for data volume analysis. To be call at start of each event analysis.
Definition at line 1604 of file EcalSelectiveReadoutValidation.cc.
References ebRuActive_, eeRuActive_, nEb_, nEbHI_, nEbLI_, nEe_, nEeHI_, nEeLI_, nHiPerDcc_, nHiRuPerDcc_, nLiPerDcc_, nLiRuPerDcc_, nPerDcc_, nPerRu_, and nRuPerDcc_.
Referenced by analyzeDataVolume().
|
protectedvirtual |
Analyzes the event.
Implements edm::EDAnalyzer.
Definition at line 712 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(), lumiQTWidget::t, tps_, updateL1aRate(), withEbSimHit_, and withEeSimHit_.
|
private |
Data volume analysis. To be called for each event.
event | EDM event |
es | event setup |
Definition at line 1445 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 1061 of file EcalSelectiveReadoutValidation.cc.
References edm::DataFrameContainer::begin(), gather_cfg::cout, dccCh(), dccZsFIR(), ebDigis_, ebEnergies, ebNoZsDigis_, ebRecHits_, ebSimHits_, ebSrFlags_, ebZsThr_, DetId::Ecal, EcalBarrel, edm::DataFrameContainer::end(), CaloRecHit::energy(), PCaloHit::energy(), PV3DBase< T, PVType, FrameType >::eta(), EcalSelectiveReadoutValidation::energiesEb_t::eta, edm::hlt::Exception, fill(), firstFIRSample_, firWeights_, frame2Energy(), EcalSelectiveReadoutValidation::energiesEb_t::gain12, ecalMGPA::gainId(), geometry, edm::EventSetup::get(), CaloSubdetectorGeometry::getGeometry(), i, EBDataFrame::id(), EBSrFlag::id(), PCaloHit::id(), EcalRecHit::id(), EBDetId::ieta(), iEta2cIndex(), EcalTrigTowerDetId::ietaAbs(), ievt_, EcalTrigTowerDetId::iphi(), iPhi2cIndex(), isRuComplete_, localReco_, 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, ruGraphX(), ruGraphY(), alignCSCRings::s, EcalSelectiveReadoutValidation::energiesEb_t::simE, EcalSelectiveReadoutValidation::energiesEb_t::simHit, EcalDataFrame::size(), srApplicationErrorLog_, EcalSrFlag::SRF_FORCED_MASK, EcalSrFlag::SRF_FULL, EcalSrFlag::SRF_ZS1, PgTiming::stop(), lumiQTWidget::t, v, EcalSrFlag::value(), withEbSimHit_, xtalGraphX(), xtalGraphY(), 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 808 of file EcalSelectiveReadoutValidation.cc.
References edm::DataFrameContainer::begin(), dccCh(), dccZsFIR(), DetId::Ecal, EcalEndcap, eeDigis_, eeEnergies, eeNoZsDigis_, eeRecHits_, eeSimHits_, eeSrFlags_, eeZsThr_, edm::DataFrameContainer::end(), CaloRecHit::energy(), PCaloHit::energy(), PV3DBase< T, PVType, FrameType >::eta(), EcalSelectiveReadoutValidation::energiesEe_t::eta, edm::hlt::Exception, fill(), 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_, EEDetId::ix(), EcalScDetId::ix(), iXY2cIndex(), EEDetId::iy(), EcalScDetId::iy(), localReco_, 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, ruGraphX(), ruGraphY(), EcalSelectiveReadoutValidation::energiesEe_t::simE, EcalSelectiveReadoutValidation::energiesEe_t::simHit, EcalDataFrame::size(), edm::DataFrameContainer::size(), srApplicationErrorLog_, EcalSrFlag::SRF_FORCED_MASK, EcalSrFlag::SRF_FULL, EcalSrFlag::SRF_ZS1, lumiQTWidget::t, v, EcalSrFlag::value(), withEeSimHit_, xtalGraphX(), xtalGraphY(), EEDetId::zside(), and EcalScDetId::zside().
Referenced by analyze().
|
private |
Trigger primitive analysis. To be called for each event.
event | EDM event |
es | event setup |
Definition at line 1384 of file EcalSelectiveReadoutValidation.cc.
References fill(), EcalTPGScale::getTPGInGeV(), iTtEta2cIndex(), meForcedTtf_, meHiTtf_, meLiTtf_, meMiTtf_, meTp_, meTpMap_, meTpVsEtSum_, meTtf_, meTtfVsEtSum_, meTtfVsTp_, EcalTPGScale::setEventSetup(), tpInGeV_, tps_, and ttEtSums.
Referenced by analyze().
|
protectedvirtual |
Calls at begin of run.
Reimplemented from edm::EDAnalyzer.
Definition at line 1363 of file EcalSelectiveReadoutValidation.cc.
References elecMap_, edm::EventSetup::get(), initAsciiFile(), edm::ESHandle< class >::product(), and triggerTowerMap_.
|
private |
Definition at line 1934 of file EcalSelectiveReadoutValidation.cc.
References DQMStore::book1D(), dbe_, edm::hlt::Exception, mergeVDriftHistosByStation::name, registerHist(), and query::result.
Referenced by EcalSelectiveReadoutValidation().
|
private |
Definition at line 1944 of file EcalSelectiveReadoutValidation.cc.
References DQMStore::book2D(), dbe_, edm::hlt::Exception, mergeVDriftHistosByStation::name, registerHist(), and query::result.
Referenced by EcalSelectiveReadoutValidation().
|
private |
Wrappers to the book methods of the DQMStore DQM histogramming interface.
Definition at line 1923 of file EcalSelectiveReadoutValidation.cc.
References DQMStore::bookFloat(), dbe_, edm::hlt::Exception, mergeVDriftHistosByStation::name, registerHist(), and query::result.
Referenced by EcalSelectiveReadoutValidation().
|
private |
Definition at line 1955 of file EcalSelectiveReadoutValidation.cc.
References DQMStore::bookProfile(), dbe_, edm::hlt::Exception, mergeVDriftHistosByStation::name, registerHist(), and query::result.
Referenced by EcalSelectiveReadoutValidation().
|
private |
Definition at line 1966 of file EcalSelectiveReadoutValidation.cc.
References DQMStore::bookProfile2D(), dbe_, edm::hlt::Exception, mergeVDriftHistosByStation::name, registerHist(), and query::result.
Referenced by EcalSelectiveReadoutValidation().
|
private |
Checks application of SR decision by the DCC.
event | event currently analyzed. |
srfs | Selective readou flags |
Definition at line 2336 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 277 of file EcalSelectiveReadoutValidation.h.
Referenced by dccCh().
|
inlineprivate |
converse of iPhi2cIndex() method.
Definition at line 284 of file EcalSelectiveReadoutValidation.h.
Referenced by dccCh().
|
inlineprivate |
converse of iTtEta2cIndex() method.
Definition at line 311 of file EcalSelectiveReadoutValidation.h.
|
inlineprivate |
converse of iTtPhi2cIndex() method.
Definition at line 317 of file EcalSelectiveReadoutValidation.h.
|
inlineprivate |
converse of iXY2cIndex() method.
Definition at line 271 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 2204 of file EcalSelectiveReadoutValidation.cc.
References dccCh(), fill(), logErrForDccs_, meSRFlagsConsistency_, minDccId_, ruGraphX(), ruGraphY(), srpAlgoErrorLog_, and lumiQTWidget::t.
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 2133 of file EcalSelectiveReadoutValidation.cc.
References edm::hlt::Exception, firstFIRSample_, firWeights_, getFIRWeights(), i, create_public_lumi_plots::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 1668 of file EcalSelectiveReadoutValidation.cc.
References cIndex2iEta(), cIndex2iPhi(), EcalElectronicsId::dccId(), DetId::det(), DetId::Ecal, EcalBarrel, EcalEndcap, EcalTriggerTower, elecMap_, edm::hlt::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 2274 of file EcalSelectiveReadoutValidation.cc.
References elecMap_, and EcalElectronicsMapping::getDCCandSC().
Referenced by selectFedsForLog().
|
private |
Definition at line 2278 of file EcalSelectiveReadoutValidation.cc.
References dccCh(), edm::hlt::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 2069 of file EcalSelectiveReadoutValidation.cc.
References EcalMGPASample::adc(), EcalMGPASample::gainId(), LogTrace, max(), compare_using_db::sample, EcalDataFrame::size(), and w().
Referenced by analyzeEB(), and analyzeEE().
|
protectedvirtual |
Calls at end of run.
Reimplemented from edm::EDAnalyzer.
Definition at line 1377 of file EcalSelectiveReadoutValidation.cc.
References dbe_, MonitorElement::Fill(), getL1aRate(), ievt_, meL1aRate_, normalizeHists(), outputFile_, DQMStore::save(), and useEventRate_.
|
inlineprivate |
Wrapper to fill methods of DQM monitor elements.
Definition at line 390 of file EcalSelectiveReadoutValidation.h.
References MonitorElement::Fill().
Referenced by analyze(), analyzeDataVolume(), analyzeEB(), analyzeEE(), analyzeTP(), checkSrApplication(), and compareSrfColl().
|
inlineprivate |
Definition at line 393 of file EcalSelectiveReadoutValidation.h.
References MonitorElement::Fill().
|
inlineprivate |
Definition at line 396 of file EcalSelectiveReadoutValidation.h.
References MonitorElement::Fill().
|
inlineprivate |
Definition at line 399 of file EcalSelectiveReadoutValidation.h.
References MonitorElement::Fill().
|
private |
Energy reconstruction from ADC samples.
frame | the ADC sample of an ECA channel |
Definition at line 1622 of file EcalSelectiveReadoutValidation.cc.
References i, min, 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 1885 of file EcalSelectiveReadoutValidation.cc.
References edm::hlt::Exception, i, n, evf::evtn::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 171 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 2401 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 180 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 162 of file EcalSelectiveReadoutValidation.h.
References EB.
Referenced by EcalSelectiveReadoutValidation(), 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 200 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 2017 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 2028 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 2118 of file EcalSelectiveReadoutValidation.cc.
Referenced by configFirWeights().
|
private |
Gets L1A rate estimate.
Definition at line 704 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 1655 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 248 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), and analyzeEB().
|
private |
Definition at line 2178 of file EcalSelectiveReadoutValidation.cc.
References edm::hlt::Exception, logSrApplicationErrors_, logSrpAlgoErrors_, dbtoconf::out, srApplicationErrorLog_, srApplicationErrorLogFileName_, srpAlgoErrorLog_, srpAlgoErrorLogFileName_, and estimatePileup_makeJSON::trunc.
Referenced by beginRun().
|
inlineprivate |
Converts a std CMSSW crystal phi index to a c-array index (starting from zero and without hole).
Definition at line 255 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 293 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 302 of file EcalSelectiveReadoutValidation.h.
Referenced by 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 265 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), and analyzeEE().
|
private |
|
private |
Scaled histograms expressed in rate by 1/eventCount
eventCount | event count to use for normalization factor |
Definition at line 2040 of file EcalSelectiveReadoutValidation.cc.
References MonitorElement::getTH1(), h, i, meChOcc_, meForcedRu_, meFullRoRu_, meHiTtf_, meLiTtf_, meMiTtf_, meTp_, meTtf_, meZs1Ru_, and pileupReCalc_HLTpaths::scale.
Referenced by endRun().
|
private |
Prints the list of available histograms (registered by the registerHist method), including disabled one.
Definition at line 2005 of file EcalSelectiveReadoutValidation.cc.
References availableHistList_, and create_public_lumi_plots::log.
Referenced by EcalSelectiveReadoutValidation().
|
private |
Reads the data collections from the event. Called at start of each event analysis.
event | the EDM event. |
Definition at line 1988 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 1780 of file EcalSelectiveReadoutValidation.cc.
References EcalTrigTowerConstituentsMap::towerOf(), and triggerTowerMap_.
Referenced by anaDigi(), analyzeEB(), and analyzeEE().
|
private |
Definition at line 1785 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 1982 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 928 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), checkSrApplication(), and compareSrfColl().
|
inlineprivate |
Definition at line 936 of file EcalSelectiveReadoutValidation.h.
|
inlineprivate |
Definition at line 932 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), checkSrApplication(), and compareSrfColl().
|
inlineprivate |
Definition at line 940 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 2294 of file EcalSelectiveReadoutValidation.cc.
References 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 1796 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 |
Selective Readout decisions Validation
event | EDM event |
es | event setupSelective Readout decisions Validation |
event | EDM event |
es | event setup |
|
private |
Retrieves the endcap supercrystal containing a given crysal
xtalId | identifier of the crystal |
Definition at line 1741 of file EcalSelectiveReadoutValidation.cc.
References errorMatrix2Lands_multiChannel::id, EEDetId::ix(), EEDetId::iy(), scEdge, and EEDetId::zside().
|
private |
Updates estimate of L1A rate
event | EDM event |
Definition at line 686 of file EcalSelectiveReadoutValidation.cc.
References l1aOfTmax, l1aOfTmin, lumiQTWidget::t, tmax, and tmin.
Referenced by analyze().
|
inlineprivate |
Definition at line 944 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and analyzeEE().
|
inlineprivate |
Definition at line 952 of file EcalSelectiveReadoutValidation.h.
|
inlineprivate |
Definition at line 948 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and analyzeEE().
|
inlineprivate |
Definition at line 956 of file EcalSelectiveReadoutValidation.h.
|
private |
When true, every histogram is enabled.
Definition at line 851 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 860 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation(), printAvailableHists(), and registerHist().
|
private |
Switch for collection-not-found warning.
Definition at line 523 of file EcalSelectiveReadoutValidation.h.
|
private |
Histogramming interface.
Definition at line 517 of file EcalSelectiveReadoutValidation.h.
Referenced by book1D(), book2D(), bookFloat(), bookProfile(), bookProfile2D(), EcalSelectiveReadoutValidation(), and endRun().
|
private |
Definition at line 551 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and readAllCollections().
|
private |
The event product collections.
Definition at line 545 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), analyzeEB(), 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 832 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and EcalSelectiveReadoutValidation::Sorter::operator()().
|
private |
Definition at line 547 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeEB(), and readAllCollections().
|
private |
Definition at line 556 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and readAllCollections().
For book keeping of RU actually read out (not fully zero suppressed)
Definition at line 809 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), and anaDigiInit().
|
private |
Definition at line 553 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeEB(), and readAllCollections().
|
private |
Definition at line 549 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeDataVolume(), analyzeEB(), readAllCollections(), and selectFedsForLog().
|
staticprivate |
Number of crystals along an EB TT.
Definition at line 491 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi().
|
private |
ZS threshold in 1/4th ADC count for EB
Definition at line 730 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 552 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and readAllCollections().
|
private |
Definition at line 546 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), analyzeEE(), 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 838 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE().
|
private |
Definition at line 548 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeEE(), and readAllCollections().
|
private |
Definition at line 557 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and readAllCollections().
Definition at line 810 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), and anaDigiInit().
|
private |
Definition at line 554 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeEE(), and readAllCollections().
|
private |
Definition at line 550 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeDataVolume(), analyzeEE(), readAllCollections(), and selectFedsForLog().
|
private |
ZS threshold in 1/4th ADC count for EE
Definition at line 734 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and EcalSelectiveReadoutValidation().
|
private |
Ecal electronics/geometrical mapping.
Definition at line 713 of file EcalSelectiveReadoutValidation.h.
Referenced by beginRun(), dccCh(), dccId(), and readOutUnitOf().
|
private |
Definition at line 558 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and readAllCollections().
|
private |
Time position of the first sample to use in zero suppession FIR filter. Numbering starts at 0.
Definition at line 743 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), and configFirWeights().
|
private |
Weights to be used for the ZS FIR filter
Definition at line 726 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 855 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation().
|
private |
List of enabled histograms. Special name "all" is used to indicate all available histograms.
Definition at line 847 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation(), and registerHist().
|
private |
Event sequence number
Definition at line 821 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeEB(), analyzeEE(), and endRun().
Definition at line 813 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), analyzeEB(), and analyzeEE().
|
staticprivate |
number of bytes in 1 kByte:
Definition at line 445 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume().
|
private |
Definition at line 567 of file EcalSelectiveReadoutValidation.h.
Referenced by getL1aRate(), and updateL1aRate().
|
private |
Definition at line 566 of file EcalSelectiveReadoutValidation.h.
Referenced by getL1aRate(), and updateL1aRate().
|
private |
Definition at line 568 of file EcalSelectiveReadoutValidation.h.
|
private |
Local reconstruction switch: true to reconstruct locally the amplitude insted of using the Rec Hits.
Definition at line 718 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 754 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 903 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 898 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation(), and initAsciiFile().
Definition at line 458 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), dccCh(), and getCrystalCount().
|
private |
Definition at line 587 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), EcalSelectiveReadoutValidation(), and normalizeHists().
|
private |
Definition at line 638 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 650 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 642 of file EcalSelectiveReadoutValidation.h.
Referenced by checkSrApplication(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 646 of file EcalSelectiveReadoutValidation.h.
Referenced by checkSrApplication(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 576 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 575 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and EcalSelectiveReadoutValidation().
|
private |
The histograms
Definition at line 574 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 577 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 637 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 649 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 641 of file EcalSelectiveReadoutValidation.h.
Referenced by checkSrApplication(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 645 of file EcalSelectiveReadoutValidation.h.
Referenced by checkSrApplication(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 596 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and EcalSelectiveReadoutValidation().
|
private |
Event payload that do not depend on the number of crystals passing the SR
Definition at line 663 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation().
|
private |
Definition at line 623 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 627 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 628 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 626 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 597 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 601 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 595 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 599 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 600 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 598 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 651 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 654 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 604 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 664 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation().
|
private |
Definition at line 624 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 631 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 630 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 605 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 609 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 603 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 607 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 608 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 606 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 652 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 655 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 665 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation().
|
private |
Definition at line 613 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), EcalSelectiveReadoutValidation(), and normalizeHists().
|
private |
Definition at line 618 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 622 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 611 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), EcalSelectiveReadoutValidation(), and normalizeHists().
|
private |
Definition at line 617 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), EcalSelectiveReadoutValidation(), and normalizeHists().
|
private |
Definition at line 636 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 648 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 640 of file EcalSelectiveReadoutValidation.h.
Referenced by checkSrApplication(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 644 of file EcalSelectiveReadoutValidation.h.
Referenced by checkSrApplication(), and EcalSelectiveReadoutValidation().
|
private |
Estimate of L1A rate
Definition at line 670 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation(), and endRun().
|
private |
Definition at line 615 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), EcalSelectiveReadoutValidation(), and normalizeHists().
|
private |
Definition at line 616 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), EcalSelectiveReadoutValidation(), and normalizeHists().
|
private |
Definition at line 633 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 634 of file EcalSelectiveReadoutValidation.h.
Referenced by compareSrfColl(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 632 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 589 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), EcalSelectiveReadoutValidation(), and normalizeHists().
|
private |
Definition at line 620 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 593 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 590 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), EcalSelectiveReadoutValidation(), and normalizeHists().
|
private |
Definition at line 592 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 591 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 578 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 579 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 584 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 581 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 580 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 585 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 582 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 586 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 583 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 612 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), analyzeEE(), EcalSelectiveReadoutValidation(), and normalizeHists().
|
private |
Definition at line 653 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and EcalSelectiveReadoutValidation().
|
private |
Definition at line 656 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and EcalSelectiveReadoutValidation().
|
staticprivate |
Definition at line 455 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 679 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and checkSrApplication().
|
staticprivate |
Number of input channels of a DCC.
Definition at line 452 of file EcalSelectiveReadoutValidation.h.
|
staticprivate |
number of RUs for each DCC
Definition at line 473 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume().
|
staticprivate |
Total number of DCCs.
Definition at line 448 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeDataVolume(), EcalSelectiveReadoutValidation(), getEeEventSize(), and selectFedsForLog().
|
private |
Counter of FRO-flagged RU dropped from data.
Definition at line 673 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and checkSrApplication().
|
private |
ECAL barrel read channel count
Definition at line 758 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
staticprivate |
number of DCCs for EB
Definition at line 461 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation(), getEbEventSize(), and getEeEventSize().
|
staticprivate |
number of crystals along Eta in EB
Definition at line 479 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB().
|
private |
Counter of EB FRO-flagged RUs.
Definition at line 682 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEB().
|
private |
ECAL barrel high interest read channel count
Definition at line 778 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
private |
ECAL barrel low interest read channel count
Definition at line 774 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
staticprivate |
number of crystals along Phi in EB
Definition at line 482 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB().
|
staticprivate |
number of RUs for EB
Definition at line 467 of file EcalSelectiveReadoutValidation.h.
|
staticprivate |
Number of Trigger Towers in barrel along Eta.
Definition at line 500 of file EcalSelectiveReadoutValidation.h.
|
private |
Counter of EB ZS errors (LI channel below ZS threshold)
Definition at line 688 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 695 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEB().
|
private |
ECAL endcap read channel count
Definition at line 762 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
staticprivate |
number of DCCs for EE
Definition at line 464 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation(), getEbEventSize(), and getEeEventSize().
|
private |
Counter of EE FRO-flagged RUs.
Definition at line 685 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEE().
|
private |
ECAL endcap high interest read channel count
Definition at line 770 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
private |
ECAL endcap low interest read channel count
Definition at line 766 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
staticprivate |
number of RUs for EE
Definition at line 470 of file EcalSelectiveReadoutValidation.h.
|
staticprivate |
EE crystal grid size along X.
Definition at line 485 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE().
|
staticprivate |
EE crystal grid size along Y.
Definition at line 488 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE().
|
private |
Counter of EE ZS errors (LI channel below ZS threshold)
Definition at line 691 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 699 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEE().
|
staticprivate |
number of endcaps
Definition at line 476 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEE().
|
private |
read-out ECAL Hiugh interest channel count for each DCC:
Definition at line 790 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 803 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
private |
Counter of FRO-flagged RU only partial data.
Definition at line 676 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and checkSrApplication().
|
private |
read-out ECAL Low interest channel count for each DCC:
Definition at line 786 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 799 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
|
staticprivate |
Number of crystals per Readout Unit excepted partial SCs.
Definition at line 509 of file EcalSelectiveReadoutValidation.h.
|
staticprivate |
Number of Trigger Towers in an endcap along Eta.
Definition at line 497 of file EcalSelectiveReadoutValidation.h.
Referenced by dccCh().
|
private |
read-out ECAL channel count for each DCC:
Definition at line 782 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and analyzeDataVolume().
Number of crystal read for each DCC channel (aka readout unit).
Definition at line 817 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 795 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), anaDigiInit(), and getRuCount().
|
staticprivate |
Number of Trigger Towers along Eta.
Definition at line 503 of file EcalSelectiveReadoutValidation.h.
Referenced by setTtEtSums().
|
staticprivate |
Number of Trigger Towers along Phi.
Definition at line 506 of file EcalSelectiveReadoutValidation.h.
Referenced by setTtEtSums().
|
private |
Output file for histograms.
Definition at line 520 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation(), and endRun().
|
staticprivate |
Conversion factor from radian to degree.
Definition at line 511 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeEB(), and analyzeEE().
|
staticprivate |
Number of crystals along a supercrystal edge.
Definition at line 494 of file EcalSelectiveReadoutValidation.h.
Referenced by anaDigi(), and superCrystalOf().
|
private |
Permits to skip inner SC
Definition at line 842 of file EcalSelectiveReadoutValidation.h.
|
private |
Output ascii file for unconsistency between Xtals and RU Flags.
Definition at line 537 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 531 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation(), and initAsciiFile().
|
private |
Output ascii file for unconsistency on SR flags.
Definition at line 534 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 527 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation(), and initAsciiFile().
|
private |
For L1A rate estimate
Definition at line 564 of file EcalSelectiveReadoutValidation.h.
Referenced by getL1aRate(), and updateL1aRate().
|
private |
Definition at line 565 of file EcalSelectiveReadoutValidation.h.
Referenced by getL1aRate(), and updateL1aRate().
|
private |
Switch for uncompressing TP value
Definition at line 738 of file EcalSelectiveReadoutValidation.h.
Referenced by analyzeTP(), and EcalSelectiveReadoutValidation().
|
private |
Interface to access trigger primitive parameters, especially to convert Et in compressed formart into natural unit.
Definition at line 709 of file EcalSelectiveReadoutValidation.h.
|
private |
Definition at line 555 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), analyzeTP(), and readAllCollections().
|
private |
ECAL trigger tower mapping
Definition at line 704 of file EcalSelectiveReadoutValidation.h.
Referenced by beginRun(), 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 827 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 748 of file EcalSelectiveReadoutValidation.h.
Referenced by endRun().
|
private |
Verbosity switch.
Definition at line 514 of file EcalSelectiveReadoutValidation.h.
Referenced by EcalSelectiveReadoutValidation().
|
private |
Weights for amplitude local reconstruction
Definition at line 722 of file EcalSelectiveReadoutValidation.h.
Referenced by frame2Energy().
|
private |
Indicates if EB sim hits are available
Definition at line 869 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEB().
|
private |
Indicates if EE sim hits are available
Definition at line 865 of file EcalSelectiveReadoutValidation.h.
Referenced by analyze(), and analyzeEE().
|
private |
File to log ZS and other errors.
Definition at line 540 of file EcalSelectiveReadoutValidation.h.