CMS 3D CMS Logo

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

#include <HLTHiggsPlotter.h>

Public Member Functions

void analyze (const bool &isPassTrigger, const std::string &source, const std::vector< MatchStruct > &matches, const unsigned int &minCandidates)
 
void analyze (const bool &isPassTrigger, const std::string &source, const std::vector< MatchStruct > &matches, std::map< std::string, bool > &nMinOne, const float &dEtaqq, const float &mqq, const float &dPhibb, const float &CSV1, const float &CSV2, const float &CSV3, const bool &passAllCuts)
 
void beginJob ()
 
void beginRun (const edm::Run &, const edm::EventSetup &)
 
void bookHistograms (DQMStore::IBooker &, const bool &)
 
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)
 
 ~HLTHiggsPlotter ()
 

Private Member Functions

void bookHist (const std::string &source, const std::string &objType, const std::string &variable, DQMStore::IBooker &)
 
void fillHist (const bool &passTrigger, const std::string &source, const std::string &objType, const std::string &var, const float &value)
 

Private Attributes

std::map< unsigned int, double > _cutMaxEta
 
std::map< unsigned int, double > _cutMinPt
 
std::map< unsigned int,
unsigned int > 
_cutMotherId
 
std::map< unsigned int,
std::vector< double > > 
_cutsDr
 
std::map< std::string,
MonitorElement * > 
_elements
 
std::string _hltPath
 
std::string _hltProcessName
 
std::vector< double > _NminOneCuts
 
unsigned int _nObjects
 
unsigned int _NptPlots
 
std::set< unsigned int > _objectsType
 
std::vector< double > _parametersEta
 
std::vector< double > _parametersPhi
 
std::vector< double > _parametersTurnOn
 

Detailed Description

Generate histograms for trigger efficiencies Higgs related Documentation available on the CMS TWiki: https://twiki.cern.ch/twiki/bin/view/CMS/HiggsWGHLTValidate

Author
J. Duarte Campderros (based and adapted on J. Klukas, M. Vander Donckt and J. Alcaraz code from the HLTriggerOffline/Muon package)
J. Klukas, M. Vander Donckt, J. Alcaraz

Definition at line 47 of file HLTHiggsPlotter.h.

Constructor & Destructor Documentation

HLTHiggsPlotter::HLTHiggsPlotter ( const edm::ParameterSet pset,
const std::string &  hltPath,
const std::vector< unsigned int > &  objectsType,
const unsigned int &  minCandidates,
const std::vector< double > &  NminOneCuts 
)

Definition at line 25 of file HLTHiggsPlotter.cc.

HLTHiggsPlotter::~HLTHiggsPlotter ( )

Definition at line 50 of file HLTHiggsPlotter.cc.

Member Function Documentation

void HLTHiggsPlotter::analyze ( const bool &  isPassTrigger,
const std::string &  source,
const std::vector< MatchStruct > &  matches,
const unsigned int &  minCandidates 
)

Definition at line 111 of file HLTHiggsPlotter.cc.

void HLTHiggsPlotter::analyze ( const bool &  isPassTrigger,
const std::string &  source,
const std::vector< MatchStruct > &  matches,
std::map< std::string, bool > &  nMinOne,
const float &  dEtaqq,
const float &  mqq,
const float &  dPhibb,
const float &  CSV1,
const float &  CSV2,
const float &  CSV3,
const bool &  passAllCuts 
)

Definition at line 175 of file HLTHiggsPlotter.cc.

void HLTHiggsPlotter::beginJob ( void  )

Definition at line 55 of file HLTHiggsPlotter.cc.

void HLTHiggsPlotter::beginRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
)

Definition at line 61 of file HLTHiggsPlotter.cc.

void HLTHiggsPlotter::bookHist ( const std::string &  source,
const std::string &  objType,
const std::string &  variable,
DQMStore::IBooker ibooker 
)
private

Definition at line 258 of file HLTHiggsPlotter.cc.

void HLTHiggsPlotter::bookHistograms ( DQMStore::IBooker ibooker,
const bool &  useNminOneCuts 
)

Definition at line 67 of file HLTHiggsPlotter.cc.

void HLTHiggsPlotter::fillHist ( const bool &  passTrigger,
const std::string &  source,
const std::string &  objType,
const std::string &  var,
const float &  value 
)
private

Definition at line 377 of file HLTHiggsPlotter.cc.

const std::string HLTHiggsPlotter::gethltpath ( ) const
inline

Definition at line 64 of file HLTHiggsPlotter.h.

References _hltPath.

64 { return _hltPath; }
std::string _hltPath

Member Data Documentation

std::map<unsigned int,double> HLTHiggsPlotter::_cutMaxEta
private

Definition at line 85 of file HLTHiggsPlotter.h.

std::map<unsigned int,double> HLTHiggsPlotter::_cutMinPt
private

Definition at line 84 of file HLTHiggsPlotter.h.

std::map<unsigned int,unsigned int> HLTHiggsPlotter::_cutMotherId
private

Definition at line 86 of file HLTHiggsPlotter.h.

std::map<unsigned int,std::vector<double> > HLTHiggsPlotter::_cutsDr
private

Definition at line 87 of file HLTHiggsPlotter.h.

std::map<std::string, MonitorElement *> HLTHiggsPlotter::_elements
private

Definition at line 95 of file HLTHiggsPlotter.h.

std::string HLTHiggsPlotter::_hltPath
private

Definition at line 72 of file HLTHiggsPlotter.h.

Referenced by gethltpath().

std::string HLTHiggsPlotter::_hltProcessName
private

Definition at line 74 of file HLTHiggsPlotter.h.

std::vector<double> HLTHiggsPlotter::_NminOneCuts
private

Definition at line 93 of file HLTHiggsPlotter.h.

unsigned int HLTHiggsPlotter::_nObjects
private

Definition at line 78 of file HLTHiggsPlotter.h.

unsigned int HLTHiggsPlotter::_NptPlots
private

Definition at line 90 of file HLTHiggsPlotter.h.

std::set<unsigned int> HLTHiggsPlotter::_objectsType
private

Definition at line 76 of file HLTHiggsPlotter.h.

std::vector<double> HLTHiggsPlotter::_parametersEta
private

Definition at line 80 of file HLTHiggsPlotter.h.

std::vector<double> HLTHiggsPlotter::_parametersPhi
private

Definition at line 81 of file HLTHiggsPlotter.h.

std::vector<double> HLTHiggsPlotter::_parametersTurnOn
private

Definition at line 82 of file HLTHiggsPlotter.h.