CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTOniaSource.h
Go to the documentation of this file.
1 #ifndef HLTONIASOURCE_H
2 #define HLTONIASOURCE_H
3 
4 // system include files
5 #include <map>
6 
7 // user include files
19 
20 
21 class PtGreaterRef {
22  public:
23  template <typename T> bool operator () (const T& i, const T& j) {
24  return (i->pt() > j->pt());
25  }
26  };
27 
29  public:
30  explicit HLTOniaSource(const edm::ParameterSet&);
32 
33 
34  private:
35  virtual void beginJob() ;
36  virtual void beginRun(const edm::Run &, const edm::EventSetup &);
37  virtual void analyze(const edm::Event&, const edm::EventSetup&);
38  virtual void endJob() ;
39 
40 
42 
43 
44 
45  //user defined
46  void bookOniaTriggerInvariantMassMEs( std::map<std::string, MonitorElement *> & , std::string , std::string );
47  void bookOniaTriggerMEs( std::map<std::string, MonitorElement *> & , std::string);
48  bool checkHLTConfiguration(const edm::Run &, const edm::EventSetup &,std::string);
49  void fillOniaTriggerMEs( edm::Handle<reco::RecoChargedCandidateCollection> &, std::string , std::map<std::string, MonitorElement *> & );
50  void fillOniaTriggerMEs( edm::Handle<reco::TrackCollection> &, std::string , std::map<std::string, MonitorElement *> & );
51  void fillOniaTriggerMEs( std::vector<reco::RecoChargedCandidateRef> &, std::string , std::map<std::string, MonitorElement *> & );
52  void fillInvariantMass(std::vector<reco::RecoChargedCandidateRef> & , reco::RecoChargedCandidateCollection & , std::string , std::string );
53  void fillInvariantMass(std::vector<reco::RecoChargedCandidateRef> & , std::vector<reco::RecoChargedCandidateRef> &, std::string , std::string);
54  void fillInvariantMass(std::vector<reco::RecoChargedCandidateRef> & , reco::TrackCollection & , std::string , std::string );
55  std::string subsystemFolder_;
56  std::string hltProcessName_;
57  //------------------------
58  std::vector< std::string> triggerPath_;
59  std::vector<edm::InputTag> oniaMuonTag_;
60  std::vector<edm::InputTag> pixelTagsAfterFilter_ ;
61  std::vector<edm::InputTag> trackTagsAfterFilter_ ;
67  std::map<std::string, MonitorElement *> pixelAfterFilterME_;
68  std::map<std::string, MonitorElement *> trackAfterFilterME_;
69  std::map<std::string, MonitorElement *> pixelME_;
70  std::map<std::string, MonitorElement *> muonME_;
71  std::map<std::string, MonitorElement *> trackME_;
72  std::map<std::string, MonitorElement *> massME_;
74 
75 };
76 
77 #endif
bool operator()(const T &i, const T &j)
Definition: HLTOniaSource.h:23
int i
Definition: DBlmapReader.cc:9
edm::InputTag triggerSummaryRAWTag_
Definition: HLTOniaSource.h:62
edm::InputTag trackTag_
Definition: HLTOniaSource.h:65
std::map< std::string, MonitorElement * > pixelAfterFilterME_
Definition: HLTOniaSource.h:67
std::map< std::string, MonitorElement * > pixelME_
Definition: HLTOniaSource.h:69
std::vector< edm::InputTag > pixelTagsAfterFilter_
Definition: HLTOniaSource.h:60
void bookOniaTriggerMEs(std::map< std::string, MonitorElement * > &, std::string)
virtual void beginJob()
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:10
std::vector< edm::InputTag > oniaMuonTag_
Definition: HLTOniaSource.h:59
std::map< std::string, MonitorElement * > trackME_
Definition: HLTOniaSource.h:71
math::XYZPoint Point
point in the space
Definition: BeamSpot.h:30
std::map< std::string, MonitorElement * > massME_
Definition: HLTOniaSource.h:72
void fillInvariantMass(std::vector< reco::RecoChargedCandidateRef > &, reco::RecoChargedCandidateCollection &, std::string, std::string)
std::vector< edm::InputTag > trackTagsAfterFilter_
Definition: HLTOniaSource.h:61
std::map< std::string, MonitorElement * > trackAfterFilterME_
Definition: HLTOniaSource.h:68
HLTOniaSource(const edm::ParameterSet &)
edm::InputTag beamSpotTag_
Definition: HLTOniaSource.h:64
std::vector< std::string > triggerPath_
Definition: HLTOniaSource.h:58
int j
Definition: DBlmapReader.cc:9
edm::InputTag pixelTag_
Definition: HLTOniaSource.h:63
reco::BeamSpot::Point BSPosition_
Definition: HLTOniaSource.h:41
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
std::vector< RecoChargedCandidate > RecoChargedCandidateCollection
collectin of RecoChargedCandidate objects
void bookOniaTriggerInvariantMassMEs(std::map< std::string, MonitorElement * > &, std::string, std::string)
std::string hltProcessName_
Definition: HLTOniaSource.h:56
std::string subsystemFolder_
Definition: HLTOniaSource.h:55
std::map< std::string, MonitorElement * > muonME_
Definition: HLTOniaSource.h:70
virtual void analyze(const edm::Event &, const edm::EventSetup &)
DQMStore * dbe_
Definition: HLTOniaSource.h:66
virtual void endJob()
void fillOniaTriggerMEs(edm::Handle< reco::RecoChargedCandidateCollection > &, std::string, std::map< std::string, MonitorElement * > &)
long double T
Definition: Run.h:33
bool checkHLTConfiguration(const edm::Run &, const edm::EventSetup &, std::string)