|
| EcalPnGraphs (const edm::ParameterSet &ps) |
|
| ~EcalPnGraphs () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () |
|
SerialTaskQueue * | globalRunsQueue () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
| ~EDAnalyzer () 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) |
|
|
typedef EDAnalyzer | ModuleType |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &) |
|
static bool | wantsGlobalLuminosityBlocks () |
|
static bool | wantsGlobalRuns () |
|
static bool | wantsInputProcessBlocks () |
|
static bool | wantsProcessBlocks () |
|
static bool | wantsStreamLuminosityBlocks () |
|
static bool | wantsStreamRuns () |
|
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) |
|
Definition at line 20 of file EcalPnGraphs.h.
module dumping TGraph with 50 data frames from Pn Diodes
- Author
- K. Kaadze
-
G. Franzoni
Definition at line 30 of file EcalPnGraphs.cc.
41 std::vector<int> listDefaults;
42 listDefaults.push_back(-1);
44 bool fedIsGiven =
false;
46 std::vector<std::string> ebDefaults;
47 ebDefaults.push_back(
"none");
52 edm::LogInfo(
"EcalPnGraphs") <<
"FED id is given! Goining to beginJob! ";
56 if (
ebs_[0] !=
"none") {
59 for (std::vector<std::string>::const_iterator ebItr =
ebs_.begin(); ebItr !=
ebs_.end(); ++ebItr) {
65 for (
int i = 601;
i < 655; ++
i) {
75 std::vector<int>::iterator fedIter;
76 for (fedIter =
feds_.begin(); fedIter !=
feds_.end(); ++fedIter) {
77 if ((*fedIter) < 601 || (*fedIter) > 654) {
78 std::cout <<
"[EcalPnGraphs] pn number : " << (*fedIter) <<
" found in listFeds. "
79 <<
" Valid range is [601-654]. Returning." << std::endl;
88 std::vector<int>::iterator intIter;
89 for (intIter =
listPns.begin(); intIter !=
listPns.end(); intIter++) {
90 if (((*intIter) < 1) || (10 < (*intIter))) {
91 std::cout <<
"[EcalPnGraphs] pn number : " << (*intIter) <<
" found in listPns. "
92 <<
" Valid range is 1-10. Returning." << std::endl;
106 for (
int i = 0;
i < 50;
i++)
References abscissa, gather_cfg::cout, digiProducer_, ebs_, eventCounter, fedMap, feds_, fileName, first_Pn, EcalFedMap::getFedFromSlice(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, inputIsOk, listPns, numPn, and AlCaHLTBitMon_QueryRunRegistry::string.
Implements edm::EDAnalyzer.
Definition at line 126 of file EcalPnGraphs.cc.
144 std::vector<int>::iterator pn_it;
149 for (
int u = (-hpn); u <= hpn; u++) {
151 if (ipn_c < 1 || ipn_c > 10)
163 int ipn = (*pnItr).id().iPnId();
168 int FEDid = ieb + 600;
170 std::vector<int>::iterator fedIter =
find(
feds_.begin(),
feds_.end(), FEDid);
172 if (fedIter ==
feds_.end()) {
174 <<
" PnDigis are not found from requested SM!. returning...";
178 std::vector<int>::iterator iPnIter;
183 for (
int i = 0;
i < (*pnItr).size() &&
i < 50; ++
i) {
190 oneGraph.SetTitle(
title.c_str());
191 oneGraph.SetName(
title.c_str());
192 graphs.push_back(oneGraph);
References abscissa, edm::SortedCollection< T, SORT >::begin(), digiProducer_, MillePedeFileConverter_cfg::e, edm::SortedCollection< T, SORT >::end(), eventCounter, feds_, spr::find(), graphs, mps_fire::i, inputIsOk, intToString(), listAllPns, listPns, numPn, ordinate, AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.