|
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
|
| CTPPSPixGainCalibsESAnalyzer (edm::ParameterSet const &p) |
|
| CTPPSPixGainCalibsESAnalyzer (int i) |
|
void | setReadablePlaneNames () |
|
| ~CTPPSPixGainCalibsESAnalyzer () override |
|
| EDAnalyzer ()=default |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () 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 |
|
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::vector< ModuleDescription const * > &modules, 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 |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
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> |
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<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
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) |
|
Implements edm::one::EDAnalyzerBase.
Definition at line 64 of file CTPPSPixGainCalibsESAnalyzer.cc.
65 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
"###CTPPSPixGainCalibsESAnalyzer::analyze";
66 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
" I AM IN RUN NUMBER " <<
e.id().run();
67 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
" ---EVENT NUMBER " <<
e.id().event();
72 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
"Record \"CTPPSPixelGainCalibrationsRcd"
73 <<
"\" does not exist ";
81 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
"got CTPPSPixelGainCalibrations* ";
82 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
"print pointer address : ";
83 edm::LogPrint(
"CTPPSPixGainCalibsReader") << pPixelGainCalibrations;
92 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
"Size " << pPixelGainCalibrations->
size();
95 for (CTPPSPixelGainCalibrations::CalibMap::const_iterator it = mymap.begin(); it != mymap.end(); ++it) {
96 uint32_t detId = it->first;
99 <<
"Address of detId = " << (&detId) <<
" and of it = " << (&it) <<
" and of it->first = " << (&(it->first));
101 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
"Content of pPixelGainCalibrations for key: detId= " << detId;
106 <<
"Address of mycalibs0 = " << (&mycalibs0) <<
" and of mycalibs = " << (&mycalibs) <<
" and of it->second "
113 TH2D mypeds(namep.c_str(), tlp.c_str(), 156, 0., 156., 160, 0., 160.);
114 TH2D mygains(nameg.c_str(), tlg.c_str(), 156, 0., 156., 160, 0., 160.);
119 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
"Here ncols = " <<
ncols <<
" nrows =" << nrows <<
" npix=" << npix;
120 for (
int jrow = 0; jrow < nrows; ++jrow)
121 for (
int icol = 0; icol <
ncols; ++icol) {
123 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
"Dead Pixel icol =" << icol <<
" jrow =" << jrow;
127 edm::LogPrint(
"CTPPSPixGainCalibsReader") <<
"Noisy Pixel icol =" << icol <<
" jrow =" << jrow;
130 mygains.Fill(icol, jrow, mycalibs.
getGain(icol, jrow));
131 mypeds.Fill(icol, jrow, mycalibs.
getPed(icol, jrow));
References detId_readable, MillePedeFileConverter_cfg::e, edm::eventsetup::heterocontainer::HCTypeTag::findType(), edm::EventSetup::get(), get, CTPPSPixelGainCalibrations::getCalibMap(), CTPPSPixelGainCalibration::getGain(), CTPPSPixelGainCalibrations::getGainCalibration(), CTPPSPixelGainCalibration::getIEnd(), CTPPSPixelGainCalibration::getNCols(), CTPPSPixelGainCalibration::getNRows(), CTPPSPixelGainCalibration::getPed(), CTPPSPixelGainCalibration::isDead(), CTPPSPixelGainCalibration::isNoisy(), m_outfilename, hgcalPlots::ncols, edm::ESHandle< T >::product(), CTPPSPixelGainCalibrations::size(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::eventsetup::EventSetupRecordKey::type().