CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
TopSingleLeptonDQM_miniAOD Class Reference

#include <TopSingleLeptonDQM_miniAOD.h>

Inheritance diagram for TopSingleLeptonDQM_miniAOD:
DQMOneEDAnalyzer<> edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

void analyze (const edm::Event &event, const edm::EventSetup &setup) override
 do this during the event loop More...
 
 TopSingleLeptonDQM_miniAOD (const edm::ParameterSet &cfg)
 default constructor More...
 
 ~TopSingleLeptonDQM_miniAOD () override
 default destructor More...
 
- Public Member Functions inherited from DQMOneEDAnalyzer<>
void accumulate (edm::Event const &event, edm::EventSetup const &setup) override
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
 DQMOneEDAnalyzer ()
 
void endRun (edm::Run const &, edm::EventSetup const &) final
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () 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
 
EDConsumerBaseoperator= (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)
 

Protected Member Functions

void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
- Protected Member Functions inherited from DQMOneEDAnalyzer<>
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
virtual void dqmEndRun (edm::Run const &, edm::EventSetup const &)
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
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)
 

Private Member Functions

std::string objectType (const std::string &label)
 
std::string selectionStep (const std::string &label)
 

Private Attributes

edm::InputTag beamspot_
 beamspot More...
 
edm::EDGetTokenT< reco::BeamSpotbeamspot__
 
std::unique_ptr< StringCutObjectSelector< reco::BeamSpot > > beamspotSelect_
 string cut selector More...
 
std::unique_ptr< SelectionStep< pat::Electron > > ElectronStep
 
std::vector< std::unique_ptr< SelectionStep< pat::Jet > > > JetSteps
 
std::unique_ptr< SelectionStep< pat::MET > > METStep
 
std::unique_ptr< SelectionStep< pat::Muon > > MuonStep
 
std::unique_ptr< SelectionStep< reco::Vertex > > PvStep
 
std::vector< edm::ParameterSetsel_
 
std::map< std::string, std::pair< edm::ParameterSet, std::unique_ptr< TopSingleLepton_miniAOD::MonitorEnsemble > > > selection_
 
std::vector< std::string > selectionOrder_
 
edm::ParameterSet setup_
 
std::vector< std::string > triggerPaths_
 trigger paths More...
 
edm::EDGetTokenT< edm::TriggerResultstriggerTable__
 trigger table More...
 
std::unique_ptr< StringCutObjectSelector< reco::Vertex > > vertexSelect_
 string cut selector More...
 

Additional Inherited Members

- Public Types inherited from DQMOneEDAnalyzer<>
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Attributes inherited from DQMOneEDAnalyzer<>
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Definition at line 185 of file TopSingleLeptonDQM_miniAOD.h.

Constructor & Destructor Documentation

◆ TopSingleLeptonDQM_miniAOD()

TopSingleLeptonDQM_miniAOD::TopSingleLeptonDQM_miniAOD ( const edm::ParameterSet cfg)

default constructor

Definition at line 708 of file TopSingleLeptonDQM_miniAOD.cc.

709  : vertexSelect_(nullptr),
710  beamspot_(""),
711  beamspotSelect_(nullptr),
712  MuonStep(nullptr),
713  ElectronStep(nullptr),
714  PvStep(nullptr),
715  METStep(nullptr) {
716  JetSteps.clear();
717 
718  // configure preselection
719  edm::ParameterSet presel = cfg.getParameter<edm::ParameterSet>("preselection");
720  if (presel.existsAs<edm::ParameterSet>("trigger")) {
722  triggerTable__ = consumes<edm::TriggerResults>(trigger.getParameter<edm::InputTag>("src"));
723  triggerPaths_ = trigger.getParameter<std::vector<std::string>>("select");
724  }
725  if (presel.existsAs<edm::ParameterSet>("beamspot")) {
727  beamspot_ = beamspot.getParameter<edm::InputTag>("src");
728  beamspot__ = consumes<reco::BeamSpot>(beamspot.getParameter<edm::InputTag>("src"));
730  std::make_unique<StringCutObjectSelector<reco::BeamSpot>>(beamspot.getParameter<std::string>("select"));
731  }
732 
733  // conifgure the selection
734  sel_ = cfg.getParameter<std::vector<edm::ParameterSet>>("selection");
735  setup_ = cfg.getParameter<edm::ParameterSet>("setup");
736  for (unsigned int i = 0; i < sel_.size(); ++i) {
737  selectionOrder_.push_back(sel_.at(i).getParameter<std::string>("label"));
739  std::make_pair(sel_.at(i),
740  std::make_unique<TopSingleLepton_miniAOD::MonitorEnsemble>(
742  }
743  for (std::vector<std::string>::const_iterator selIt = selectionOrder_.begin(); selIt != selectionOrder_.end();
744  ++selIt) {
745  std::string key = selectionStep(*selIt), type = objectType(*selIt);
746  if (selection_.find(key) != selection_.end()) {
747  if (type == "muons") {
748  MuonStep = std::make_unique<SelectionStep<pat::Muon>>(selection_[key].first, consumesCollector());
749  }
750  if (type == "elecs") {
751  ElectronStep = std::make_unique<SelectionStep<pat::Electron>>(selection_[key].first, consumesCollector());
752  }
753  if (type == "pvs") {
754  PvStep = std::make_unique<SelectionStep<reco::Vertex>>(selection_[key].first, consumesCollector());
755  }
756  if (type == "jets") {
757  JetSteps.push_back(std::make_unique<SelectionStep<pat::Jet>>(selection_[key].first, consumesCollector()));
758  }
759 
760  if (type == "met") {
761  METStep = std::make_unique<SelectionStep<pat::MET>>(selection_[key].first, consumesCollector());
762  }
763  }
764  }
765 }

References beamspot_, beamspot__, beamspotSelect_, looper::cfg, edm::EDConsumerBase::consumesCollector(), ElectronStep, edm::ParameterSet::existsAs(), first, edm::ParameterSet::getParameter(), mps_fire::i, JetSteps, crabWrapper::key, METStep, MuonStep, objectType(), PvStep, sel_, selection_, selectionOrder_, selectionStep(), setup_, AlCaHLTBitMon_QueryRunRegistry::string, triggerPaths_, and triggerTable__.

◆ ~TopSingleLeptonDQM_miniAOD()

TopSingleLeptonDQM_miniAOD::~TopSingleLeptonDQM_miniAOD ( )
inlineoverride

default destructor

Definition at line 190 of file TopSingleLeptonDQM_miniAOD.h.

190 {};

Member Function Documentation

◆ analyze()

void TopSingleLeptonDQM_miniAOD::analyze ( const edm::Event event,
const edm::EventSetup setup 
)
overridevirtual

do this during the event loop

Reimplemented from DQMOneEDAnalyzer<>.

Definition at line 771 of file TopSingleLeptonDQM_miniAOD.cc.

771  {
774  if (!event.getByToken(triggerTable__, triggerTable))
775  return;
776  if (!accept(event, *triggerTable, triggerPaths_))
777  return;
778  }
779  if (!beamspot__.isUninitialized()) {
781  if (!event.getByToken(beamspot__, beamspot))
782  return;
783  if (!(*beamspotSelect_)(*beamspot))
784  return;
785  }
786 
787  unsigned int passed = 0;
788  unsigned int nJetSteps = -1;
789 
790  for (std::vector<std::string>::const_iterator selIt = selectionOrder_.begin(); selIt != selectionOrder_.end();
791  ++selIt) {
792  std::string key = selectionStep(*selIt), type = objectType(*selIt);
793  if (selection_.find(key) != selection_.end()) {
794  if (type == "empty") {
795  selection_[key].second->fill(event, setup);
796  }
797  if (type == "muons" && MuonStep != nullptr) {
798  if (MuonStep->select(event)) {
799  ++passed;
800 
801  selection_[key].second->fill(event, setup);
802  } else
803  break;
804  }
805 
806  if (type == "elecs" && ElectronStep != nullptr) {
807  if (ElectronStep->select(event)) {
808  ++passed;
809  selection_[key].second->fill(event, setup);
810  } else
811  break;
812  }
813 
814  if (type == "pvs" && PvStep != nullptr) {
815  if (PvStep->selectVertex(event)) {
816  ++passed;
817  selection_[key].second->fill(event, setup);
818  } else
819  break;
820  }
821 
822  if (type == "jets") {
823  nJetSteps++;
824  if (JetSteps[nJetSteps] != nullptr) {
825  if (JetSteps[nJetSteps]->select(event, setup)) {
826  ++passed;
827  selection_[key].second->fill(event, setup);
828  } else
829  break;
830  }
831  }
832 
833  if (type == "met" && METStep != nullptr) {
834  if (METStep->select(event)) {
835  ++passed;
836  selection_[key].second->fill(event, setup);
837  } else
838  break;
839  }
840  }
841  }
842 }

References accept(), HLTObjectsMonitor_cfi::beamspot, beamspot__, beamspotSelect_, ElectronStep, edm::EDGetTokenT< T >::isUninitialized(), JetSteps, crabWrapper::key, METStep, MuonStep, objectType(), TriggerAnalyzer::passed, PvStep, singleTopDQM_cfi::select, selection_, selectionOrder_, selectionStep(), singleTopDQM_cfi::setup, AlCaHLTBitMon_QueryRunRegistry::string, triggerPaths_, and triggerTable__.

◆ bookHistograms()

void TopSingleLeptonDQM_miniAOD::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprotectedvirtual

Implements DQMOneEDAnalyzer<>.

Definition at line 766 of file TopSingleLeptonDQM_miniAOD.cc.

766  {
767  for (auto selIt = selection_.begin(); selIt != selection_.end(); ++selIt) {
768  selIt->second.second->book(ibooker);
769  }
770 }

References selection_.

◆ objectType()

std::string TopSingleLeptonDQM_miniAOD::objectType ( const std::string &  label)
inlineprivate

deduce object type from ParameterSet label, the label is expected to be of type 'objectType:selectionStep'

Definition at line 202 of file TopSingleLeptonDQM_miniAOD.h.

202 { return label.substr(0, label.find(':')); };

References label.

Referenced by analyze(), and TopSingleLeptonDQM_miniAOD().

◆ selectionStep()

std::string TopSingleLeptonDQM_miniAOD::selectionStep ( const std::string &  label)
inlineprivate

deduce selection step from ParameterSet label, the label is expected to be of type 'objectType:selectionStep'

Definition at line 205 of file TopSingleLeptonDQM_miniAOD.h.

205 { return label.substr(label.find(':') + 1); };

Referenced by analyze(), and TopSingleLeptonDQM_miniAOD().

Member Data Documentation

◆ beamspot_

edm::InputTag TopSingleLeptonDQM_miniAOD::beamspot_
private

beamspot

Definition at line 216 of file TopSingleLeptonDQM_miniAOD.h.

Referenced by TopSingleLeptonDQM_miniAOD().

◆ beamspot__

edm::EDGetTokenT<reco::BeamSpot> TopSingleLeptonDQM_miniAOD::beamspot__
private

Definition at line 217 of file TopSingleLeptonDQM_miniAOD.h.

Referenced by analyze(), and TopSingleLeptonDQM_miniAOD().

◆ beamspotSelect_

std::unique_ptr<StringCutObjectSelector<reco::BeamSpot> > TopSingleLeptonDQM_miniAOD::beamspotSelect_
private

string cut selector

Definition at line 219 of file TopSingleLeptonDQM_miniAOD.h.

Referenced by analyze(), and TopSingleLeptonDQM_miniAOD().

◆ ElectronStep

std::unique_ptr<SelectionStep<pat::Electron> > TopSingleLeptonDQM_miniAOD::ElectronStep
private

Definition at line 232 of file TopSingleLeptonDQM_miniAOD.h.

Referenced by analyze(), and TopSingleLeptonDQM_miniAOD().

◆ JetSteps

std::vector<std::unique_ptr<SelectionStep<pat::Jet> > > TopSingleLeptonDQM_miniAOD::JetSteps
private

Definition at line 235 of file TopSingleLeptonDQM_miniAOD.h.

Referenced by analyze(), and TopSingleLeptonDQM_miniAOD().

◆ METStep

std::unique_ptr<SelectionStep<pat::MET> > TopSingleLeptonDQM_miniAOD::METStep
private

Definition at line 234 of file TopSingleLeptonDQM_miniAOD.h.

Referenced by analyze(), and TopSingleLeptonDQM_miniAOD().

◆ MuonStep

std::unique_ptr<SelectionStep<pat::Muon> > TopSingleLeptonDQM_miniAOD::MuonStep
private

Definition at line 231 of file TopSingleLeptonDQM_miniAOD.h.

Referenced by analyze(), and TopSingleLeptonDQM_miniAOD().

◆ PvStep

std::unique_ptr<SelectionStep<reco::Vertex> > TopSingleLeptonDQM_miniAOD::PvStep
private

Definition at line 233 of file TopSingleLeptonDQM_miniAOD.h.

Referenced by analyze(), and TopSingleLeptonDQM_miniAOD().

◆ sel_

std::vector<edm::ParameterSet> TopSingleLeptonDQM_miniAOD::sel_
private

Definition at line 237 of file TopSingleLeptonDQM_miniAOD.h.

Referenced by TopSingleLeptonDQM_miniAOD().

◆ selection_

std::map<std::string, std::pair<edm::ParameterSet, std::unique_ptr<TopSingleLepton_miniAOD::MonitorEnsemble> > > TopSingleLeptonDQM_miniAOD::selection_
private

this is the heart component of the plugin; std::string keeps a label the selection step for later identification, edm::ParameterSet keeps the configuration of the selection for the SelectionStep class, MonitoringEnsemble keeps an instance of the MonitorEnsemble class to be filled after each selection step

Definition at line 230 of file TopSingleLeptonDQM_miniAOD.h.

Referenced by analyze(), bookHistograms(), and TopSingleLeptonDQM_miniAOD().

◆ selectionOrder_

std::vector<std::string> TopSingleLeptonDQM_miniAOD::selectionOrder_
private

needed to guarantee the selection order as defined by the order of ParameterSets in the selection vector as defined in the config

Definition at line 223 of file TopSingleLeptonDQM_miniAOD.h.

Referenced by analyze(), and TopSingleLeptonDQM_miniAOD().

◆ setup_

edm::ParameterSet TopSingleLeptonDQM_miniAOD::setup_
private

◆ triggerPaths_

std::vector<std::string> TopSingleLeptonDQM_miniAOD::triggerPaths_
private

trigger paths

Definition at line 211 of file TopSingleLeptonDQM_miniAOD.h.

Referenced by analyze(), and TopSingleLeptonDQM_miniAOD().

◆ triggerTable__

edm::EDGetTokenT<edm::TriggerResults> TopSingleLeptonDQM_miniAOD::triggerTable__
private

trigger table

Definition at line 205 of file TopSingleLeptonDQM_miniAOD.h.

Referenced by analyze(), and TopSingleLeptonDQM_miniAOD().

◆ vertexSelect_

std::unique_ptr<StringCutObjectSelector<reco::Vertex> > TopSingleLeptonDQM_miniAOD::vertexSelect_
private

string cut selector

Definition at line 213 of file TopSingleLeptonDQM_miniAOD.h.

TopSingleLeptonDQM_miniAOD::beamspot__
edm::EDGetTokenT< reco::BeamSpot > beamspot__
Definition: TopSingleLeptonDQM_miniAOD.h:217
mps_fire.i
i
Definition: mps_fire.py:428
singleTopDQM_cfi.select
select
Definition: singleTopDQM_cfi.py:50
TopSingleLeptonDQM_miniAOD::triggerTable__
edm::EDGetTokenT< edm::TriggerResults > triggerTable__
trigger table
Definition: TopSingleLeptonDQM_miniAOD.h:205
edm::EDGetTokenT::isUninitialized
constexpr bool isUninitialized() const noexcept
Definition: EDGetToken.h:99
edm::EDConsumerBase::consumesCollector
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
Definition: EDConsumerBase.cc:47
HLTObjectsMonitor_cfi.beamspot
beamspot
Definition: HLTObjectsMonitor_cfi.py:11
edm::ParameterSet::existsAs
bool existsAs(std::string const &parameterName, bool trackiness=true) const
checks if a parameter exists as a given type
Definition: ParameterSet.h:171
TopSingleLeptonDQM_miniAOD::beamspotSelect_
std::unique_ptr< StringCutObjectSelector< reco::BeamSpot > > beamspotSelect_
string cut selector
Definition: TopSingleLeptonDQM_miniAOD.h:219
TopSingleLeptonDQM_miniAOD::selection_
std::map< std::string, std::pair< edm::ParameterSet, std::unique_ptr< TopSingleLepton_miniAOD::MonitorEnsemble > > > selection_
Definition: TopSingleLeptonDQM_miniAOD.h:230
TopSingleLeptonDQM_miniAOD::selectionOrder_
std::vector< std::string > selectionOrder_
Definition: TopSingleLeptonDQM_miniAOD.h:223
edm::Handle< edm::TriggerResults >
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
TopSingleLeptonDQM_miniAOD::triggerPaths_
std::vector< std::string > triggerPaths_
trigger paths
Definition: TopSingleLeptonDQM_miniAOD.h:211
accept
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
Definition: TopDQMHelpers.h:31
TopSingleLeptonDQM_miniAOD::setup_
edm::ParameterSet setup_
Definition: TopSingleLeptonDQM_miniAOD.h:238
TopSingleLeptonDQM_miniAOD::METStep
std::unique_ptr< SelectionStep< pat::MET > > METStep
Definition: TopSingleLeptonDQM_miniAOD.h:234
TopSingleLeptonDQM_miniAOD::MuonStep
std::unique_ptr< SelectionStep< pat::Muon > > MuonStep
Definition: TopSingleLeptonDQM_miniAOD.h:231
beamspot
Definition: BeamSpotWrite2Txt.h:8
TopSingleLeptonDQM_miniAOD::PvStep
std::unique_ptr< SelectionStep< reco::Vertex > > PvStep
Definition: TopSingleLeptonDQM_miniAOD.h:233
first
auto first
Definition: CAHitNtupletGeneratorKernelsImpl.h:125
TopSingleLeptonDQM_miniAOD::sel_
std::vector< edm::ParameterSet > sel_
Definition: TopSingleLeptonDQM_miniAOD.h:237
edm::ParameterSet
Definition: ParameterSet.h:47
TopSingleLeptonDQM_miniAOD::beamspot_
edm::InputTag beamspot_
beamspot
Definition: TopSingleLeptonDQM_miniAOD.h:216
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
TopSingleLeptonDQM_miniAOD::ElectronStep
std::unique_ptr< SelectionStep< pat::Electron > > ElectronStep
Definition: TopSingleLeptonDQM_miniAOD.h:232
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TopSingleLeptonDQM_miniAOD::vertexSelect_
std::unique_ptr< StringCutObjectSelector< reco::Vertex > > vertexSelect_
string cut selector
Definition: TopSingleLeptonDQM_miniAOD.h:213
looper.cfg
cfg
Definition: looper.py:296
TriggerAnalyzer.passed
passed
Definition: TriggerAnalyzer.py:62
SelectionStep
Templated helper class to allow a selection on a certain object collection.
Definition: TopDQMHelpers.h:238
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
trigger
Definition: HLTPrescaleTableCond.h:8
TopSingleLeptonDQM_miniAOD::objectType
std::string objectType(const std::string &label)
Definition: TopSingleLeptonDQM_miniAOD.h:202
event
Definition: event.py:1
TopSingleLeptonDQM_miniAOD::JetSteps
std::vector< std::unique_ptr< SelectionStep< pat::Jet > > > JetSteps
Definition: TopSingleLeptonDQM_miniAOD.h:235
crabWrapper.key
key
Definition: crabWrapper.py:19
edm::InputTag
Definition: InputTag.h:15
label
const char * label
Definition: PFTauDecayModeTools.cc:11
TopSingleLeptonDQM_miniAOD::selectionStep
std::string selectionStep(const std::string &label)
Definition: TopSingleLeptonDQM_miniAOD.h:205