CMS 3D CMS Logo

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

#include <SingleTopTChannelLeptonDQM_miniAOD.h>

Inheritance diagram for SingleTopTChannelLeptonDQM_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...
 
 SingleTopTChannelLeptonDQM_miniAOD (const edm::ParameterSet &cfg)
 default constructor More...
 
 ~SingleTopTChannelLeptonDQM_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
 
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::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< SingleTopTChannelLepton_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 SingleTopTChannelLeptonDQM_miniAOD.h.

Constructor & Destructor Documentation

◆ SingleTopTChannelLeptonDQM_miniAOD()

SingleTopTChannelLeptonDQM_miniAOD::SingleTopTChannelLeptonDQM_miniAOD ( const edm::ParameterSet cfg)

default constructor

Definition at line 749 of file SingleTopTChannelLeptonDQM_miniAOD.cc.

750  : vertexSelect_(nullptr),
751  beamspot_(""),
752  beamspotSelect_(nullptr),
753  MuonStep(nullptr),
754  ElectronStep(nullptr),
755  PvStep(nullptr),
756  METStep(nullptr) {
757  JetSteps.clear();
758 
759  // configure preselection
760  edm::ParameterSet presel = cfg.getParameter<edm::ParameterSet>("preselection");
761  if (presel.existsAs<edm::ParameterSet>("trigger")) {
763  triggerTable__ = consumes<edm::TriggerResults>(trigger.getParameter<edm::InputTag>("src"));
764  triggerPaths_ = trigger.getParameter<std::vector<std::string>>("select");
765  }
766  if (presel.existsAs<edm::ParameterSet>("beamspot")) {
768  beamspot_ = beamspot.getParameter<edm::InputTag>("src");
769  beamspot__ = consumes<reco::BeamSpot>(beamspot.getParameter<edm::InputTag>("src"));
771  std::make_unique<StringCutObjectSelector<reco::BeamSpot>>(beamspot.getParameter<std::string>("select"));
772  }
773 
774  // conifgure the selection
775  sel_ = cfg.getParameter<std::vector<edm::ParameterSet>>("selection");
776  setup_ = cfg.getParameter<edm::ParameterSet>("setup");
777  for (unsigned int i = 0; i < sel_.size(); ++i) {
778  selectionOrder_.push_back(sel_.at(i).getParameter<std::string>("label"));
780  std::make_pair(sel_.at(i),
781  std::make_unique<SingleTopTChannelLepton_miniAOD::MonitorEnsemble>(
782 
784  }
785  for (std::vector<std::string>::const_iterator selIt = selectionOrder_.begin(); selIt != selectionOrder_.end();
786  ++selIt) {
787  std::string key = selectionStep(*selIt), type = objectType(*selIt);
788  if (selection_.find(key) != selection_.end()) {
789  if (type == "muons") {
790  MuonStep = std::make_unique<SelectionStep<pat::Muon>>(selection_[key].first, consumesCollector());
791  }
792  if (type == "elecs") {
793  ElectronStep = std::make_unique<SelectionStep<pat::Electron>>(selection_[key].first, consumesCollector());
794  }
795  if (type == "pvs") {
796  PvStep = std::make_unique<SelectionStep<reco::Vertex>>(selection_[key].first, consumesCollector());
797  }
798  if (type == "jets") {
799  JetSteps.push_back(std::make_unique<SelectionStep<pat::Jet>>(selection_[key].first, consumesCollector()));
800  }
801 
802  if (type == "met") {
803  METStep = std::make_unique<SelectionStep<pat::MET>>(selection_[key].first, consumesCollector());
804  }
805  }
806  }
807 }

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__.

◆ ~SingleTopTChannelLeptonDQM_miniAOD()

SingleTopTChannelLeptonDQM_miniAOD::~SingleTopTChannelLeptonDQM_miniAOD ( )
inlineoverride

default destructor

Definition at line 190 of file SingleTopTChannelLeptonDQM_miniAOD.h.

190 {};

Member Function Documentation

◆ analyze()

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

do this during the event loop

Reimplemented from DQMOneEDAnalyzer<>.

Definition at line 815 of file SingleTopTChannelLeptonDQM_miniAOD.cc.

815  {
818  if (!event.getByToken(triggerTable__, triggerTable))
819  return;
820  if (!accept(event, *triggerTable, triggerPaths_))
821  return;
822  }
823  if (!beamspot__.isUninitialized()) {
825  if (!event.getByToken(beamspot__, beamspot))
826  return;
827  if (!(*beamspotSelect_)(*beamspot))
828  return;
829  }
830 
831  unsigned int passed = 0;
832  unsigned int nJetSteps = -1;
833 
834  for (std::vector<std::string>::const_iterator selIt = selectionOrder_.begin(); selIt != selectionOrder_.end();
835  ++selIt) {
836  std::string key = selectionStep(*selIt), type = objectType(*selIt);
837  if (selection_.find(key) != selection_.end()) {
838  if (type == "empty") {
839  selection_[key].second->fill(event, setup);
840  }
841  if (type == "muons" && MuonStep != nullptr) {
842  if (MuonStep->select(event)) {
843  ++passed;
844 
845  selection_[key].second->fill(event, setup);
846  } else
847  break;
848  }
849 
850  if (type == "elecs" && ElectronStep != nullptr) {
851  if (ElectronStep->select(event)) {
852  ++passed;
853  selection_[key].second->fill(event, setup);
854  } else
855  break;
856  }
857 
858  if (type == "pvs" && PvStep != nullptr) {
859  if (PvStep->selectVertex(event)) {
860  ++passed;
861  selection_[key].second->fill(event, setup);
862  } else
863  break;
864  }
865 
866  if (type == "jets") {
867  nJetSteps++;
868  if (JetSteps[nJetSteps] != nullptr) {
869  if (JetSteps[nJetSteps]->select(event, setup)) {
870  ++passed;
871  selection_[key].second->fill(event, setup);
872  } else
873  break;
874  }
875  }
876 
877  if (type == "met" && METStep != nullptr) {
878  if (METStep->select(event)) {
879  ++passed;
880  selection_[key].second->fill(event, setup);
881  } else
882  break;
883  }
884  }
885  }
886 }

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 SingleTopTChannelLeptonDQM_miniAOD::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprotectedvirtual

Implements DQMOneEDAnalyzer<>.

Definition at line 808 of file SingleTopTChannelLeptonDQM_miniAOD.cc.

810  {
811  for (auto selIt = selection_.begin(); selIt != selection_.end(); ++selIt) {
812  selIt->second.second->book(ibooker);
813  }
814 }

References selection_.

◆ objectType()

std::string SingleTopTChannelLeptonDQM_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 SingleTopTChannelLeptonDQM_miniAOD.h.

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

References label.

Referenced by analyze(), and SingleTopTChannelLeptonDQM_miniAOD().

◆ selectionStep()

std::string SingleTopTChannelLeptonDQM_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 SingleTopTChannelLeptonDQM_miniAOD.h.

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

Referenced by analyze(), and SingleTopTChannelLeptonDQM_miniAOD().

Member Data Documentation

◆ beamspot_

edm::InputTag SingleTopTChannelLeptonDQM_miniAOD::beamspot_
private

beamspot

Definition at line 216 of file SingleTopTChannelLeptonDQM_miniAOD.h.

Referenced by SingleTopTChannelLeptonDQM_miniAOD().

◆ beamspot__

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

◆ beamspotSelect_

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

string cut selector

Definition at line 219 of file SingleTopTChannelLeptonDQM_miniAOD.h.

Referenced by analyze(), and SingleTopTChannelLeptonDQM_miniAOD().

◆ ElectronStep

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

◆ JetSteps

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

◆ METStep

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

◆ MuonStep

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

◆ PvStep

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

◆ sel_

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

◆ selection_

std::map<std::string, std::pair<edm::ParameterSet, std::unique_ptr<SingleTopTChannelLepton_miniAOD::MonitorEnsemble> > > SingleTopTChannelLeptonDQM_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 SingleTopTChannelLeptonDQM_miniAOD.h.

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

◆ selectionOrder_

std::vector<std::string> SingleTopTChannelLeptonDQM_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 SingleTopTChannelLeptonDQM_miniAOD.h.

Referenced by analyze(), and SingleTopTChannelLeptonDQM_miniAOD().

◆ setup_

edm::ParameterSet SingleTopTChannelLeptonDQM_miniAOD::setup_
private

◆ triggerPaths_

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

trigger paths

Definition at line 211 of file SingleTopTChannelLeptonDQM_miniAOD.h.

Referenced by analyze(), and SingleTopTChannelLeptonDQM_miniAOD().

◆ triggerTable__

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

trigger table

Definition at line 205 of file SingleTopTChannelLeptonDQM_miniAOD.h.

Referenced by analyze(), and SingleTopTChannelLeptonDQM_miniAOD().

◆ vertexSelect_

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

string cut selector

Definition at line 213 of file SingleTopTChannelLeptonDQM_miniAOD.h.

mps_fire.i
i
Definition: mps_fire.py:428
SingleTopTChannelLeptonDQM_miniAOD::PvStep
std::unique_ptr< SelectionStep< reco::Vertex > > PvStep
Definition: SingleTopTChannelLeptonDQM_miniAOD.h:233
SingleTopTChannelLeptonDQM_miniAOD::ElectronStep
std::unique_ptr< SelectionStep< pat::Electron > > ElectronStep
Definition: SingleTopTChannelLeptonDQM_miniAOD.h:232
singleTopDQM_cfi.select
select
Definition: singleTopDQM_cfi.py:50
SingleTopTChannelLeptonDQM_miniAOD::JetSteps
std::vector< std::unique_ptr< SelectionStep< pat::Jet > > > JetSteps
Definition: SingleTopTChannelLeptonDQM_miniAOD.h:235
SingleTopTChannelLeptonDQM_miniAOD::selectionOrder_
std::vector< std::string > selectionOrder_
Definition: SingleTopTChannelLeptonDQM_miniAOD.h:223
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
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_miniAOD::selection_
std::map< std::string, std::pair< edm::ParameterSet, std::unique_ptr< SingleTopTChannelLepton_miniAOD::MonitorEnsemble > > > selection_
Definition: SingleTopTChannelLeptonDQM_miniAOD.h:230
SingleTopTChannelLeptonDQM_miniAOD::sel_
std::vector< edm::ParameterSet > sel_
Definition: SingleTopTChannelLeptonDQM_miniAOD.h:237
SingleTopTChannelLeptonDQM_miniAOD::beamspot__
edm::EDGetTokenT< reco::BeamSpot > beamspot__
Definition: SingleTopTChannelLeptonDQM_miniAOD.h:217
beamspot
Definition: BeamSpotWrite2Txt.h:8
SingleTopTChannelLeptonDQM_miniAOD::MuonStep
std::unique_ptr< SelectionStep< pat::Muon > > MuonStep
Definition: SingleTopTChannelLeptonDQM_miniAOD.h:231
SingleTopTChannelLeptonDQM_miniAOD::objectType
std::string objectType(const std::string &label)
Definition: SingleTopTChannelLeptonDQM_miniAOD.h:202
first
auto first
Definition: CAHitNtupletGeneratorKernelsImpl.h:112
SingleTopTChannelLeptonDQM_miniAOD::triggerPaths_
std::vector< std::string > triggerPaths_
trigger paths
Definition: SingleTopTChannelLeptonDQM_miniAOD.h:211
SingleTopTChannelLeptonDQM_miniAOD::selectionStep
std::string selectionStep(const std::string &label)
Definition: SingleTopTChannelLeptonDQM_miniAOD.h:205
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
SingleTopTChannelLeptonDQM_miniAOD::beamspot_
edm::InputTag beamspot_
beamspot
Definition: SingleTopTChannelLeptonDQM_miniAOD.h:216
SingleTopTChannelLeptonDQM_miniAOD::setup_
edm::ParameterSet setup_
Definition: SingleTopTChannelLeptonDQM_miniAOD.h:238
SingleTopTChannelLeptonDQM_miniAOD::beamspotSelect_
std::unique_ptr< StringCutObjectSelector< reco::BeamSpot > > beamspotSelect_
string cut selector
Definition: SingleTopTChannelLeptonDQM_miniAOD.h:219
looper.cfg
cfg
Definition: looper.py:297
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_miniAOD::METStep
std::unique_ptr< SelectionStep< pat::MET > > METStep
Definition: SingleTopTChannelLeptonDQM_miniAOD.h:234
trigger
Definition: HLTPrescaleTableCond.h:8
SingleTopTChannelLeptonDQM_miniAOD::vertexSelect_
std::unique_ptr< StringCutObjectSelector< reco::Vertex > > vertexSelect_
string cut selector
Definition: SingleTopTChannelLeptonDQM_miniAOD.h:213
event
Definition: event.py:1
crabWrapper.key
key
Definition: crabWrapper.py:19
edm::InputTag
Definition: InputTag.h:15
SingleTopTChannelLeptonDQM_miniAOD::triggerTable__
edm::EDGetTokenT< edm::TriggerResults > triggerTable__
trigger table
Definition: SingleTopTChannelLeptonDQM_miniAOD.h:205
label
const char * label
Definition: PFTauDecayModeTools.cc:11