#include <EcalEBTrigPrimTestAlgo.h>
Public Member Functions | |
EcalEBTrigPrimTestAlgo (const EcalTrigTowerConstituentsMap *eTTmap, const CaloGeometry *theGeometry, int nSamples, int binofmax, bool tcpFormat, bool debug, bool famos) | |
EcalEBTrigPrimTestAlgo (int nSamples, int binofmax, bool tcpFormat, bool debug, bool famos) | |
void | run (const EBDigiCollection *col, EcalEBTrigPrimDigiCollection &result, EcalEBTrigPrimDigiCollection &resultTcp) |
void | setPointers (const EcalTPGLinearizationConst *ecaltpLin, const EcalTPGPedestals *ecaltpPed, const EcalTPGCrystalStatus *ecaltpgBadX, const EcalTPGWeightIdMap *ecaltpgWeightMap, const EcalTPGWeightGroup *ecaltpgWeightGroup, const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGTowerStatus *ecaltpgBadTT, const EcalTPGSpike *ecaltpgSpike) |
virtual | ~EcalEBTrigPrimTestAlgo () |
Private Types | |
enum | { nbMaxStrips_ = 5 } |
enum | { nbMaxXtals_ = 5 } |
Private Member Functions | |
template<class T > | |
void | clean (std::vector< std::vector< std::pair< int, std::vector< T > > > > &towerMap) |
template<class Coll > | |
void | fillMap (Coll const *col, std::vector< std::vector< std::pair< int, std::vector< typename Coll::Digi > > > > &towerMap) |
int | findStripNr (const EBDetId &id) |
int | findStripNr (const EEDetId &id) |
EcalEBFenixAmplitudeFilter * | getFilter () const |
EcalEBFenixTcpFormat * | getFormatter () const |
EcalEBFenixStripFormatEB * | getFormatterEB () const |
int | getIndex (const EBDigiCollection *, EcalTrigTowerDetId &id) |
int | getIndex (const EEDigiCollection *, EcalTrigTowerDetId &id) |
EcalEBFenixLinearizer * | getLinearizer (int i) const |
EcalEBFenixPeakFinder * | getPeakFinder () const |
void | init () |
template<class T > | |
void | initStructures (std::vector< std::vector< std::pair< int, std::vector< T > > > > &towMap) |
Static Private Attributes | |
static const unsigned int | maxNrSamplesOut_ = 10 |
static const unsigned int | maxNrTowers_ = 2448 |
static const unsigned int | nrSamples_ = 5 |
EcalEBTrigPrimTestAlgo starting point for Phase II: build TPs out of Phase I digis to start building the infrastructures
Definition at line 37 of file EcalEBTrigPrimTestAlgo.h.
|
private |
|
private |
|
explicit |
Definition at line 43 of file EcalEBTrigPrimTestAlgo.cc.
References init(), and maxNrSamples_.
|
explicit |
|
virtual |
Definition at line 110 of file EcalEBTrigPrimTestAlgo.cc.
References amplitude_filter_, fenixFormatterEB_, fenixTcpFormat_, mps_fire::i, linearizer_, nbMaxXtals_, peak_finder_, and theMapping_.
|
private |
Definition at line 167 of file EcalEBTrigPrimTestAlgo.h.
References mps_fire::i, dqmiolumiharvest::j, maxNrTowers_, and nbMaxStrips_.
Referenced by run().
|
private |
Definition at line 176 of file EcalEBTrigPrimTestAlgo.h.
References EcalTrigTowerConstituentsMap::barrelTowerOf(), cuy::col, gather_cfg::cout, debug_, TrendClient_cfi::Digi, eTTmap_, findStripNr(), dqmdumpme::first, getIndex(), hitTowers_, mps_fire::i, nbMaxXtals_, nrTowers_, EgammaValidation_cff::samples, edm::second(), and EcalTrigTowerConstituentsMap::towerOf().
Referenced by run().
|
private |
Definition at line 319 of file EcalEBTrigPrimTestAlgo.cc.
References hcalRecHitTable_cff::ieta, dqmiodumpmetadata::n, and nbMaxStrips_.
Referenced by fillMap().
|
private |
|
inlineprivate |
Definition at line 150 of file EcalEBTrigPrimTestAlgo.h.
References amplitude_filter_.
Referenced by run().
|
inlineprivate |
Definition at line 162 of file EcalEBTrigPrimTestAlgo.h.
References fenixTcpFormat_.
Referenced by run().
|
inlineprivate |
Definition at line 160 of file EcalEBTrigPrimTestAlgo.h.
References fenixFormatterEB_.
Referenced by run().
|
inlineprivate |
Definition at line 89 of file EcalEBTrigPrimTestAlgo.h.
Referenced by fillMap().
|
inlineprivate |
Definition at line 91 of file EcalEBTrigPrimTestAlgo.h.
References hcalRecHitTable_cff::iphi, and ecaldqm::zside().
|
inlineprivate |
Definition at line 147 of file EcalEBTrigPrimTestAlgo.h.
References mps_fire::i, and linearizer_.
Referenced by run().
|
inlineprivate |
Definition at line 159 of file EcalEBTrigPrimTestAlgo.h.
References peak_finder_.
Referenced by run().
|
private |
Definition at line 77 of file EcalEBTrigPrimTestAlgo.cc.
References amplitude_filter_, binOfMaximum_, debug_, famos_, fenixFormatterEB_, fenixTcpFormat_, fgvb_out_, fgvb_out_temp_, filt_out_, format_out_, hitTowers_, mps_fire::i, initStructures(), lin_out_, linearizer_, maxNrSamples_, maxNrTowers_, nbMaxXtals_, peak_finder_, peak_out_, tcpFormat_, tcpformat_out_, theMapping_, towerMapEB_, and findQualityFiles::v.
Referenced by EcalEBTrigPrimTestAlgo().
|
private |
Definition at line 223 of file EcalEBTrigPrimTestAlgo.h.
References mps_fire::i, maxNrSamples_, maxNrTowers_, nbMaxStrips_, nbMaxXtals_, and striptp_.
Referenced by init().
void EcalEBTrigPrimTestAlgo::run | ( | const EBDigiCollection * | col, |
EcalEBTrigPrimDigiCollection & | result, | ||
EcalEBTrigPrimDigiCollection & | resultTcp | ||
) |
Definition at line 120 of file EcalEBTrigPrimTestAlgo.cc.
References binOfMaximum_, clean(), gather_cfg::cout, debug_, TauDecayModes::dec, ecaltpgBadTT_, ecaltpgBadX_, ecaltpgLut_, ecaltpgLutGroup_, ecaltpgSlidW_, ecaltpgSpike_, ecaltpgWeightGroup_, ecaltpgWeightMap_, ecaltpLin_, ecaltpPed_, fgvb_out_, fgvb_out_temp_, fillMap(), filt_out_, dqmdumpme::first, castor_dqm_sourceclient-live_cfg::firstSample, format_out_, getFilter(), getFormatter(), getFormatterEB(), getLinearizer(), getPeakFinder(), EcalElectronicsMapping::getTriggerElectronicsId(), hitTowers_, mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), CastorRawToDigi_cfi::lastSample, lin_out_, nrSamples_, nrTowers_, peak_out_, EcalEBFenixPeakFinder::process(), EcalEBFenixAmplitudeFilter::process(), EcalEBFenixTcpFormat::process(), EcalEBFenixStripFormatEB::process(), EcalEBFenixLinearizer::process(), edm::SortedCollection< T, SORT >::push_back(), EcalTriggerElectronicsId::rawId(), DetId::rawId(), nano_mu_digi_cff::rawId, mps_fire::result, edm::second(), EcalEBFenixStripFormatEB::setParameters(), EcalEBFenixTcpFormat::setParameters(), EcalEBFenixAmplitudeFilter::setParameters(), EcalEBFenixLinearizer::setParameters(), edm::DataFrameContainer::size(), tcpFormat_, tcpformat_out_, theMapping_, ecalMatacq_cfi::timing, towerMapEB_, and cmsswSequenceInfo::tp.
|
inline |
Definition at line 54 of file EcalEBTrigPrimTestAlgo.h.
References ecaltpgBadTT_, ecaltpgBadX_, ecaltpgLut_, ecaltpgLutGroup_, ecaltpgSlidW_, ecaltpgSpike_, ecaltpgWeightGroup_, ecaltpgWeightMap_, ecaltpLin_, and ecaltpPed_.
|
private |
Definition at line 130 of file EcalEBTrigPrimTestAlgo.h.
Referenced by getFilter(), init(), and ~EcalEBTrigPrimTestAlgo().
|
private |
Definition at line 107 of file EcalEBTrigPrimTestAlgo.h.
|
private |
Definition at line 103 of file EcalEBTrigPrimTestAlgo.h.
|
private |
Definition at line 108 of file EcalEBTrigPrimTestAlgo.h.
|
private |
Definition at line 144 of file EcalEBTrigPrimTestAlgo.h.
Referenced by run(), and setPointers().
|
private |
Definition at line 138 of file EcalEBTrigPrimTestAlgo.h.
Referenced by run(), and setPointers().
|
private |
Definition at line 143 of file EcalEBTrigPrimTestAlgo.h.
Referenced by run(), and setPointers().
|
private |
Definition at line 142 of file EcalEBTrigPrimTestAlgo.h.
Referenced by run(), and setPointers().
|
private |
Definition at line 141 of file EcalEBTrigPrimTestAlgo.h.
Referenced by run(), and setPointers().
|
private |
Definition at line 145 of file EcalEBTrigPrimTestAlgo.h.
Referenced by run(), and setPointers().
|
private |
Definition at line 140 of file EcalEBTrigPrimTestAlgo.h.
Referenced by run(), and setPointers().
|
private |
Definition at line 139 of file EcalEBTrigPrimTestAlgo.h.
Referenced by run(), and setPointers().
|
private |
Definition at line 137 of file EcalEBTrigPrimTestAlgo.h.
Referenced by run(), and setPointers().
|
private |
Definition at line 136 of file EcalEBTrigPrimTestAlgo.h.
Referenced by run(), and setPointers().
|
private |
Definition at line 98 of file EcalEBTrigPrimTestAlgo.h.
Referenced by fillMap().
|
private |
Definition at line 109 of file EcalEBTrigPrimTestAlgo.h.
Referenced by init().
|
private |
Definition at line 132 of file EcalEBTrigPrimTestAlgo.h.
Referenced by getFormatterEB(), init(), and ~EcalEBTrigPrimTestAlgo().
|
private |
Definition at line 133 of file EcalEBTrigPrimTestAlgo.h.
Referenced by getFormatter(), init(), and ~EcalEBTrigPrimTestAlgo().
|
private |
Definition at line 155 of file EcalEBTrigPrimTestAlgo.h.
|
private |
Definition at line 156 of file EcalEBTrigPrimTestAlgo.h.
|
private |
Definition at line 151 of file EcalEBTrigPrimTestAlgo.h.
|
private |
Definition at line 153 of file EcalEBTrigPrimTestAlgo.h.
|
private |
Definition at line 120 of file EcalEBTrigPrimTestAlgo.h.
|
private |
Definition at line 148 of file EcalEBTrigPrimTestAlgo.h.
|
private |
Definition at line 129 of file EcalEBTrigPrimTestAlgo.h.
Referenced by getLinearizer(), init(), and ~EcalEBTrigPrimTestAlgo().
|
private |
Definition at line 104 of file EcalEBTrigPrimTestAlgo.h.
Referenced by EcalEBTrigPrimTestAlgo(), init(), and initStructures().
|
staticprivate |
Definition at line 113 of file EcalEBTrigPrimTestAlgo.h.
|
staticprivate |
Definition at line 112 of file EcalEBTrigPrimTestAlgo.h.
Referenced by clean(), init(), and initStructures().
|
staticprivate |
Definition at line 114 of file EcalEBTrigPrimTestAlgo.h.
Referenced by run().
|
private |
Definition at line 111 of file EcalEBTrigPrimTestAlgo.h.
|
private |
Definition at line 102 of file EcalEBTrigPrimTestAlgo.h.
|
private |
Definition at line 131 of file EcalEBTrigPrimTestAlgo.h.
Referenced by getPeakFinder(), init(), and ~EcalEBTrigPrimTestAlgo().
|
private |
Definition at line 152 of file EcalEBTrigPrimTestAlgo.h.
|
private |
Definition at line 117 of file EcalEBTrigPrimTestAlgo.h.
Referenced by initStructures().
|
private |
Definition at line 106 of file EcalEBTrigPrimTestAlgo.h.
|
private |
Definition at line 163 of file EcalEBTrigPrimTestAlgo.h.
|
private |
Definition at line 99 of file EcalEBTrigPrimTestAlgo.h.
|
private |
Definition at line 127 of file EcalEBTrigPrimTestAlgo.h.
Referenced by init(), run(), and ~EcalEBTrigPrimTestAlgo().
|
private |
Definition at line 101 of file EcalEBTrigPrimTestAlgo.h.
Referenced by utils.StatisticalTest::get_status().
|
private |
Definition at line 118 of file EcalEBTrigPrimTestAlgo.h.
|
private |
Definition at line 119 of file EcalEBTrigPrimTestAlgo.h.
|
private |
Definition at line 122 of file EcalEBTrigPrimTestAlgo.h.
|
private |
Definition at line 121 of file EcalEBTrigPrimTestAlgo.h.