|
| MaterialBudgetVolumeAnalysis (edm::ParameterSet const &) |
|
| 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) |
|
|
typedef EDAnalyzerBase | ModuleType |
|
typedef ProductLabels | Labels |
|
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) |
|
Implements edm::one::EDAnalyzerBase.
Definition at line 84 of file MaterialBudgetVolumeAnalysis.cc.
88 unsigned int nsize(0),
ntot(0), nused(0);
90 if (materialInformationContainer.
isValid()) {
92 nsize = materialInformationContainer->size();
94 for (
const auto& it : *(materialInformationContainer.
product())) {
104 meStepEta_[
k]->Fill(it.trackEta(), it.stepLength());
105 meRadLEta_[
k]->Fill(it.trackEta(), it.radiationLength());
106 meIntLEta_[
k]->Fill(it.trackEta(), it.interactionLength());
107 meStepPhi_[
k]->Fill(it.trackPhi(), it.stepLength());
108 meRadLPhi_[
k]->Fill(it.trackPhi(), it.radiationLength());
109 meIntLPhi_[
k]->Fill(it.trackPhi(), it.interactionLength());
110 meStepEtaPhi_[
k]->Fill(it.trackEta(), it.trackPhi(), it.stepLength());
111 meRadLEtaPhi_[
k]->Fill(it.trackEta(), it.trackPhi(), it.radiationLength());
112 meIntLEtaPhi_[
k]->Fill(it.trackEta(), it.trackPhi(), it.interactionLength());
117 edm::LogVerbatim(
"MaterialBudget") <<
"MaterialInformation with " << nsize <<
":" <<
ntot <<
" elements of which "
118 << nused <<
" are used";
References spr::find(), iEvent, edm::HandleBase::isValid(), dqmdumpme::k, meIntLEta_, meIntLEtaPhi_, meIntLPhi_, meRadLEta_, meRadLEtaPhi_, meRadLPhi_, meStepEta_, meStepEtaPhi_, meStepPhi_, names_, gpuPixelDoublets::ntot, edm::Handle< T >::product(), and tok_info_.
void MaterialBudgetVolumeAnalysis::bookHisto |
( |
| ) |
|
|
private |
Definition at line 122 of file MaterialBudgetVolumeAnalysis.cc.
125 for (
unsigned int k = 0;
k <
names_.size(); ++
k) {
127 sprintf(
title,
"MB(Step) vs #eta for %s",
names_[
k].c_str());
130 sprintf(
title,
"MB(X0) vs #eta for %s",
names_[
k].c_str());
133 sprintf(
title,
"MB(L0) vs #eta for %s",
names_[
k].c_str());
136 sprintf(
title,
"MB(Step) vs #phi for %s",
names_[
k].c_str());
139 sprintf(
title,
"MB(X0) vs #phi for %s",
names_[
k].c_str());
142 sprintf(
title,
"MB(L0) vs #phi for %s",
names_[
k].c_str());
145 sprintf(
title,
"MB(Step) vs #eta and #phi for %s",
names_[
k].c_str());
149 sprintf(
title,
"MB(X0) vs #eta and #phi for %s",
names_[
k].c_str());
153 sprintf(
title,
"MB(L0) vs #eta and #phi for %s",
names_[
k].c_str());
References binEta_, binPhi_, etaHigh_, etaLow_, dqmdumpme::k, TFileService::make(), meIntLEta_, meIntLEtaPhi_, meIntLPhi_, meRadLEta_, meRadLEtaPhi_, meRadLPhi_, meStepEta_, meStepEtaPhi_, meStepPhi_, Skims_PA_cff::name, names_, phiHigh_, phiLow_, and runGCPTkAlMap::title.
Referenced by MaterialBudgetVolumeAnalysis().