CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HSCPValidator.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: HSCP
4 // Class: HSCPValidator
5 //
13 //
14 // Original Author: Seth Cooper,27 1-024,+41227672342,
15 // Created: Wed Apr 14 14:27:52 CEST 2010
16 //
17 //
24 
31 
32 
33 //
34 
35 #include "TH2F.h"
36 //
37 // class declaration
38 //
39 
41  public:
42  explicit HSCPValidator(const edm::ParameterSet&);
44 
45 
46  private:
47  virtual void beginJob() ;
48  virtual void analyze(const edm::Event&, const edm::EventSetup&);
49  virtual void endJob() ;
51  void makeGenPlots(const edm::Event& iEvent);
52  void makeSimTrackPlots(const edm::Event& iEvent);
53  void makeSimDigiPlotsECAL(const edm::Event& iEvent);
54  void makeSimDigiPlotsRPC(const edm::Event& iEvent);
55  void makeHLTPlots(const edm::Event& iEvent);
56  void makeRecoPlots(const edm::Event& iEvent);
57  bool IncreasedTreshold(const trigger::TriggerEvent& trEv, const edm::InputTag& InputPath, double NewThreshold, double etaCut,int NObjectAboveThreshold, bool averageThreshold);
58  // ----------member data ---------------------------
64 
65  // GEN section
67  std::vector<int> particleIds_;
69  std::map<int,int> particleIdsFoundMap_;
78  TH1F * h_genhscp_met;
82 
83 
84  //SIM-Track section
90 
91  // SIM-DIGI section
99  // ECAL
121  // RPC
126  TH1F* rpcBXBarrel_[6];
128  TH1F* rpcBXEndCap_[3];
129  //HLT
130  TH1F* hltmet;
131  TH1F* hltjet;
132  TH1F* hltmu;
133  //RECO
135  TH2F* dedxVsp;
136 
137 };
bool doSimDigiPlots_
Definition: HSCPValidator.h:62
TH1F * particleMassHist_
Definition: HSCPValidator.h:74
TH2F * simHitsEcalDigiMatchEnergyVsTimeHistEE_
TH1F * rpcTimeOfFlightBarrel_[6]
TH1F * rpcTimeOfFlightEndCap_[3]
TH1F * simHitsEcalTimeHistEE_
The single EDProduct to be saved for each event (AOD case)
Definition: TriggerEvent.h:25
virtual void analyze(const edm::Event &, const edm::EventSetup &)
TH1F * particlePhiHist_
Definition: HSCPValidator.h:71
TH2F * simHitsEcalEnergyVsTimeHistEB_
TH1F * simHitsEcalEnergyHistEE_
TH1F * h_genhscp_met_nohscp
Definition: HSCPValidator.h:79
TH1F * digisEcalNumHistEE_
edm::InputTag label_
Definition: HSCPValidator.h:66
TH1F * particleBetaHist_
Definition: HSCPValidator.h:76
TH2F * digiOccupancyMapEEM_
bool IncreasedTreshold(const trigger::TriggerEvent &trEv, const edm::InputTag &InputPath, double NewThreshold, double etaCut, int NObjectAboveThreshold, bool averageThreshold)
TH1F * cluSizeDistribution_
TH1F * simHitsEcalDigiMatchTimeHistEB_
void makeSimTrackPlots(const edm::Event &iEvent)
HSCPValidator(const edm::ParameterSet &)
void makeRecoPlots(const edm::Event &iEvent)
std::vector< int > particleIds_
Definition: HSCPValidator.h:67
std::map< int, int > particleIdsFoundMap_
Definition: HSCPValidator.h:69
TH1F * simTrackParticlePtHist_
Definition: HSCPValidator.h:88
TH1F * particleEtaHist_
Definition: HSCPValidator.h:70
TH1F * simHitsEcalNumHistEE_
int iEvent
Definition: GenABIO.cc:243
TH2F * digiOccupancyMapEEP_
TH1F * particlePtHist_
Definition: HSCPValidator.h:73
virtual void beginJob()
TH1F * h_genhscp_scaloret
Definition: HSCPValidator.h:80
TH2F * digiOccupancyMapEB_
TH1F * efficiencyRPCRecHitSimDigis_
TH2F * simHitsEcalDigiMatchEnergyVsTimeHistEB_
TH1F * simHitsEcalDigiMatchEnergyHistEE_
TH1F * h_genhscp_scaloret_nohscp
Definition: HSCPValidator.h:81
edm::InputTag ebSimHitTag_
Definition: HSCPValidator.h:92
TH1F * simHitsEcalDigiMatchTimeHistEE_
std::string intToString(int num)
void makeSimDigiPlotsECAL(const edm::Event &iEvent)
TH2F * simHitsEcalEnergyVsTimeHistEE_
TH1F * rpcBXBarrel_[6]
edm::InputTag eeSimHitTag_
Definition: HSCPValidator.h:93
edm::InputTag RPCRecHitTag_
Definition: HSCPValidator.h:97
TH1F * residualsRPCRecHitSimDigis_
TH1F * simHitsEcalDigiMatchIEtaHist_
TH1F * rpcBXEndCap_[3]
TH1F * simHitsEcalNumHistEB_
void makeGenPlots(const edm::Event &iEvent)
TH1F * digisEcalNumHistEB_
TH1F * simTrackParticleEtaHist_
Definition: HSCPValidator.h:85
bool doSimTrackPlots_
Definition: HSCPValidator.h:61
TH1F * simHitsEcalDigiMatchIPhiHist_
TH1F * simHitsEcalDigiMatchEnergyHistEB_
TH1F * particleStatusHist_
Definition: HSCPValidator.h:75
edm::InputTag EBDigiCollection_
Definition: HSCPValidator.h:95
TH1F * particlePHist_
Definition: HSCPValidator.h:72
TH1F * h_genhscp_met
Definition: HSCPValidator.h:78
edm::InputTag EEDigiCollection_
Definition: HSCPValidator.h:96
TH2F * RecoHSCPPtVsGenPt
edm::ESHandle< RPCGeometry > rpcGeo
Definition: HSCPValidator.h:98
TH1F * simTrackParticlePhiHist_
Definition: HSCPValidator.h:86
void makeSimDigiPlotsRPC(const edm::Event &iEvent)
void makeHLTPlots(const edm::Event &iEvent)
TH1F * simTrackParticleBetaHist_
Definition: HSCPValidator.h:89
edm::InputTag simTrackTag_
Definition: HSCPValidator.h:94
TH1F * simHitsEcalEnergyHistEB_
TH1F * simTrackParticlePHist_
Definition: HSCPValidator.h:87
virtual void endJob()
TH1F * particleBetaInverseHist_
Definition: HSCPValidator.h:77
TH1F * simHitsEcalTimeHistEB_