1 #ifndef HLTriggerOffline_Higgs_HLTHiggsSubAnalysis_H
2 #define HLTriggerOffline_Higgs_HLTHiggsSubAnalysis_H
65 const std::string & analysisname );
72 const std::vector<unsigned int>
getObjectsType(
const std::string & hltpath)
const;
80 std::vector<MatchStruct> * matches);
82 void bookHist(
const std::string &
source,
const std::string & objType,
83 const std::string & variable);
84 void fillHist(
const std::string &
source,
const std::string & objType,
85 const std::string & variable,
const float &
value );
117 std::map<unsigned int,std::vector<double> >
_cutsDr;
std::vector< double > _parametersTurnOn
void InitSelector(const unsigned int &objtype)
std::map< std::string, std::string > _shortpath2long
Relation between the short version of a path.
StringCutObjectSelector< reco::CaloMET > * _recCaloMETSelector
std::map< unsigned int, std::string > _genCut
gen/rec objects cuts
void initobjects(const edm::Event &iEvent, EVTColContainer *col)
unsigned int _minCandidates
The minimum number of reco/gen candidates needed by the analysis.
std::map< std::string, MonitorElement * > _elements
std::set< std::string > _hltPaths
the hlt paths found in the hltConfig
container with all the objects needed
HLTConfigProvider _hltConfig
std::map< unsigned int, unsigned int > _cutMotherId
StringCutObjectSelector< reco::Track > * _recTrackSelector
std::map< unsigned int, std::string > _recCut
std::map< unsigned int, StringCutObjectSelector< reco::GenParticle > * > _genSelectorMap
void bookobjects(const edm::ParameterSet &anpset)
std::string _hltProcessName
std::vector< HLTHiggsPlotter > _analyzers
std::map< unsigned int, std::string > _recLabels
HLTHiggsSubAnalysis(const edm::ParameterSet &pset, const std::string &analysisname)
void analyze(const edm::Event &iEvent, const edm::EventSetup &iEventSetup, EVTColContainer *cols)
std::map< unsigned int, double > _cutMinPt
StringCutObjectSelector< reco::PFTau > * _recPFTauSelector
void beginRun(const edm::Run &iRun, const edm::EventSetup &iEventSetup)
StringCutObjectSelector< reco::Muon > * _recMuonSelector
void fillHist(const std::string &source, const std::string &objType, const std::string &variable, const float &value)
const std::vector< unsigned int > getObjectsType(const std::string &hltpath) const
Extract what objects need this analysis.
void insertcandidates(const unsigned int &objtype, const EVTColContainer *col, std::vector< MatchStruct > *matches)
std::vector< double > _parametersPhi
std::string _analysisname
std::vector< std::string > _hltPathsToCheck
the hlt paths with regular expressions
std::string _genParticleLabel
std::vector< double > _parametersEta
Some kinematical parameters.
std::map< unsigned int, double > _cutMaxEta
StringCutObjectSelector< reco::Photon > * _recPhotonSelector
std::map< unsigned int, std::vector< double > > _cutsDr
void bookHist(const std::string &source, const std::string &objType, const std::string &variable)
StringCutObjectSelector< reco::GsfElectron > * _recElecSelector