1 #ifndef HLTriggerOffline_Higgs_HLTHiggsPlotter_H
2 #define HLTriggerOffline_Higgs_HLTHiggsPlotter_H
42 const unsigned int kNull = (
unsigned int)-1;
54 const std::vector<unsigned int> &objectsType,
55 const unsigned int &minCandidates,
61 void analyze(
const bool &isPassTrigger,
63 const std::vector<MatchStruct> &matches,
64 const unsigned int &minCandidates);
65 void analyze(
const bool &isPassTrigger,
67 const std::vector<MatchStruct> &matches,
68 std::map<std::string, bool> &nMinOne,
75 const bool &passAllCuts);
81 void fillHist(
const bool &passTrigger,
102 std::map<unsigned int, std::vector<double> >
_cutsDr;
std::map< unsigned int, double > _cutMaxEta
std::string _hltProcessName
dqm::legacy::MonitorElement MonitorElement
const std::string gethltpath() const
HLTHiggsPlotter(const edm::ParameterSet &pset, const std::string &hltPath, const std::vector< unsigned int > &objectsType, const unsigned int &minCandidates, const std::vector< double > &NminOneCuts)
container with all the objects needed
std::vector< double > _parametersPhi
std::map< unsigned int, unsigned int > _cutMotherId
std::set< unsigned int > _objectsType
std::map< std::string, MonitorElement * > _elements
list var
if using global norm cols_to_minmax = ['t_delta', 't_hmaxNearP','t_emaxNearP', 't_hAnnular', 't_eAnnular','t_pt','t_nVtx','t_ieta','t_eHcal10', 't_eHcal30','t_rhoh','t_eHcal'] df[cols_to_minmax] = df[cols_to_minmax].apply(lambda x: (x - x.min()) / (x.max() - x.min()) if (x.max() - x.min() > 0) else 1.0/200.0)
std::vector< double > _parametersTurnOn
void fillHist(const bool &passTrigger, const std::string &source, const std::string &objType, const std::string &var, const float &value)
void bookHist(const std::string &source, const std::string &objType, const std::string &variable, DQMStore::IBooker &)
dqm::legacy::DQMStore DQMStore
std::vector< double > _parametersEta
void beginRun(const edm::Run &, const edm::EventSetup &)
void bookHistograms(DQMStore::IBooker &, const bool &)
void analyze(const bool &isPassTrigger, const std::string &source, const std::vector< MatchStruct > &matches, const unsigned int &minCandidates)
std::map< unsigned int, double > _cutMinPt
std::map< unsigned int, std::vector< double > > _cutsDr
static std::string const source
std::vector< double > _NminOneCuts