|
|
#include <EcalTPCondAnalyzer.h>
|
void | analyze (const edm::Event &, const edm::EventSetup &) override |
|
void | beginJob () override |
|
void | beginRun (const edm::Run &run, const edm::EventSetup &evtSetup) override |
|
| EcalTPCondAnalyzer (const edm::ParameterSet &) |
|
void | endJob () override |
|
void | endRun (edm::Run const &, edm::EventSetup const &) override |
|
| ~EcalTPCondAnalyzer () override |
|
| EDAnalyzer ()=default |
|
| EDAnalyzer (const EDAnalyzer &)=delete |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
const EDAnalyzer & | operator= (const EDAnalyzer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
bool | wantsInputProcessBlocks () const final |
|
bool | wantsProcessBlocks () const final |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDAnalyzerBase () override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESProxyIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
unsigned long long | cacheID_ |
|
const CaloSubdetectorGeometry * | theBarrelGeometry_ |
|
const CaloSubdetectorGeometry * | theEndcapGeometry_ |
|
edm::ESGetToken< CaloSubdetectorGeometry, EcalBarrelGeometryRecord > | tokenBarrelGeom_ |
|
edm::ESGetToken< EcalTPGFineGrainEBGroup, EcalTPGFineGrainEBGroupRcd > | tokenEcalTPGFineGrainEBGroup_ |
|
edm::ESGetToken< EcalTPGFineGrainEBIdMap, EcalTPGFineGrainEBIdMapRcd > | tokenEcalTPGFineGrainEBIdMap_ |
|
edm::ESGetToken< EcalTPGFineGrainStripEE, EcalTPGFineGrainStripEERcd > | tokenEcalTPGFineGrainStripEE_ |
|
edm::ESGetToken< EcalTPGFineGrainTowerEE, EcalTPGFineGrainTowerEERcd > | tokenEcalTPGFineGrainTowerEE_ |
|
edm::ESGetToken< EcalTPGLinearizationConst, EcalTPGLinearizationConstRcd > | tokenEcalTPGLinearization_ |
|
edm::ESGetToken< EcalTPGLutGroup, EcalTPGLutGroupRcd > | tokenEcalTPGLutGroup_ |
|
edm::ESGetToken< EcalTPGLutIdMap, EcalTPGLutIdMapRcd > | tokenEcalTPGLutIdMap_ |
|
edm::ESGetToken< EcalTPGPedestals, EcalTPGPedestalsRcd > | tokenEcalTPGPedestals_ |
|
edm::ESGetToken< EcalTPGPhysicsConst, EcalTPGPhysicsConstRcd > | tokenEcalTPGPhysics_ |
|
edm::ESGetToken< EcalTPGSlidingWindow, EcalTPGSlidingWindowRcd > | tokenEcalTPGSlidingWindow_ |
|
edm::ESGetToken< EcalTPGSpike, EcalTPGSpikeRcd > | tokenEcalTPGSpike_ |
|
edm::ESGetToken< EcalTPGWeightGroup, EcalTPGWeightGroupRcd > | tokenEcalTPGWeightGroup_ |
|
edm::ESGetToken< EcalTPGWeightIdMap, EcalTPGWeightIdMapRcd > | tokenEcalTPGWeightIdMap_ |
|
edm::ESGetToken< CaloSubdetectorGeometry, EcalEndcapGeometryRecord > | tokenEndcapGeom_ |
|
|
typedef EDAnalyzerBase | ModuleType |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
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) |
|
Description: prints the TPG conditions coming from the conditions DB Prints in exactly the same format as TPG.txt, such that a "diff" is possible.
Definition at line 60 of file EcalTPCondAnalyzer.h.
◆ EcalTPCondAnalyzer()
◆ ~EcalTPCondAnalyzer()
EcalTPCondAnalyzer::~EcalTPCondAnalyzer |
( |
| ) |
|
|
override |
◆ analyze()
◆ beginJob()
void EcalTPCondAnalyzer::beginJob |
( |
void |
| ) |
|
|
overridevirtual |
◆ beginRun()
◆ endJob()
void EcalTPCondAnalyzer::endJob |
( |
void |
| ) |
|
|
overridevirtual |
◆ endRun()
◆ getRecords()
unsigned long long EcalTPCondAnalyzer::getRecords |
( |
edm::EventSetup const & |
setup | ) |
|
|
private |
Definition at line 58 of file EcalTPCondAnalyzer.cc.
88 printSTRIP(ecaltpgSlidW, ecaltpgWeightGroup, ecaltpgFgStripEE);
96 printTOWEREB(ecaltpgSpikeTh, ecaltpgFgEBGroup, ecaltpgLutGroup);
References printComment(), printCRYSTAL(), printEcalTPGFineGrainEBIdMap(), printEcalTPGLutIdMap(), printEcalTPGPhysicsConst(), printSTRIP(), printTOWEREB(), printTOWEREE(), printWEIGHT(), singleTopDQM_cfi::setup, tokenEcalTPGFineGrainEBGroup_, tokenEcalTPGFineGrainEBIdMap_, tokenEcalTPGFineGrainStripEE_, tokenEcalTPGFineGrainTowerEE_, tokenEcalTPGLinearization_, tokenEcalTPGLutGroup_, tokenEcalTPGLutIdMap_, tokenEcalTPGPedestals_, tokenEcalTPGPhysics_, tokenEcalTPGSlidingWindow_, tokenEcalTPGSpike_, tokenEcalTPGWeightGroup_, and tokenEcalTPGWeightIdMap_.
Referenced by beginRun().
◆ printComment()
void EcalTPCondAnalyzer::printComment |
( |
| ) |
const |
|
private |
Definition at line 248 of file EcalTPCondAnalyzer.cc.
249 edm::LogVerbatim(
"EcalTPCondAnalyzer") <<
"COMMENT put your comments here\n"
250 <<
"COMMENT =================================\n"
251 <<
"COMMENT physics EB structure\n"
253 <<
"COMMENT EtSaturation (GeV), ttf_threshold_Low (GeV), "
254 "ttf_threshold_High (GeV)\n"
255 <<
"COMMENT FG_lowThreshold (GeV), FG_highThreshold (GeV), "
256 "FG_lowRatio, FG_highRatio\n"
257 <<
"COMMENT =================================\n"
259 <<
"COMMENT =================================\n"
260 <<
"COMMENT physics EE structure\n"
262 <<
"COMMENT EtSaturation (GeV), ttf_threshold_Low (GeV), "
263 "ttf_threshold_High (GeV)\n"
264 <<
"COMMENT FG_Threshold (GeV), dummy, dummy, dummy\n"
265 <<
"COMMENT =================================\n"
267 <<
"COMMENT =================================\n"
268 <<
"COMMENT crystal structure (same for EB and EE)\n"
270 <<
"COMMENT ped, mult, shift [gain12]\n"
271 <<
"COMMENT ped, mult, shift [gain6]\n"
272 <<
"COMMENT ped, mult, shift [gain1]\n"
273 <<
"COMMENT =================================\n"
275 <<
"COMMENT =================================\n"
276 <<
"COMMENT strip EB structure\n"
278 <<
"COMMENT sliding_window\n"
279 <<
"COMMENT weightGroupId\n"
280 <<
"COMMENT threshold_sfg lut_sfg\n"
281 <<
"COMMENT =================================\n"
283 <<
"COMMENT =================================\n"
284 <<
"COMMENT strip EE structure\n"
286 <<
"COMMENT sliding_window\n"
287 <<
"COMMENT weightGroupId\n"
288 <<
"COMMENT threshold_fg lut_fg\n"
289 <<
"COMMENT =================================\n"
291 <<
"COMMENT =================================\n"
292 <<
"COMMENT tower EB structure\n"
294 <<
"COMMENT LUTGroupId\n"
295 <<
"COMMENT FgGroupId\n"
296 <<
"COMMENT spike_killing_threshold\n"
297 <<
"COMMENT =================================\n"
299 <<
"COMMENT =================================\n"
300 <<
"COMMENT tower EE structure\n"
302 <<
"COMMENT LUTGroupId\n"
303 <<
"COMMENT tower_lut_fg\n"
304 <<
"COMMENT =================================\n"
306 <<
"COMMENT =================================\n"
307 <<
"COMMENT Weight structure\n"
309 <<
"COMMENT weightGroupId\n"
310 <<
"COMMENT w0, w1, w2, w3, w4\n"
311 <<
"COMMENT =================================\n"
313 <<
"COMMENT =================================\n"
314 <<
"COMMENT lut structure\n"
316 <<
"COMMENT LUTGroupId\n"
317 <<
"COMMENT LUT[1-1024]\n"
318 <<
"COMMENT =================================\n"
320 <<
"COMMENT =================================\n"
321 <<
"COMMENT fg EB structure\n"
323 <<
"COMMENT FgGroupId\n"
324 <<
"COMMENT el, eh, tl, th, lut_fg\n"
325 <<
"COMMENT =================================\n"
Referenced by getRecords().
◆ printCRYSTAL()
Definition at line 216 of file EcalTPCondAnalyzer.cc.
223 edm::LogVerbatim(
"EcalTPCondAnalyzer") <<
"COMMENT ====== barrel crystals ====== ";
224 for (std::vector<DetId>::const_iterator it = ebCells.begin(); it != ebCells.end(); ++it) {
236 edm::LogVerbatim(
"EcalTPCondAnalyzer") <<
"COMMENT ====== endcap crystals ====== ";
237 for (std::vector<DetId>::const_iterator it = eeCells.begin(); it != eeCells.end(); ++it) {
References TauDecayModes::dec, DetId::Ecal, EcalBarrel, EcalEndcap, EcalCondObjectContainer< T >::getMap(), CaloSubdetectorGeometry::getValidDetIds(), triggerObjects_cff::id, EcalTPGPedestal::mean_x1, EcalTPGPedestal::mean_x12, EcalTPGPedestal::mean_x6, EcalTPGLinearizationConstant::mult_x1, EcalTPGLinearizationConstant::mult_x12, EcalTPGLinearizationConstant::mult_x6, EcalTPGLinearizationConstant::shift_x1, EcalTPGLinearizationConstant::shift_x12, EcalTPGLinearizationConstant::shift_x6, theBarrelGeometry_, and theEndcapGeometry_.
Referenced by getRecords().
◆ printEcalTPGFineGrainEBIdMap()
◆ printEcalTPGLutIdMap()
void EcalTPCondAnalyzer::printEcalTPGLutIdMap |
( |
const EcalTPGLutIdMap * |
ecaltpgLut | ) |
const |
|
private |
◆ printEcalTPGPhysicsConst()
void EcalTPCondAnalyzer::printEcalTPGPhysicsConst |
( |
const EcalTPGPhysicsConst * |
ecaltpgPhysConst | ) |
const |
|
private |
Definition at line 111 of file EcalTPCondAnalyzer.cc.
114 for (it = mymap.begin(); it != mymap.end(); ++it) {
115 if (it == mymap.begin()) {
121 << (*it).second.EtSat <<
" " << (*it).second.ttf_threshold_Low <<
" " << (*it).second.ttf_threshold_High;
122 edm::LogVerbatim(
"EcalTPCondAnalyzer") << (*it).second.FG_lowThreshold <<
" " << (*it).second.FG_highThreshold
123 <<
" " << (*it).second.FG_lowRatio <<
" " << (*it).second.FG_highRatio;
References EcalTPGPhysicsConst::getMap().
Referenced by getRecords().
◆ printSTRIP()
◆ printTOWEREB()
◆ printTOWEREE()
◆ printWEIGHT()
Definition at line 177 of file EcalTPCondAnalyzer.cc.
180 uint32_t w0, w1,
w2,
w3,
w4;
182 for (it =
map.begin(); it !=
map.end(); ++it) {
184 (*it).second.getValues(w0, w1,
w2,
w3,
w4);
186 << std::hex <<
"0x" << w0 <<
" 0x" << w1 <<
" 0x" <<
w2 <<
" 0x" <<
w3 <<
" 0x" <<
w4 <<
" \n\n\n";
References EcalTPGWeightIdMap::getMap(), genParticles_cff::map, w2, w3, and w4.
Referenced by getRecords().
◆ cacheID_
unsigned long long EcalTPCondAnalyzer::cacheID_ |
|
private |
◆ theBarrelGeometry_
◆ theEndcapGeometry_
◆ tokenBarrelGeom_
◆ tokenEcalTPGFineGrainEBGroup_
◆ tokenEcalTPGFineGrainEBIdMap_
◆ tokenEcalTPGFineGrainStripEE_
◆ tokenEcalTPGFineGrainTowerEE_
◆ tokenEcalTPGLinearization_
◆ tokenEcalTPGLutGroup_
◆ tokenEcalTPGLutIdMap_
◆ tokenEcalTPGPedestals_
◆ tokenEcalTPGPhysics_
◆ tokenEcalTPGSlidingWindow_
◆ tokenEcalTPGSpike_
◆ tokenEcalTPGWeightGroup_
◆ tokenEcalTPGWeightIdMap_
◆ tokenEndcapGeom_
const self & getMap() const
std::map< uint32_t, EcalTPGFineGrainStripEE::Item >::const_iterator EcalTPGFineGrainStripEEMapIterator
common ppss p3p6s2 common epss epspn46 common const1 w2
std::map< uint32_t, EcalTPGLut > EcalTPGLutMap
std::map< uint32_t, uint32_t >::const_iterator EcalTPGGroupsMapItr
Ecal trigger electronics identification [32:20] Unused (so far) [19:13] TCC id [12:6] TT id [5:3] pse...
void printEcalTPGPhysicsConst(const EcalTPGPhysicsConst *) const
void printTOWEREE(const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE, const EcalTPGLutGroup *ecaltpgLutGroup) const
std::map< uint32_t, EcalTPGWeights >::const_iterator EcalTPGWeightMapItr
std::map< uint32_t, EcalTPGWeights > EcalTPGWeightMap
edm::ESGetToken< EcalTPGFineGrainEBIdMap, EcalTPGFineGrainEBIdMapRcd > tokenEcalTPGFineGrainEBIdMap_
edm::ESGetToken< EcalTPGFineGrainStripEE, EcalTPGFineGrainStripEERcd > tokenEcalTPGFineGrainStripEE_
Log< level::Warning, false > LogWarning
edm::ESGetToken< CaloSubdetectorGeometry, EcalEndcapGeometryRecord > tokenEndcapGeom_
const std::map< uint32_t, uint32_t > & getMap() const
edm::ESGetToken< EcalTPGLutIdMap, EcalTPGLutIdMapRcd > tokenEcalTPGLutIdMap_
edm::ESGetToken< EcalTPGWeightIdMap, EcalTPGWeightIdMapRcd > tokenEcalTPGWeightIdMap_
std::map< uint32_t, uint32_t >::const_iterator EcalTPGFineGrainTowerEEMapIterator
void printComment() const
std::map< uint32_t, uint32_t > EcalTPGFineGrainTowerEEMap
void printEcalTPGLutIdMap(const EcalTPGLutIdMap *ecaltpgLut) const
void printWEIGHT(const EcalTPGWeightIdMap *ecaltpgWeightMap) const
std::map< uint32_t, uint32_t >::const_iterator EcalTPGSlidingWindowMapIterator
virtual const std::vector< DetId > & getValidDetIds(DetId::Detector det=DetId::Detector(0), int subdet=0) const
Get a list of valid detector ids (for the given subdetector)
common ppss p3p6s2 common epss epspn46 common const1 w4
void printSTRIP(const EcalTPGSlidingWindow *ecaltpgSlidW, const EcalTPGWeightGroup *ecaltpgWeightGroup, const EcalTPGFineGrainStripEE *ecaltpgFgStripEE) const
const std::map< uint32_t, Item > & getMap() const
std::map< uint32_t, uint32_t > EcalTPGSlidingWindowMap
edm::ESGetToken< EcalTPGLutGroup, EcalTPGLutGroupRcd > tokenEcalTPGLutGroup_
edm::ESGetToken< EcalTPGFineGrainEBGroup, EcalTPGFineGrainEBGroupRcd > tokenEcalTPGFineGrainEBGroup_
const std::map< uint32_t, Item > & getMap() const
const CaloSubdetectorGeometry * theBarrelGeometry_
const CaloSubdetectorGeometry * theEndcapGeometry_
edm::ESGetToken< EcalTPGFineGrainTowerEE, EcalTPGFineGrainTowerEERcd > tokenEcalTPGFineGrainTowerEE_
common ppss p3p6s2 common epss epspn46 common const1 w3
void printEcalTPGFineGrainEBIdMap(const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB) const
const EcalTPGGroupsMap & getMap() const
std::map< uint32_t, EcalTPGFineGrainStripEE::Item > EcalTPGFineGrainStripEEMap
edm::ESGetToken< EcalTPGSpike, EcalTPGSpikeRcd > tokenEcalTPGSpike_
bool getData(T &iHolder) const
edm::ESGetToken< EcalTPGPedestals, EcalTPGPedestalsRcd > tokenEcalTPGPedestals_
std::map< uint32_t, EcalTPGPhysicsConst::Item > EcalTPGPhysicsConstMap
std::vector< unsigned short int > LUT
Log< level::Info, true > LogVerbatim
edm::ESGetToken< EcalTPGPhysicsConst, EcalTPGPhysicsConstRcd > tokenEcalTPGPhysics_
std::map< uint32_t, EcalTPGLut >::const_iterator EcalTPGLutMapItr
edm::ESGetToken< EcalTPGLinearizationConst, EcalTPGLinearizationConstRcd > tokenEcalTPGLinearization_
void printTOWEREB(const EcalTPGSpike *ecaltpgSpike, const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup, const EcalTPGLutGroup *ecaltpgLutGroup) const
std::map< uint32_t, EcalTPGFineGrainConstEB > EcalTPGFineGrainEBMap
std::map< uint32_t, EcalTPGFineGrainConstEB >::const_iterator EcalTPGFineGrainEBMapItr
unsigned long long getRecords(edm::EventSetup const &setup)
edm::ESGetToken< EcalTPGWeightGroup, EcalTPGWeightGroupRcd > tokenEcalTPGWeightGroup_
const EcalTPGFineGrainEBMap & getMap() const
std::map< uint32_t, uint16_t >::const_iterator EcalTPGSpikeMapIterator
void printCRYSTAL(const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin)
edm::ESGetToken< EcalTPGSlidingWindow, EcalTPGSlidingWindowRcd > tokenEcalTPGSlidingWindow_
std::map< uint32_t, EcalTPGPhysicsConst::Item >::const_iterator EcalTPGPhysicsConstMapIterator
edm::ESGetToken< CaloSubdetectorGeometry, EcalBarrelGeometryRecord > tokenBarrelGeom_
const EcalTPGLutMap & getMap() const
unsigned long long cacheID_
std::map< uint32_t, uint16_t > EcalTPGSpikeMap
std::map< uint32_t, uint32_t > EcalTPGGroupsMap