CMS 3D CMS Logo

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

define MonitorEnsembple to be used More...

#include <TopSingleLeptonDQM.h>

Inheritance diagram for TopSingleLeptonDQM:
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 (const edm::ParameterSet &cfg)
 default constructor More...
 
 ~TopSingleLeptonDQM () 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::vector< std::unique_ptr< SelectionStep< reco::CaloJet > > > CaloJetSteps
 
std::unique_ptr< SelectionStep< reco::PFCandidate > > ElectronStep
 
std::vector< std::unique_ptr< SelectionStep< reco::Jet > > > JetSteps
 
std::unique_ptr< SelectionStep< reco::MET > > METStep
 
std::unique_ptr< SelectionStep< reco::PFCandidate > > MuonStep
 
std::vector< std::unique_ptr< SelectionStep< reco::PFJet > > > PFJetSteps
 
std::unique_ptr< SelectionStep< reco::Vertex > > PvStep
 
std::vector< edm::ParameterSetsel_
 
std::map< std::string, std::pair< edm::ParameterSet, std::unique_ptr< TopSingleLepton::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

define MonitorEnsembple to be used

Module to apply a monitored selection of top like events in the semi-leptonic channel.

"DQM/Physics/plugins/TopSingleLeptonDQM.h"

Plugin to apply a monitored selection of top like events with some minimal flexibility in the number and definition of the selection steps. To achieve this flexibility it employes the SelectionStep class. The MonitorEnsemble class is used to provide a well defined set of histograms to be monitored after each selection step. The SelectionStep class provides a flexible and intuitive selection via the StringCutParser. SelectionStep and MonitorEnsemble classes are interleaved. The monitoring starts after a preselection step (which is not monitored in the context of this module) with an instance of the MonitorEnsemble class. The following objects are supported for selection:

These types have to be present as prefix of the selection step paramter label separated from the rest of the label by a ':' (e.g. in the form "jets:step0"). The class expects selection labels of this type. They will be disentangled by the private helper functions objectType and seletionStep as declared below.

Definition at line 266 of file TopSingleLeptonDQM.h.

Constructor & Destructor Documentation

◆ TopSingleLeptonDQM()

TopSingleLeptonDQM::TopSingleLeptonDQM ( const edm::ParameterSet cfg)

default constructor

Definition at line 698 of file TopSingleLeptonDQM.cc.

699  : vertexSelect_(nullptr),
700  beamspot_(""),
701  beamspotSelect_(nullptr),
702  MuonStep(nullptr),
703  ElectronStep(nullptr),
704  PvStep(nullptr),
705  METStep(nullptr) {
706  JetSteps.clear();
707  CaloJetSteps.clear();
708  PFJetSteps.clear();
709  // configure preselection
710  edm::ParameterSet presel = cfg.getParameter<edm::ParameterSet>("preselection");
711  if (presel.existsAs<edm::ParameterSet>("trigger")) {
713  triggerTable__ = consumes<edm::TriggerResults>(trigger.getParameter<edm::InputTag>("src"));
714  triggerPaths_ = trigger.getParameter<std::vector<std::string>>("select");
715  }
716  if (presel.existsAs<edm::ParameterSet>("beamspot")) {
718  beamspot_ = beamspot.getParameter<edm::InputTag>("src");
719  beamspot__ = consumes<reco::BeamSpot>(beamspot.getParameter<edm::InputTag>("src"));
721  std::make_unique<StringCutObjectSelector<reco::BeamSpot>>(beamspot.getParameter<std::string>("select"));
722  }
723 
724  // configure the selection
725  sel_ = cfg.getParameter<std::vector<edm::ParameterSet>>("selection");
726  setup_ = cfg.getParameter<edm::ParameterSet>("setup");
727  for (unsigned int i = 0; i < sel_.size(); ++i) {
728  selectionOrder_.push_back(sel_.at(i).getParameter<std::string>("label"));
730  std::make_pair(sel_.at(i),
731  std::make_unique<TopSingleLepton::MonitorEnsemble>(
733  }
734  for (std::vector<std::string>::const_iterator selIt = selectionOrder_.begin(); selIt != selectionOrder_.end();
735  ++selIt) {
736  std::string key = selectionStep(*selIt), type = objectType(*selIt);
737  if (selection_.find(key) != selection_.end()) {
738  if (type == "muons") {
739  MuonStep = std::make_unique<SelectionStep<reco::PFCandidate>>(selection_[key].first, consumesCollector());
740  }
741  if (type == "elecs") {
742  ElectronStep = std::make_unique<SelectionStep<reco::PFCandidate>>(selection_[key].first, consumesCollector());
743  }
744  if (type == "pvs") {
745  PvStep = std::make_unique<SelectionStep<reco::Vertex>>(selection_[key].first, consumesCollector());
746  }
747  if (type == "jets") {
748  JetSteps.push_back(std::make_unique<SelectionStep<reco::Jet>>(selection_[key].first, consumesCollector()));
749  }
750  if (type == "jets/pf") {
752  }
753  if (type == "jets/calo") {
754  CaloJetSteps.push_back(
756  }
757  if (type == "met") {
758  METStep = std::make_unique<SelectionStep<reco::MET>>(selection_[key].first, consumesCollector());
759  }
760  }
761  }
762 }

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

◆ ~TopSingleLeptonDQM()

TopSingleLeptonDQM::~TopSingleLeptonDQM ( )
inlineoverride

default destructor

Definition at line 271 of file TopSingleLeptonDQM.h.

271 {};

Member Function Documentation

◆ analyze()

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

do this during the event loop

Reimplemented from DQMOneEDAnalyzer<>.

Definition at line 768 of file TopSingleLeptonDQM.cc.

768  {
771  if (!event.getByToken(triggerTable__, triggerTable))
772  return;
773  if (!accept(event, *triggerTable, triggerPaths_))
774  return;
775  }
776  if (!beamspot__.isUninitialized()) {
778  if (!event.getByToken(beamspot__, beamspot))
779  return;
780  if (!(*beamspotSelect_)(*beamspot))
781  return;
782  }
783  // cout<<" apply selection steps"<<endl;
784  unsigned int passed = 0;
785  unsigned int nJetSteps = -1;
786  unsigned int nPFJetSteps = -1;
787  unsigned int nCaloJetSteps = -1;
788  for (std::vector<std::string>::const_iterator selIt = selectionOrder_.begin(); selIt != selectionOrder_.end();
789  ++selIt) {
790  std::string key = selectionStep(*selIt), type = objectType(*selIt);
791  if (selection_.find(key) != selection_.end()) {
792  if (type == "empty") {
793  selection_[key].second->fill(event, setup);
794  }
795  if (type == "muons" && MuonStep != nullptr) {
796  if (MuonStep->select(event)) {
797  ++passed;
798  // cout<<"selected event! "<<selection_[key].second<<endl;
799  selection_[key].second->fill(event, setup);
800  } else
801  break;
802  }
803  // cout<<" apply selection steps 2"<<endl;
804  if (type == "elecs" && ElectronStep != nullptr) {
805  // cout<<"In electrons ..."<<endl;
806  if (ElectronStep->select(event, "electron")) {
807  ++passed;
808  selection_[key].second->fill(event, setup);
809  } else
810  break;
811  }
812  // cout<<" apply selection steps 3"<<endl;
813  if (type == "pvs" && PvStep != nullptr) {
814  if (PvStep->selectVertex(event)) {
815  ++passed;
816  selection_[key].second->fill(event, setup);
817  } else
818  break;
819  }
820  // cout<<" apply selection steps 4"<<endl;
821  if (type == "jets") {
822  nJetSteps++;
823  if (JetSteps[nJetSteps] != nullptr) {
824  if (JetSteps[nJetSteps]->select(event, setup)) {
825  ++passed;
826  selection_[key].second->fill(event, setup);
827  } else
828  break;
829  }
830  }
831  if (type == "jets/pf") {
832  nPFJetSteps++;
833  if (PFJetSteps[nPFJetSteps] != nullptr) {
834  if (PFJetSteps[nPFJetSteps]->select(event, setup)) {
835  ++passed;
836  selection_[key].second->fill(event, setup);
837  } else
838  break;
839  }
840  }
841  if (type == "jets/calo") {
842  nCaloJetSteps++;
843  if (CaloJetSteps[nCaloJetSteps] != nullptr) {
844  if (CaloJetSteps[nCaloJetSteps]->select(event, setup)) {
845  ++passed;
846  selection_[key].second->fill(event, setup);
847  } else
848  break;
849  }
850  }
851  if (type == "met" && METStep != nullptr) {
852  if (METStep->select(event)) {
853  ++passed;
854  selection_[key].second->fill(event, setup);
855  } else
856  break;
857  }
858  }
859  }
860 }

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

◆ bookHistograms()

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

Implements DQMOneEDAnalyzer<>.

Definition at line 763 of file TopSingleLeptonDQM.cc.

763  {
764  for (auto selIt = selection_.begin(); selIt != selection_.end(); ++selIt) {
765  selIt->second.second->book(ibooker);
766  }
767 }

References selection_.

◆ objectType()

std::string TopSingleLeptonDQM::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 283 of file TopSingleLeptonDQM.h.

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

References label.

Referenced by analyze(), and TopSingleLeptonDQM().

◆ selectionStep()

std::string TopSingleLeptonDQM::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 286 of file TopSingleLeptonDQM.h.

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

Referenced by analyze(), and TopSingleLeptonDQM().

Member Data Documentation

◆ beamspot_

edm::InputTag TopSingleLeptonDQM::beamspot_
private

beamspot

Definition at line 297 of file TopSingleLeptonDQM.h.

Referenced by TopSingleLeptonDQM().

◆ beamspot__

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

Definition at line 298 of file TopSingleLeptonDQM.h.

Referenced by analyze(), and TopSingleLeptonDQM().

◆ beamspotSelect_

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

string cut selector

Definition at line 300 of file TopSingleLeptonDQM.h.

Referenced by analyze(), and TopSingleLeptonDQM().

◆ CaloJetSteps

std::vector<std::unique_ptr<SelectionStep<reco::CaloJet> > > TopSingleLeptonDQM::CaloJetSteps
private

Definition at line 316 of file TopSingleLeptonDQM.h.

Referenced by analyze(), and TopSingleLeptonDQM().

◆ ElectronStep

std::unique_ptr<SelectionStep<reco::PFCandidate> > TopSingleLeptonDQM::ElectronStep
private

Definition at line 312 of file TopSingleLeptonDQM.h.

Referenced by analyze(), and TopSingleLeptonDQM().

◆ JetSteps

std::vector<std::unique_ptr<SelectionStep<reco::Jet> > > TopSingleLeptonDQM::JetSteps
private

Definition at line 315 of file TopSingleLeptonDQM.h.

Referenced by analyze(), and TopSingleLeptonDQM().

◆ METStep

std::unique_ptr<SelectionStep<reco::MET> > TopSingleLeptonDQM::METStep
private

Definition at line 314 of file TopSingleLeptonDQM.h.

Referenced by analyze(), and TopSingleLeptonDQM().

◆ MuonStep

std::unique_ptr<SelectionStep<reco::PFCandidate> > TopSingleLeptonDQM::MuonStep
private

Definition at line 311 of file TopSingleLeptonDQM.h.

Referenced by analyze(), and TopSingleLeptonDQM().

◆ PFJetSteps

std::vector<std::unique_ptr<SelectionStep<reco::PFJet> > > TopSingleLeptonDQM::PFJetSteps
private

Definition at line 317 of file TopSingleLeptonDQM.h.

Referenced by analyze(), and TopSingleLeptonDQM().

◆ PvStep

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

Definition at line 313 of file TopSingleLeptonDQM.h.

Referenced by analyze(), and TopSingleLeptonDQM().

◆ sel_

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

Definition at line 319 of file TopSingleLeptonDQM.h.

Referenced by TopSingleLeptonDQM().

◆ selection_

std::map<std::string, std::pair<edm::ParameterSet, std::unique_ptr<TopSingleLepton::MonitorEnsemble> > > TopSingleLeptonDQM::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 310 of file TopSingleLeptonDQM.h.

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

◆ selectionOrder_

std::vector<std::string> TopSingleLeptonDQM::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 304 of file TopSingleLeptonDQM.h.

Referenced by analyze(), and TopSingleLeptonDQM().

◆ setup_

edm::ParameterSet TopSingleLeptonDQM::setup_
private

◆ triggerPaths_

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

trigger paths

Definition at line 292 of file TopSingleLeptonDQM.h.

Referenced by analyze(), and TopSingleLeptonDQM().

◆ triggerTable__

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

trigger table

Definition at line 286 of file TopSingleLeptonDQM.h.

Referenced by analyze(), and TopSingleLeptonDQM().

◆ vertexSelect_

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

string cut selector

Definition at line 294 of file TopSingleLeptonDQM.h.

mps_fire.i
i
Definition: mps_fire.py:428
TopSingleLeptonDQM::sel_
std::vector< edm::ParameterSet > sel_
Definition: TopSingleLeptonDQM.h:319
TopSingleLeptonDQM::PFJetSteps
std::vector< std::unique_ptr< SelectionStep< reco::PFJet > > > PFJetSteps
Definition: TopSingleLeptonDQM.h:317
TopSingleLeptonDQM::beamspot__
edm::EDGetTokenT< reco::BeamSpot > beamspot__
Definition: TopSingleLeptonDQM.h:298
singleTopDQM_cfi.select
select
Definition: singleTopDQM_cfi.py:50
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
TopSingleLeptonDQM::PvStep
std::unique_ptr< SelectionStep< reco::Vertex > > PvStep
Definition: TopSingleLeptonDQM.h:313
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::selection_
std::map< std::string, std::pair< edm::ParameterSet, std::unique_ptr< TopSingleLepton::MonitorEnsemble > > > selection_
Definition: TopSingleLeptonDQM.h:310
edm::Handle< edm::TriggerResults >
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
TopSingleLeptonDQM::JetSteps
std::vector< std::unique_ptr< SelectionStep< reco::Jet > > > JetSteps
Definition: TopSingleLeptonDQM.h:315
TopSingleLeptonDQM::ElectronStep
std::unique_ptr< SelectionStep< reco::PFCandidate > > ElectronStep
Definition: TopSingleLeptonDQM.h:312
accept
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
Definition: TopDQMHelpers.h:31
TopSingleLeptonDQM::setup_
edm::ParameterSet setup_
Definition: TopSingleLeptonDQM.h:320
TopSingleLeptonDQM::beamspotSelect_
std::unique_ptr< StringCutObjectSelector< reco::BeamSpot > > beamspotSelect_
string cut selector
Definition: TopSingleLeptonDQM.h:300
TopSingleLeptonDQM::triggerTable__
edm::EDGetTokenT< edm::TriggerResults > triggerTable__
trigger table
Definition: TopSingleLeptonDQM.h:286
TopSingleLeptonDQM::METStep
std::unique_ptr< SelectionStep< reco::MET > > METStep
Definition: TopSingleLeptonDQM.h:314
beamspot
Definition: BeamSpotWrite2Txt.h:8
first
auto first
Definition: CAHitNtupletGeneratorKernelsImpl.h:125
TopSingleLeptonDQM::triggerPaths_
std::vector< std::string > triggerPaths_
trigger paths
Definition: TopSingleLeptonDQM.h:292
TopSingleLeptonDQM::selectionStep
std::string selectionStep(const std::string &label)
Definition: TopSingleLeptonDQM.h:286
TopSingleLeptonDQM::objectType
std::string objectType(const std::string &label)
Definition: TopSingleLeptonDQM.h:283
edm::ParameterSet
Definition: ParameterSet.h:47
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
TopSingleLeptonDQM::MuonStep
std::unique_ptr< SelectionStep< reco::PFCandidate > > MuonStep
Definition: TopSingleLeptonDQM.h:311
TopSingleLeptonDQM::vertexSelect_
std::unique_ptr< StringCutObjectSelector< reco::Vertex > > vertexSelect_
string cut selector
Definition: TopSingleLeptonDQM.h:294
TopSingleLeptonDQM::selectionOrder_
std::vector< std::string > selectionOrder_
Definition: TopSingleLeptonDQM.h:304
TopSingleLeptonDQM::beamspot_
edm::InputTag beamspot_
beamspot
Definition: TopSingleLeptonDQM.h:297
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
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::CaloJetSteps
std::vector< std::unique_ptr< SelectionStep< reco::CaloJet > > > CaloJetSteps
Definition: TopSingleLeptonDQM.h:316
event
Definition: event.py:1
crabWrapper.key
key
Definition: crabWrapper.py:19
edm::InputTag
Definition: InputTag.h:15
label
const char * label
Definition: PFTauDecayModeTools.cc:11