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
HLTExoticaPlotter Class Reference

#include <HLTExoticaPlotter.h>

Public Member Functions

void analyze (const bool &isPassTrigger, const std::string &source, const std::vector< reco::LeafCandidate > &matches, std::map< int, double > theSumEt, std::vector< float > &dxys)
 
void beginJob ()
 
void beginRun (const edm::Run &, const edm::EventSetup &)
 
const std::string gethltpath () const
 
 HLTExoticaPlotter (const edm::ParameterSet &pset, const std::string &hltPath, const std::vector< unsigned int > &objectsType)
 
void plotterBookHistos (DQMStore::IBooker &iBooker, const edm::Run &iRun, const edm::EventSetup &iSetup)
 
 ~HLTExoticaPlotter ()
 

Private Member Functions

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

Private Attributes

bool _drop_pt2
 
bool _drop_pt3
 
std::map< std::string,
MonitorElement * > 
_elements
 
std::string _hltPath
 
std::string _hltProcessName
 
unsigned int _nObjects
 
std::set< unsigned int > _objectsType
 
std::vector< double > _parametersDxy
 
std::vector< double > _parametersEta
 
std::vector< double > _parametersPhi
 
std::vector< double > _parametersTurnOn
 
std::vector< double > _parametersTurnOnSumEt
 

Detailed Description

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 44 of file HLTExoticaPlotter.h.

Constructor & Destructor Documentation

HLTExoticaPlotter::HLTExoticaPlotter ( const edm::ParameterSet pset,
const std::string &  hltPath,
const std::vector< unsigned int > &  objectsType 
)

Definition at line 20 of file HLTExoticaPlotter.cc.

HLTExoticaPlotter::~HLTExoticaPlotter ( )

Definition at line 44 of file HLTExoticaPlotter.cc.

Member Function Documentation

void HLTExoticaPlotter::analyze ( const bool &  isPassTrigger,
const std::string &  source,
const std::vector< reco::LeafCandidate > &  matches,
std::map< int, double >  theSumEt,
std::vector< float > &  dxys 
)

Definition at line 117 of file HLTExoticaPlotter.cc.

void HLTExoticaPlotter::beginJob ( void  )

Definition at line 49 of file HLTExoticaPlotter.cc.

void HLTExoticaPlotter::beginRun ( const edm::Run ,
const edm::EventSetup  
)
void HLTExoticaPlotter::bookHist ( DQMStore::IBooker iBooker,
const std::string &  source,
const std::string &  objType,
const std::string &  variable 
)
private

Definition at line 203 of file HLTExoticaPlotter.cc.

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

Definition at line 264 of file HLTExoticaPlotter.cc.

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

Definition at line 57 of file HLTExoticaPlotter.h.

References _hltPath.

58  {
59  return _hltPath;
60  }
void HLTExoticaPlotter::plotterBookHistos ( DQMStore::IBooker iBooker,
const edm::Run iRun,
const edm::EventSetup iSetup 
)

Definition at line 55 of file HLTExoticaPlotter.cc.

Member Data Documentation

bool HLTExoticaPlotter::_drop_pt2
private

Definition at line 82 of file HLTExoticaPlotter.h.

bool HLTExoticaPlotter::_drop_pt3
private

Definition at line 83 of file HLTExoticaPlotter.h.

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

Definition at line 85 of file HLTExoticaPlotter.h.

std::string HLTExoticaPlotter::_hltPath
private

Definition at line 68 of file HLTExoticaPlotter.h.

Referenced by gethltpath().

std::string HLTExoticaPlotter::_hltProcessName
private

Definition at line 69 of file HLTExoticaPlotter.h.

unsigned int HLTExoticaPlotter::_nObjects
private

Definition at line 73 of file HLTExoticaPlotter.h.

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

Definition at line 71 of file HLTExoticaPlotter.h.

std::vector<double> HLTExoticaPlotter::_parametersDxy
private

Definition at line 79 of file HLTExoticaPlotter.h.

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

Definition at line 75 of file HLTExoticaPlotter.h.

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

Definition at line 76 of file HLTExoticaPlotter.h.

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

Definition at line 77 of file HLTExoticaPlotter.h.

std::vector<double> HLTExoticaPlotter::_parametersTurnOnSumEt
private

Definition at line 78 of file HLTExoticaPlotter.h.