CMS 3D CMS Logo

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

define MonitorEnsembple to be used More...

#include <SingleTopTChannelLeptonDQM.h>

Inheritance diagram for SingleTopTChannelLeptonDQM:
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...
 
 SingleTopTChannelLeptonDQM (const edm::ParameterSet &cfg)
 default constructor More...
 
 ~SingleTopTChannelLeptonDQM () 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
 
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
 
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
 
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::GsfElectron > > ElectronStep
 
std::vector< std::unique_ptr< SelectionStep< reco::Jet > > > JetSteps
 
std::unique_ptr< SelectionStep< reco::MET > > METStep
 
std::unique_ptr< SelectionStep< reco::Muon > > MuonStep
 
std::unique_ptr< SelectionStep< reco::PFCandidate > > PFElectronStep
 
std::vector< std::unique_ptr< SelectionStep< reco::PFJet > > > PFJetSteps
 
std::unique_ptr< SelectionStep< reco::PFCandidate > > PFMuonStep
 
std::unique_ptr< SelectionStep< reco::Vertex > > PvStep
 
std::vector< edm::ParameterSetsel
 
std::map< std::string, std::pair< edm::ParameterSet, std::unique_ptr< SingleTopTChannelLepton::MonitorEnsemble > > > selection_
 
std::vector< std::string > selectionOrder_
 
std::vector< std::string > triggerPaths_
 trigger paths More...
 
edm::EDGetTokenT< edm::TriggerResultstriggerTable__
 trigger table More...
 
edm::InputTag vertex_
 primary vertex More...
 
edm::EDGetTokenT< reco::Vertexvertex__
 
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/SingleTopTChannelLeptonDQM.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 278 of file SingleTopTChannelLeptonDQM.h.

Constructor & Destructor Documentation

◆ SingleTopTChannelLeptonDQM()

SingleTopTChannelLeptonDQM::SingleTopTChannelLeptonDQM ( const edm::ParameterSet cfg)

default constructor

Definition at line 712 of file SingleTopTChannelLeptonDQM.cc.

713  : vertexSelect_(nullptr),
714  beamspot_(""),
715  beamspotSelect_(nullptr),
716  MuonStep(nullptr),
717  PFMuonStep(nullptr),
718  ElectronStep(nullptr),
719  PFElectronStep(nullptr),
720  PvStep(nullptr),
721  METStep(nullptr) {
722  JetSteps.clear();
723  CaloJetSteps.clear();
724  PFJetSteps.clear();
725  // configure preselection
726  edm::ParameterSet presel = cfg.getParameter<edm::ParameterSet>("preselection");
727  if (presel.existsAs<edm::ParameterSet>("trigger")) {
729  triggerTable__ = consumes<edm::TriggerResults>(trigger.getParameter<edm::InputTag>("src"));
730  triggerPaths_ = trigger.getParameter<std::vector<std::string>>("select");
731  }
732  if (presel.existsAs<edm::ParameterSet>("beamspot")) {
734  beamspot_ = beamspot.getParameter<edm::InputTag>("src");
735  beamspot__ = consumes<reco::BeamSpot>(beamspot.getParameter<edm::InputTag>("src"));
737  std::make_unique<StringCutObjectSelector<reco::BeamSpot>>(beamspot.getParameter<std::string>("select"));
738  }
739  // configure the selection
740  std::vector<edm::ParameterSet> sel = cfg.getParameter<std::vector<edm::ParameterSet>>("selection");
741 
742  for (unsigned int i = 0; i < sel.size(); ++i) {
743  selectionOrder_.push_back(sel.at(i).getParameter<std::string>("label"));
745  std::make_pair(sel.at(i),
746  std::make_unique<SingleTopTChannelLepton::MonitorEnsemble>(
747  selectionStep(selectionOrder_.back()).c_str(),
748  cfg.getParameter<edm::ParameterSet>("setup"),
749  cfg.getParameter<std::vector<edm::ParameterSet>>("selection"),
750  consumesCollector()));
751  }
752  for (std::vector<std::string>::const_iterator selIt = selectionOrder_.begin(); selIt != selectionOrder_.end();
753  ++selIt) {
754  std::string key = selectionStep(*selIt), type = objectType(*selIt);
755  if (selection_.find(key) != selection_.end()) {
756  using std::unique_ptr;
757 
758  if (type == "muons") {
759  MuonStep = std::make_unique<SelectionStep<reco::Muon>>(selection_[key].first, consumesCollector());
760  }
761  if (type == "muons/pf") {
762  PFMuonStep = std::make_unique<SelectionStep<reco::PFCandidate>>(selection_[key].first, consumesCollector());
763  }
764  if (type == "elecs") {
765  ElectronStep = std::make_unique<SelectionStep<reco::GsfElectron>>(selection_[key].first, consumesCollector());
766  }
767  if (type == "elecs/pf") {
768  PFElectronStep = std::make_unique<SelectionStep<reco::PFCandidate>>(selection_[key].first, consumesCollector());
769  }
770  if (type == "pvs") {
771  PvStep = std::make_unique<SelectionStep<reco::Vertex>>(selection_[key].first, consumesCollector());
772  }
773  if (type == "jets") {
774  JetSteps.push_back(std::make_unique<SelectionStep<reco::Jet>>(selection_[key].first, consumesCollector()));
775  }
776  if (type == "jets/pf") {
778  }
779  if (type == "jets/calo") {
780  CaloJetSteps.push_back(
782  }
783  if (type == "met") {
784  METStep = std::make_unique<SelectionStep<reco::MET>>(selection_[key].first, consumesCollector());
785  }
786  }
787  }
788 }

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(), PFElectronStep, PFJetSteps, PFMuonStep, PvStep, sel, selection_, selectionOrder_, selectionStep(), AlCaHLTBitMon_QueryRunRegistry::string, triggerPaths_, and triggerTable__.

◆ ~SingleTopTChannelLeptonDQM()

SingleTopTChannelLeptonDQM::~SingleTopTChannelLeptonDQM ( )
inlineoverride

default destructor

Definition at line 283 of file SingleTopTChannelLeptonDQM.h.

283 {};

Member Function Documentation

◆ analyze()

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

do this during the event loop

Reimplemented from DQMOneEDAnalyzer<>.

Definition at line 794 of file SingleTopTChannelLeptonDQM.cc.

794  {
797  if (!event.getByToken(triggerTable__, triggerTable))
798  return;
799  if (!accept(event, *triggerTable, triggerPaths_))
800  return;
801  }
802  if (!beamspot__.isUninitialized()) {
804  if (!event.getByToken(beamspot__, beamspot))
805  return;
806  if (!(*beamspotSelect_)(*beamspot))
807  return;
808  }
809  // apply selection steps
810  unsigned int passed = 0;
811  unsigned int nJetSteps = -1;
812  unsigned int nPFJetSteps = -1;
813  unsigned int nCaloJetSteps = -1;
814  for (std::vector<std::string>::const_iterator selIt = selectionOrder_.begin(); selIt != selectionOrder_.end();
815  ++selIt) {
816  std::string key = selectionStep(*selIt), type = objectType(*selIt);
817  if (selection_.find(key) != selection_.end()) {
818  if (type == "empty") {
819  selection_[key].second->fill(event, setup);
820  }
821  if (type == "presel") {
822  selection_[key].second->fill(event, setup);
823  }
824  if (type == "elecs" && ElectronStep != nullptr) {
825  if (ElectronStep->select(event)) {
826  ++passed;
827  selection_[key].second->fill(event, setup);
828  } else
829  break;
830  }
831  if (type == "elecs/pf" && PFElectronStep != nullptr) {
832  if (PFElectronStep->select(event, "electron")) {
833  ++passed;
834 
835  selection_[key].second->fill(event, setup);
836 
837  } else
838  break;
839  }
840  if (type == "muons" && MuonStep != nullptr) {
841  if (MuonStep->select(event)) {
842  ++passed;
843  selection_[key].second->fill(event, setup);
844  } else
845  break;
846  }
847  if (type == "muons/pf" && PFMuonStep != nullptr) {
848  if (PFMuonStep->select(event, "muon")) {
849  ++passed;
850  selection_[key].second->fill(event, setup);
851  } else
852  break;
853  }
854  if (type == "jets") {
855  nJetSteps++;
856  if (JetSteps[nJetSteps]) {
857  if (JetSteps[nJetSteps]->select(event, setup)) {
858  ++passed;
859  selection_[key].second->fill(event, setup);
860  } else
861  break;
862  }
863  }
864  if (type == "jets/pf") {
865  nPFJetSteps++;
866  if (PFJetSteps[nPFJetSteps]) {
867  if (PFJetSteps[nPFJetSteps]->select(event, setup)) {
868  ++passed;
869  selection_[key].second->fill(event, setup);
870  } else
871  break;
872  }
873  }
874  if (type == "jets/calo") {
875  nCaloJetSteps++;
876  if (CaloJetSteps[nCaloJetSteps]) {
877  if (CaloJetSteps[nCaloJetSteps]->select(event, setup)) {
878  ++passed;
879  selection_[key].second->fill(event, setup);
880  } else
881  break;
882  }
883  }
884  if (type == "met" && METStep != nullptr) {
885  if (METStep->select(event)) {
886  ++passed;
887  selection_[key].second->fill(event, setup);
888  } else
889  break;
890  }
891  }
892  }
893 }

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

◆ bookHistograms()

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

Implements DQMOneEDAnalyzer<>.

Definition at line 789 of file SingleTopTChannelLeptonDQM.cc.

789  {
790  for (auto selIt = selection_.begin(); selIt != selection_.end(); ++selIt) {
791  selIt->second.second->book(ibooker);
792  }
793 }

References selection_.

◆ objectType()

std::string SingleTopTChannelLeptonDQM::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 295 of file SingleTopTChannelLeptonDQM.h.

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

References label.

Referenced by analyze(), and SingleTopTChannelLeptonDQM().

◆ selectionStep()

std::string SingleTopTChannelLeptonDQM::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 298 of file SingleTopTChannelLeptonDQM.h.

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

Referenced by analyze(), and SingleTopTChannelLeptonDQM().

Member Data Documentation

◆ beamspot_

edm::InputTag SingleTopTChannelLeptonDQM::beamspot_
private

beamspot

Definition at line 313 of file SingleTopTChannelLeptonDQM.h.

Referenced by SingleTopTChannelLeptonDQM().

◆ beamspot__

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

Definition at line 314 of file SingleTopTChannelLeptonDQM.h.

Referenced by analyze(), and SingleTopTChannelLeptonDQM().

◆ beamspotSelect_

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

string cut selector

Definition at line 316 of file SingleTopTChannelLeptonDQM.h.

Referenced by analyze(), and SingleTopTChannelLeptonDQM().

◆ CaloJetSteps

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

Definition at line 336 of file SingleTopTChannelLeptonDQM.h.

Referenced by analyze(), and SingleTopTChannelLeptonDQM().

◆ ElectronStep

std::unique_ptr<SelectionStep<reco::GsfElectron> > SingleTopTChannelLeptonDQM::ElectronStep
private

Definition at line 331 of file SingleTopTChannelLeptonDQM.h.

Referenced by analyze(), and SingleTopTChannelLeptonDQM().

◆ JetSteps

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

Definition at line 335 of file SingleTopTChannelLeptonDQM.h.

Referenced by analyze(), and SingleTopTChannelLeptonDQM().

◆ METStep

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

Definition at line 339 of file SingleTopTChannelLeptonDQM.h.

Referenced by analyze(), and SingleTopTChannelLeptonDQM().

◆ MuonStep

std::unique_ptr<SelectionStep<reco::Muon> > SingleTopTChannelLeptonDQM::MuonStep
private

Definition at line 329 of file SingleTopTChannelLeptonDQM.h.

Referenced by analyze(), and SingleTopTChannelLeptonDQM().

◆ PFElectronStep

std::unique_ptr<SelectionStep<reco::PFCandidate> > SingleTopTChannelLeptonDQM::PFElectronStep
private

Definition at line 332 of file SingleTopTChannelLeptonDQM.h.

Referenced by analyze(), and SingleTopTChannelLeptonDQM().

◆ PFJetSteps

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

Definition at line 337 of file SingleTopTChannelLeptonDQM.h.

Referenced by analyze(), and SingleTopTChannelLeptonDQM().

◆ PFMuonStep

std::unique_ptr<SelectionStep<reco::PFCandidate> > SingleTopTChannelLeptonDQM::PFMuonStep
private

Definition at line 330 of file SingleTopTChannelLeptonDQM.h.

Referenced by analyze(), and SingleTopTChannelLeptonDQM().

◆ PvStep

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

Definition at line 333 of file SingleTopTChannelLeptonDQM.h.

Referenced by SingleTopTChannelLeptonDQM().

◆ sel

std::vector<edm::ParameterSet> SingleTopTChannelLeptonDQM::sel
private

Definition at line 340 of file SingleTopTChannelLeptonDQM.h.

Referenced by SingleTopTChannelLeptonDQM().

◆ selection_

std::map<std::string, std::pair<edm::ParameterSet, std::unique_ptr<SingleTopTChannelLepton::MonitorEnsemble> > > SingleTopTChannelLeptonDQM::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 327 of file SingleTopTChannelLeptonDQM.h.

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

◆ selectionOrder_

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

Referenced by analyze(), and SingleTopTChannelLeptonDQM().

◆ triggerPaths_

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

trigger paths

Definition at line 305 of file SingleTopTChannelLeptonDQM.h.

Referenced by analyze(), and SingleTopTChannelLeptonDQM().

◆ triggerTable__

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

trigger table

Definition at line 298 of file SingleTopTChannelLeptonDQM.h.

Referenced by analyze(), and SingleTopTChannelLeptonDQM().

◆ vertex_

edm::InputTag SingleTopTChannelLeptonDQM::vertex_
private

primary vertex

Definition at line 307 of file SingleTopTChannelLeptonDQM.h.

◆ vertex__

edm::EDGetTokenT<reco::Vertex> SingleTopTChannelLeptonDQM::vertex__
private

Definition at line 308 of file SingleTopTChannelLeptonDQM.h.

◆ vertexSelect_

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

string cut selector

Definition at line 310 of file SingleTopTChannelLeptonDQM.h.

SingleTopTChannelLeptonDQM::selectionStep
std::string selectionStep(const std::string &label)
Definition: SingleTopTChannelLeptonDQM.h:298
mps_fire.i
i
Definition: mps_fire.py:428
SingleTopTChannelLeptonDQM::vertexSelect_
std::unique_ptr< StringCutObjectSelector< reco::Vertex > > vertexSelect_
string cut selector
Definition: SingleTopTChannelLeptonDQM.h:310
singleTopDQM_cfi.select
select
Definition: singleTopDQM_cfi.py:50
SingleTopTChannelLeptonDQM::triggerTable__
edm::EDGetTokenT< edm::TriggerResults > triggerTable__
trigger table
Definition: SingleTopTChannelLeptonDQM.h:298
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
SingleTopTChannelLeptonDQM::sel
std::vector< edm::ParameterSet > sel
Definition: SingleTopTChannelLeptonDQM.h:340
HLTObjectsMonitor_cfi.beamspot
beamspot
Definition: HLTObjectsMonitor_cfi.py:11
SingleTopTChannelLeptonDQM::PvStep
std::unique_ptr< SelectionStep< reco::Vertex > > PvStep
Definition: SingleTopTChannelLeptonDQM.h:333
SingleTopTChannelLeptonDQM::ElectronStep
std::unique_ptr< SelectionStep< reco::GsfElectron > > ElectronStep
Definition: SingleTopTChannelLeptonDQM.h:331
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
SingleTopTChannelLeptonDQM::MuonStep
std::unique_ptr< SelectionStep< reco::Muon > > MuonStep
Definition: SingleTopTChannelLeptonDQM.h:329
edm::Handle< edm::TriggerResults >
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
accept
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
Definition: TopDQMHelpers.h:31
SingleTopTChannelLeptonDQM::beamspotSelect_
std::unique_ptr< StringCutObjectSelector< reco::BeamSpot > > beamspotSelect_
string cut selector
Definition: SingleTopTChannelLeptonDQM.h:316
beamspot
Definition: BeamSpotWrite2Txt.h:8
SingleTopTChannelLeptonDQM::objectType
std::string objectType(const std::string &label)
Definition: SingleTopTChannelLeptonDQM.h:295
first
auto first
Definition: CAHitNtupletGeneratorKernelsImpl.h:112
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SingleTopTChannelLeptonDQM::JetSteps
std::vector< std::unique_ptr< SelectionStep< reco::Jet > > > JetSteps
Definition: SingleTopTChannelLeptonDQM.h:335
SingleTopTChannelLeptonDQM::PFElectronStep
std::unique_ptr< SelectionStep< reco::PFCandidate > > PFElectronStep
Definition: SingleTopTChannelLeptonDQM.h:332
edm::ParameterSet
Definition: ParameterSet.h:47
SingleTopTChannelLeptonDQM::selectionOrder_
std::vector< std::string > selectionOrder_
Definition: SingleTopTChannelLeptonDQM.h:320
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
SingleTopTChannelLeptonDQM::beamspot_
edm::InputTag beamspot_
beamspot
Definition: SingleTopTChannelLeptonDQM.h:313
SingleTopTChannelLeptonDQM::PFJetSteps
std::vector< std::unique_ptr< SelectionStep< reco::PFJet > > > PFJetSteps
Definition: SingleTopTChannelLeptonDQM.h:337
SingleTopTChannelLeptonDQM::selection_
std::map< std::string, std::pair< edm::ParameterSet, std::unique_ptr< SingleTopTChannelLepton::MonitorEnsemble > > > selection_
Definition: SingleTopTChannelLeptonDQM.h:327
SingleTopTChannelLeptonDQM::CaloJetSteps
std::vector< std::unique_ptr< SelectionStep< reco::CaloJet > > > CaloJetSteps
Definition: SingleTopTChannelLeptonDQM.h:336
SingleTopTChannelLeptonDQM::METStep
std::unique_ptr< SelectionStep< reco::MET > > METStep
Definition: SingleTopTChannelLeptonDQM.h:339
looper.cfg
cfg
Definition: looper.py:297
cms::cuda::device::unique_ptr
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
Definition: device_unique_ptr.h:33
SingleTopTChannelLeptonDQM::PFMuonStep
std::unique_ptr< SelectionStep< reco::PFCandidate > > PFMuonStep
Definition: SingleTopTChannelLeptonDQM.h:330
SingleTopTChannelLeptonDQM::triggerPaths_
std::vector< std::string > triggerPaths_
trigger paths
Definition: SingleTopTChannelLeptonDQM.h:305
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
SingleTopTChannelLeptonDQM::beamspot__
edm::EDGetTokenT< reco::BeamSpot > beamspot__
Definition: SingleTopTChannelLeptonDQM.h:314
trigger
Definition: HLTPrescaleTableCond.h:8
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