Go to the documentation of this file. 1 #ifndef HLTriggerOffline_Exotica_HLTExoticaSubAnalysis_H
2 #define HLTriggerOffline_Exotica_HLTExoticaSubAnalysis_H
110 std::vector<reco::LeafCandidate> *
matches,
111 std::map<int, double> &theSumEt,
112 std::map<
int, std::vector<const reco::Track *>> &trkObjs);
147 std::map<unsigned int, edm::EDGetToken>
_tokens;
std::map< unsigned int, std::string > _recCut_leading
std::map< unsigned int, std::string > _recCut
edm::EDGetTokenT< reco::GenParticleCollection > _genParticleToken
And also the tokens to get the object collections.
StringCutObjectSelector< reco::CaloMET > * _recCaloMETSelector
~HLTExoticaSubAnalysis()
End Constructor.
std::string _hltProcessName
The labels of the object collections to be used in this analysis.
void initSelector(const unsigned int &objtype)
Initializes the selectors of the objects based on which object it is.
std::vector< std::string > _hltPathsToCheck
The hlt paths to check for.
std::vector< double > _parametersTurnOnSumEt
edm::EDGetTokenT< edm::TriggerResults > _trigResultsToken
std::map< unsigned int, std::string > _genCut_leading
gen/rec pt-leading objects cuts
std::vector< double > _parametersDxy
StringCutObjectSelector< reco::Track > * _recMuonTrkSelector
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)
StringCutObjectSelector< l1extra::L1EtMissParticle > * _l1METSelector
std::map< unsigned int, std::string > _genCut
gen/rec objects cuts
StringCutObjectSelector< reco::GsfElectron > * _recElecSelector
std::map< std::string, std::string > _shortpath2long
Relation between the short and long versions of the path.
StringCutObjectSelector< reco::PFMET > * _recPFMHTSelector
std::vector< double > _parametersTurnOn
std::map< std::string, MonitorElement * > _elements
Structure of the MonitorElements.
static const std::string source
void getHandlesToObjects(const edm::Event &iEvent, EVTColContainer *col)
Gets the collections themselves.
void fillHist(const std::string &source, const std::string &objType, const std::string &variable, const float &value)
HLTExoticaSubAnalysis(const edm::ParameterSet &pset, const std::string &analysisname, edm::ConsumesCollector &&consCollector)
Constructor.
StringCutObjectSelector< reco::Photon > * _recPhotonSelector
edm::EDGetTokenT< reco::BeamSpot > _bsToken
HLTConfigProvider _hltConfig
Interface to the HLT information.
std::map< unsigned int, edm::EDGetToken > _tokens
void subAnalysisBookHistos(DQMStore::IBooker &iBooker, const edm::Run &iRun, const edm::EventSetup &iSetup)
edm::InputTag _genParticleLabel
StringCutObjectSelector< reco::PFJet > * _recPFJetSelector
std::vector< double > _parametersEta
Some kinematical parameters.
std::map< std::string, int > _triggerCounter
counting HLT passed events
edm::ParameterSet _pset
Internal, working copy of the PSet passed from above.
const std::vector< unsigned int > getObjectsType(const std::string &hltpath) const
closes analyze method
std::string _analysisname
The name of this sub-analysis.
StringCutObjectSelector< reco::GenMET > * _genMETSelector
StringCutObjectSelector< reco::MET > * _recMETSelector
dqm::legacy::MonitorElement MonitorElement
StringCutObjectSelector< reco::CaloJet > * _recCaloJetSelector
StringCutObjectSelector< reco::CaloMET > * _recCaloMHTSelector
unsigned int _minCandidates
The minimum number of reco/gen candidates needed by the analysis.
std::vector< HLTExoticaPlotter > _plotters
The plotters: managers of each hlt path where the plots are done.
edm::InputTag _beamSpotLabel
void getNamesOfObjects(const edm::ParameterSet &anpset)
Creates the maps that map which collection should come from which label.
StringCutObjectSelector< reco::Muon > * _recMuonSelector
dqm::legacy::DQMStore DQMStore
std::vector< double > _parametersPhi
std::set< std::string > _hltPaths
The hlt paths found in the hltConfig.
std::map< unsigned int, edm::InputTag > _recLabels
StringCutObjectSelector< reco::PFMET > * _recPFMETSelector
void analyze(const edm::Event &iEvent, const edm::EventSetup &iEventSetup, EVTColContainer *cols)
edm::InputTag _trigResultsLabel
StringCutObjectSelector< reco::Track > * _recTrackSelector
container with all the objects needed
void registerConsumes(edm::ConsumesCollector &consCollector)
Registers consumption of objects.
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.
void beginRun(const edm::Run &iRun, const edm::EventSetup &iEventSetup)
StringCutObjectSelector< reco::PFTau > * _recPFTauSelector
std::map< unsigned int, StringCutObjectSelector< reco::GenParticle > * > _genSelectorMap