|
void | bookHist (DQMStore::IBooker &iBooker, const std::string &source, const std::string &objType, const std::string &variable) |
| The internal functions to book and fill histograms. More...
|
|
void | fillHist (const std::string &source, const std::string &objType, const std::string &variable, const float &value) |
|
void | getHandlesToObjects (const edm::Event &iEvent, EVTColContainer *col) |
| Gets the collections themselves. More...
|
|
void | getNamesOfObjects (const edm::ParameterSet &anpset) |
| Creates the maps that map which collection should come from which label. More...
|
|
const std::vector< unsigned int > | getObjectsType (const std::string &hltpath) const |
| closes analyze method More...
|
|
void | initSelector (const unsigned int &objtype) |
| Initializes the selectors of the objects based on which object it is. More...
|
|
void | insertCandidates (const unsigned int &objtype, const EVTColContainer *col, std::vector< reco::LeafCandidate > *matches, std::map< int, double > &theSumEt, std::map< int, std::vector< const reco::Track * > > &trkObjs) |
|
void | registerConsumes (edm::ConsumesCollector &consCollector) |
| Registers consumption of objects. More...
|
|
|
std::string | _analysisname |
| The name of this sub-analysis. More...
|
|
edm::InputTag | _beamSpotLabel |
|
edm::EDGetTokenT< reco::BeamSpot > | _bsToken |
|
bool | _drop_pt2 |
|
bool | _drop_pt3 |
|
std::map< std::string,
MonitorElement * > | _elements |
| Structure of the MonitorElements. More...
|
|
std::map< unsigned int,
std::string > | _genCut |
| gen/rec objects cuts More...
|
|
std::map< unsigned int,
std::string > | _genCut_leading |
| gen/rec pt-leading objects cuts More...
|
|
StringCutObjectSelector
< reco::GenMET > * | _genMETSelector |
|
edm::InputTag | _genParticleLabel |
|
edm::EDGetTokenT
< reco::GenParticleCollection > | _genParticleToken |
| And also the tokens to get the object collections. More...
|
|
std::map< unsigned int,
StringCutObjectSelector
< reco::GenParticle > * > | _genSelectorMap |
|
HLTConfigProvider | _hltConfig |
| Interface to the HLT information. More...
|
|
std::set< std::string > | _hltPaths |
| The hlt paths found in the hltConfig. More...
|
|
std::vector< std::string > | _hltPathsToCheck |
| The hlt paths to check for. More...
|
|
std::string | _hltProcessName |
| The labels of the object collections to be used in this analysis. More...
|
|
StringCutObjectSelector
< l1extra::L1EtMissParticle > * | _l1METSelector |
|
unsigned int | _minCandidates |
| The minimum number of reco/gen candidates needed by the analysis. More...
|
|
std::vector< double > | _parametersDxy |
|
std::vector< double > | _parametersEta |
| Some kinematical parameters. More...
|
|
std::vector< double > | _parametersPhi |
|
std::vector< double > | _parametersTurnOn |
|
std::vector< double > | _parametersTurnOnSumEt |
|
std::vector< HLTExoticaPlotter > | _plotters |
| The plotters: managers of each hlt path where the plots are done. More...
|
|
edm::ParameterSet | _pset |
| Internal, working copy of the PSet passed from above. More...
|
|
StringCutObjectSelector
< reco::CaloJet > * | _recCaloJetSelector |
|
StringCutObjectSelector
< reco::CaloMET > * | _recCaloMETSelector |
|
StringCutObjectSelector
< reco::CaloMET > * | _recCaloMHTSelector |
|
std::map< unsigned int,
std::string > | _recCut |
|
std::map< unsigned int,
std::string > | _recCut_leading |
|
StringCutObjectSelector
< reco::GsfElectron > * | _recElecSelector |
|
std::map< unsigned int,
edm::InputTag > | _recLabels |
|
StringCutObjectSelector
< reco::MET > * | _recMETSelector |
|
StringCutObjectSelector
< reco::Muon > * | _recMuonSelector |
|
StringCutObjectSelector
< reco::Track > * | _recMuonTrkSelector |
|
StringCutObjectSelector
< reco::PFJet > * | _recPFJetSelector |
|
StringCutObjectSelector
< reco::PFMET > * | _recPFMETSelector |
|
StringCutObjectSelector
< reco::PFMET > * | _recPFMHTSelector |
|
StringCutObjectSelector
< reco::PFTau > * | _recPFTauSelector |
|
StringCutObjectSelector
< reco::Photon > * | _recPhotonSelector |
|
StringCutObjectSelector
< reco::Track > * | _recTrackSelector |
|
std::map< std::string,
std::string > | _shortpath2long |
| Relation between the short and long versions of the path. More...
|
|
std::map< unsigned int,
edm::EDGetToken > | _tokens |
|
std::map< std::string, int > | _triggerCounter |
| counting HLT passed events More...
|
|
edm::InputTag | _trigResultsLabel |
|
edm::EDGetTokenT
< edm::TriggerResults > | _trigResultsToken |
|
This class is the main workhorse of the package. It makes the histograms for one given analysis, taking care of all HLT paths related to that analysis.
Generate histograms for trigger efficiencies Exotica related Documentation available on the CMS TWiki: https://twiki.cern.ch/twiki/bin/view/CMS/EXOTICATriggerValidation
- Author
- Thiago R. Fernandez Perez Tomei Based and adapted from: J. Duarte Campderros code from HLTriggerOffline/Higgs J. Klukas, M. Vander Donckt and J. Alcaraz code from the HLTriggerOffline/Muon package.
Definition at line 66 of file HLTExoticaSubAnalysis.h.
const std::vector< unsigned int > HLTExoticaSubAnalysis::getObjectsType |
( |
const std::string & |
hltpath | ) |
const |
|
private |
closes analyze method
Return the objects (muons,electrons,photons,...) needed by a HLT path. Will in general return: 0 for muon, 1 for electron, 2 for photon, 3 for PFMET, 4 for PFTau, 5 for Jet. Notice that this function is really based on a parsing of the name of the path; any incongruences there may lead to problems.
Definition at line 735 of file HLTExoticaSubAnalysis.cc.