CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
TopDiLeptonOfflineDQM Class Reference

define MonitorEnsembple to be used More...

#include <TopDiLeptonOfflineDQM.h>

Inheritance diagram for TopDiLeptonOfflineDQM:
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...
 
 TopDiLeptonOfflineDQM (const edm::ParameterSet &cfg)
 default constructor More...
 
 ~TopDiLeptonOfflineDQM () 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
 
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)
 
 ~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 const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex >
const & 
esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector
< ProductResolverIndexAndSkipBit >
const & 
itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
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
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
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<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
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...
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
void resetItemsToGetFrom (BranchType iType)
 

Private Member Functions

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

Private Attributes

edm::EDGetTokenT< reco::BeamSpotbeamspot_
 beamspot More...
 
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
< TopDiLeptonOffline::MonitorEnsemble > > > 
selection_
 
std::vector< std::string > selectionOrder_
 
edm::ParameterSet setup_
 
std::vector< std::string > triggerPaths_
 trigger paths More...
 
edm::EDGetTokenT
< edm::TriggerResults
triggerTable_
 trigger table More...
 
edm::EDGetTokenT< std::vector
< reco::Vertex > > 
vertex_
 primary vertex 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 di-leptonic channel.

"DQM/Physics/plugins/TopDiLeptonOfflineDQM.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 296 of file TopDiLeptonOfflineDQM.h.

Constructor & Destructor Documentation

TopDiLeptonOfflineDQM::TopDiLeptonOfflineDQM ( const edm::ParameterSet cfg)

default constructor

Definition at line 697 of file TopDiLeptonOfflineDQM.cc.

References relval_steps::beamspot, beamspot_, beamspotSelect_, CaloJetSteps, edm::EDConsumerBase::consumesCollector(), ElectronStep, edm::ParameterSet::existsAs(), first, edm::ParameterSet::getParameter(), mps_fire::i, JetSteps, submitPVResolutionJobs::key, METStep, MuonStep, objectType(), PFJetSteps, PvStep, sel_, selection_, selectionOrder_, selectionStep(), setup_, AlCaHLTBitMon_QueryRunRegistry::string, triggerPaths_, triggerTable_, vertex_, and vertexSelect_.

698  : vertexSelect_(nullptr),
699  beamspotSelect_(nullptr),
700  MuonStep(nullptr),
701  ElectronStep(nullptr),
702  PvStep(nullptr),
703  METStep(nullptr) {
704  JetSteps.clear();
705  CaloJetSteps.clear();
706  PFJetSteps.clear();
707  // configure the preselection
708  edm::ParameterSet presel = cfg.getParameter<edm::ParameterSet>("preselection");
709  if (presel.existsAs<edm::ParameterSet>("trigger")) {
710  edm::ParameterSet trigger = presel.getParameter<edm::ParameterSet>("trigger");
711  // triggerTable_=trigger.getParameter<edm::InputTag>("src");
712  triggerTable_ = consumes<edm::TriggerResults>(trigger.getParameter<edm::InputTag>("src"));
713  triggerPaths_ = trigger.getParameter<std::vector<std::string>>("select");
714  }
715  if (presel.existsAs<edm::ParameterSet>("vertex")) {
716  edm::ParameterSet vertex = presel.getParameter<edm::ParameterSet>("vertex");
717  vertex_ = consumes<std::vector<reco::Vertex>>(vertex.getParameter<edm::InputTag>("src"));
718  vertexSelect_ = std::make_unique<StringCutObjectSelector<reco::Vertex>>(vertex.getParameter<std::string>("select"));
719  }
720  if (presel.existsAs<edm::ParameterSet>("beamspot")) {
721  edm::ParameterSet beamspot = presel.getParameter<edm::ParameterSet>("beamspot");
722  beamspot_ = consumes<reco::BeamSpot>(beamspot.getParameter<edm::InputTag>("src"));
724  std::make_unique<StringCutObjectSelector<reco::BeamSpot>>(beamspot.getParameter<std::string>("select"));
725  }
726 
727  // conifgure the selection
728  sel_ = cfg.getParameter<std::vector<edm::ParameterSet>>("selection");
729  setup_ = cfg.getParameter<edm::ParameterSet>("setup");
730  for (unsigned int i = 0; i < sel_.size(); ++i) {
731  selectionOrder_.push_back(sel_.at(i).getParameter<std::string>("label"));
733  std::make_pair(sel_.at(i),
734  std::make_unique<TopDiLeptonOffline::MonitorEnsemble>(
736  }
737  for (std::vector<std::string>::const_iterator selIt = selectionOrder_.begin(); selIt != selectionOrder_.end();
738  ++selIt) {
739  std::string key = selectionStep(*selIt), type = objectType(*selIt);
740  if (selection_.find(key) != selection_.end()) {
741  if (type == "muons") {
742  MuonStep = std::make_unique<SelectionStep<reco::PFCandidate>>(selection_[key].first, consumesCollector());
743  }
744  if (type == "elecs") {
745  ElectronStep = std::make_unique<SelectionStep<reco::PFCandidate>>(selection_[key].first, consumesCollector());
746  }
747  if (type == "pvs") {
748  PvStep = std::make_unique<SelectionStep<reco::Vertex>>(selection_[key].first, consumesCollector());
749  }
750  if (type == "jets") {
751  JetSteps.push_back(std::make_unique<SelectionStep<reco::Jet>>(selection_[key].first, consumesCollector()));
752  }
753  if (type == "jets/pf") {
754  PFJetSteps.push_back(std::make_unique<SelectionStep<reco::PFJet>>(selection_[key].first, consumesCollector()));
755  }
756  if (type == "jets/calo") {
757  CaloJetSteps.push_back(
758  std::make_unique<SelectionStep<reco::CaloJet>>(selection_[key].first, consumesCollector()));
759  }
760  if (type == "met") {
761  METStep = std::make_unique<SelectionStep<reco::MET>>(selection_[key].first, consumesCollector());
762  }
763  }
764  }
765 }
std::string selectionStep(const std::string &label)
std::vector< std::string > selectionOrder_
bool existsAs(std::string const &parameterName, bool trackiness=true) const
checks if a parameter exists as a given type
Definition: ParameterSet.h:171
std::unique_ptr< SelectionStep< reco::Vertex > > PvStep
std::vector< std::unique_ptr< SelectionStep< reco::CaloJet > > > CaloJetSteps
edm::EDGetTokenT< std::vector< reco::Vertex > > vertex_
primary vertex
std::unique_ptr< StringCutObjectSelector< reco::Vertex > > vertexSelect_
string cut selector
std::vector< edm::ParameterSet > sel_
std::vector< std::unique_ptr< SelectionStep< reco::Jet > > > JetSteps
std::unique_ptr< SelectionStep< reco::PFCandidate > > MuonStep
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
tuple key
prepare the HTCondor submission files and eventually submit them
std::unique_ptr< SelectionStep< reco::MET > > METStep
std::unique_ptr< SelectionStep< reco::PFCandidate > > ElectronStep
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
Templated helper class to allow a selection on a certain object collection.
std::unique_ptr< StringCutObjectSelector< reco::BeamSpot > > beamspotSelect_
string cut selector
edm::EDGetTokenT< edm::TriggerResults > triggerTable_
trigger table
std::vector< std::string > triggerPaths_
trigger paths
std::string objectType(const std::string &label)
edm::EDGetTokenT< reco::BeamSpot > beamspot_
beamspot
std::map< std::string, std::pair< edm::ParameterSet, std::unique_ptr< TopDiLeptonOffline::MonitorEnsemble > > > selection_
std::vector< std::unique_ptr< SelectionStep< reco::PFJet > > > PFJetSteps
TopDiLeptonOfflineDQM::~TopDiLeptonOfflineDQM ( )
inlineoverride

default destructor

Definition at line 301 of file TopDiLeptonOfflineDQM.h.

301 {}

Member Function Documentation

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

do this during the event loop

Reimplemented from DQMOneEDAnalyzer<>.

Definition at line 772 of file TopDiLeptonOfflineDQM.cc.

References accept(), relval_steps::beamspot, beamspot_, beamspotSelect_, CaloJetSteps, ElectronStep, edm::Event::getByToken(), edm::EDGetTokenT< T >::isUninitialized(), JetSteps, submitPVResolutionJobs::key, METStep, MuonStep, objectType(), PFJetSteps, PixelPluginsPhase0_cfi::select, selection_, selectionOrder_, selectionStep(), AlCaHLTBitMon_QueryRunRegistry::string, triggerPaths_, triggerTable_, and vertex_.

772  {
775  if (!event.getByToken(triggerTable_, triggerTable))
776  return;
777  if (!accept(event, *triggerTable, triggerPaths_))
778  return;
779  }
780  if (!vertex_.isUninitialized()) {
782  if (!event.getByToken(vertex_, vertex))
783  return;
784  if (vertex->empty() || !(*vertexSelect_)(vertex->front()))
785  return;
786  }
787  if (!beamspot_.isUninitialized()) {
789  if (!event.getByToken(beamspot_, beamspot))
790  return;
791  if (!(*beamspotSelect_)(*beamspot))
792  return;
793  }
794  unsigned int passed = 0;
795 
796  unsigned int nJetSteps = -1;
797 
798  unsigned int nPFJetSteps = -1;
799 
800  unsigned int nCaloJetSteps = -1;
801  // apply selection steps
802  for (std::vector<std::string>::const_iterator selIt = selectionOrder_.begin(); selIt != selectionOrder_.end();
803  ++selIt) {
804  std::string key = selectionStep(*selIt), type = objectType(*selIt);
805  if (selection_.find(key) != selection_.end()) {
806  if (type == "empty") {
807  selection_[key].second->fill(event, setup);
808  }
809  if (type == "muons" && MuonStep != nullptr) {
810  if (MuonStep->select(event)) {
811  ++passed;
812  selection_[key].second->fill(event, setup);
813  } else
814  break;
815  }
816  if (type == "elecs" && ElectronStep != nullptr) {
817  if (ElectronStep->select(event, "electron")) {
818  ++passed;
819  selection_[key].second->fill(event, setup);
820  } else
821  break;
822  }
823  if (type == "jets" && !JetSteps.empty()) {
824  nJetSteps++;
825  if (JetSteps[nJetSteps] != nullptr) {
826  if (JetSteps[nJetSteps]->select(event, setup)) {
827  ++passed;
828  selection_[key].second->fill(event, setup);
829  } else
830  break;
831  }
832  }
833 
834  if (type == "jets/pf" && !PFJetSteps.empty()) {
835  nPFJetSteps++;
836  if (PFJetSteps[nPFJetSteps] != nullptr) {
837  if (PFJetSteps[nPFJetSteps]->select(event, setup)) {
838  ++passed;
839  selection_[key].second->fill(event, setup);
840  } else
841  break;
842  }
843  }
844 
845  if (type == "jets/calo" && !CaloJetSteps.empty()) {
846  nCaloJetSteps++;
847  if (CaloJetSteps[nCaloJetSteps] != nullptr) {
848  if (CaloJetSteps[nCaloJetSteps]->select(event, setup)) {
849  ++passed;
850  selection_[key].second->fill(event, setup);
851  } else
852  break;
853  }
854  }
855 
856  if (type == "met" && METStep != nullptr) {
857  ++passed;
858  if (METStep->select(event)) {
859  selection_[key].second->fill(event, setup);
860  } else
861  break;
862  }
863  }
864  }
865 }
std::string selectionStep(const std::string &label)
std::vector< std::string > selectionOrder_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:539
std::vector< std::unique_ptr< SelectionStep< reco::CaloJet > > > CaloJetSteps
edm::EDGetTokenT< std::vector< reco::Vertex > > vertex_
primary vertex
constexpr bool isUninitialized() const noexcept
Definition: EDGetToken.h:99
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
Definition: TopDQMHelpers.h:31
std::vector< std::unique_ptr< SelectionStep< reco::Jet > > > JetSteps
std::unique_ptr< SelectionStep< reco::PFCandidate > > MuonStep
tuple key
prepare the HTCondor submission files and eventually submit them
std::unique_ptr< SelectionStep< reco::MET > > METStep
std::unique_ptr< SelectionStep< reco::PFCandidate > > ElectronStep
std::unique_ptr< StringCutObjectSelector< reco::BeamSpot > > beamspotSelect_
string cut selector
edm::EDGetTokenT< edm::TriggerResults > triggerTable_
trigger table
std::vector< std::string > triggerPaths_
trigger paths
std::string objectType(const std::string &label)
edm::EDGetTokenT< reco::BeamSpot > beamspot_
beamspot
std::map< std::string, std::pair< edm::ParameterSet, std::unique_ptr< TopDiLeptonOffline::MonitorEnsemble > > > selection_
std::vector< std::unique_ptr< SelectionStep< reco::PFJet > > > PFJetSteps
void TopDiLeptonOfflineDQM::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprotectedvirtual

Implements DQMOneEDAnalyzer<>.

Definition at line 767 of file TopDiLeptonOfflineDQM.cc.

References selection_.

767  {
768  for (auto selIt = selection_.begin(); selIt != selection_.end(); ++selIt) {
769  selIt->second.second->book(ibooker);
770  }
771 }
std::map< std::string, std::pair< edm::ParameterSet, std::unique_ptr< TopDiLeptonOffline::MonitorEnsemble > > > selection_
std::string TopDiLeptonOfflineDQM::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 313 of file TopDiLeptonOfflineDQM.h.

Referenced by analyze(), and TopDiLeptonOfflineDQM().

313 { return label.substr(0, label.find(':')); };
char const * label
std::string TopDiLeptonOfflineDQM::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 316 of file TopDiLeptonOfflineDQM.h.

Referenced by analyze(), and TopDiLeptonOfflineDQM().

316 { return label.substr(label.find(':') + 1); };
char const * label

Member Data Documentation

edm::EDGetTokenT<reco::BeamSpot> TopDiLeptonOfflineDQM::beamspot_
private

beamspot

Definition at line 328 of file TopDiLeptonOfflineDQM.h.

Referenced by analyze(), and TopDiLeptonOfflineDQM().

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

string cut selector

Definition at line 330 of file TopDiLeptonOfflineDQM.h.

Referenced by analyze(), and TopDiLeptonOfflineDQM().

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

Definition at line 346 of file TopDiLeptonOfflineDQM.h.

Referenced by analyze(), and TopDiLeptonOfflineDQM().

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

Definition at line 342 of file TopDiLeptonOfflineDQM.h.

Referenced by analyze(), and TopDiLeptonOfflineDQM().

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

Definition at line 345 of file TopDiLeptonOfflineDQM.h.

Referenced by analyze(), and TopDiLeptonOfflineDQM().

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

Definition at line 344 of file TopDiLeptonOfflineDQM.h.

Referenced by analyze(), and TopDiLeptonOfflineDQM().

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

Definition at line 341 of file TopDiLeptonOfflineDQM.h.

Referenced by analyze(), and TopDiLeptonOfflineDQM().

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

Definition at line 347 of file TopDiLeptonOfflineDQM.h.

Referenced by analyze(), and TopDiLeptonOfflineDQM().

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

Definition at line 343 of file TopDiLeptonOfflineDQM.h.

Referenced by TopDiLeptonOfflineDQM().

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

Definition at line 349 of file TopDiLeptonOfflineDQM.h.

Referenced by TopDiLeptonOfflineDQM().

std::map<std::string, std::pair<edm::ParameterSet, std::unique_ptr<TopDiLeptonOffline::MonitorEnsemble> > > TopDiLeptonOfflineDQM::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 340 of file TopDiLeptonOfflineDQM.h.

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

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

Referenced by analyze(), and TopDiLeptonOfflineDQM().

edm::ParameterSet TopDiLeptonOfflineDQM::setup_
private
std::vector<std::string> TopDiLeptonOfflineDQM::triggerPaths_
private

trigger paths

Definition at line 322 of file TopDiLeptonOfflineDQM.h.

Referenced by analyze(), and TopDiLeptonOfflineDQM().

edm::EDGetTokenT<edm::TriggerResults> TopDiLeptonOfflineDQM::triggerTable_
private

trigger table

Definition at line 316 of file TopDiLeptonOfflineDQM.h.

Referenced by analyze(), and TopDiLeptonOfflineDQM().

edm::EDGetTokenT<std::vector<reco::Vertex> > TopDiLeptonOfflineDQM::vertex_
private

primary vertex

Definition at line 324 of file TopDiLeptonOfflineDQM.h.

Referenced by analyze(), and TopDiLeptonOfflineDQM().

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

string cut selector

Definition at line 326 of file TopDiLeptonOfflineDQM.h.

Referenced by TopDiLeptonOfflineDQM().