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 // $Id: HSCPValidator.h,v 1.6 2011/10/11 21:14:48 jiechen Exp $
17 //
18 //
25 
32 
33 
34 //
35 
36 #include "TH2F.h"
37 //
38 // class declaration
39 //
40 
42  public:
43  explicit HSCPValidator(const edm::ParameterSet&);
45 
46 
47  private:
48  virtual void beginJob() ;
49  virtual void analyze(const edm::Event&, const edm::EventSetup&);
50  virtual void endJob() ;
52  void makeGenPlots(const edm::Event& iEvent);
53  void makeSimTrackPlots(const edm::Event& iEvent);
54  void makeSimDigiPlotsECAL(const edm::Event& iEvent);
55  void makeSimDigiPlotsRPC(const edm::Event& iEvent);
56  void makeHLTPlots(const edm::Event& iEvent);
57  void makeRecoPlots(const edm::Event& iEvent);
58  bool IncreasedTreshold(const trigger::TriggerEvent& trEv, const edm::InputTag& InputPath, double NewThreshold, double etaCut,int NObjectAboveThreshold, bool averageThreshold);
59  // ----------member data ---------------------------
65 
66  // GEN section
68  std::vector<int> particleIds_;
70  std::map<int,int> particleIdsFoundMap_;
79  TH1F * h_genhscp_met;
83 
84 
85  //SIM-Track section
91 
92  // SIM-DIGI section
100  // ECAL
122  // RPC
127  TH1F* rpcBXBarrel_[6];
129  TH1F* rpcBXEndCap_[3];
130  //HLT
131  TH1F* hltmet;
132  TH1F* hltjet;
133  TH1F* hltmu;
134  //RECO
136  TH2F* dedxVsp;
137 
138 };
bool doSimDigiPlots_
Definition: HSCPValidator.h:63
TH1F * particleMassHist_
Definition: HSCPValidator.h:75
TH2F * simHitsEcalDigiMatchEnergyVsTimeHistEE_
TH1F * rpcTimeOfFlightBarrel_[6]
TH1F * rpcTimeOfFlightEndCap_[3]
TH1F * simHitsEcalTimeHistEE_
The single EDProduct to be saved for each event (AOD case)
Definition: TriggerEvent.h:27
virtual void analyze(const edm::Event &, const edm::EventSetup &)
TH1F * particlePhiHist_
Definition: HSCPValidator.h:72
TH2F * simHitsEcalEnergyVsTimeHistEB_
TH1F * simHitsEcalEnergyHistEE_
TH1F * h_genhscp_met_nohscp
Definition: HSCPValidator.h:80
TH1F * digisEcalNumHistEE_
edm::InputTag label_
Definition: HSCPValidator.h:67
TH1F * particleBetaHist_
Definition: HSCPValidator.h:77
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:68
std::map< int, int > particleIdsFoundMap_
Definition: HSCPValidator.h:70
TH1F * simTrackParticlePtHist_
Definition: HSCPValidator.h:89
TH1F * particleEtaHist_
Definition: HSCPValidator.h:71
TH1F * simHitsEcalNumHistEE_
int iEvent
Definition: GenABIO.cc:243
TH2F * digiOccupancyMapEEP_
TH1F * particlePtHist_
Definition: HSCPValidator.h:74
virtual void beginJob()
TH1F * h_genhscp_scaloret
Definition: HSCPValidator.h:81
TH2F * digiOccupancyMapEB_
TH1F * efficiencyRPCRecHitSimDigis_
TH2F * simHitsEcalDigiMatchEnergyVsTimeHistEB_
TH1F * simHitsEcalDigiMatchEnergyHistEE_
TH1F * h_genhscp_scaloret_nohscp
Definition: HSCPValidator.h:82
edm::InputTag ebSimHitTag_
Definition: HSCPValidator.h:93
TH1F * simHitsEcalDigiMatchTimeHistEE_
std::string intToString(int num)
void makeSimDigiPlotsECAL(const edm::Event &iEvent)
TH2F * simHitsEcalEnergyVsTimeHistEE_
TH1F * rpcBXBarrel_[6]
edm::InputTag eeSimHitTag_
Definition: HSCPValidator.h:94
edm::InputTag RPCRecHitTag_
Definition: HSCPValidator.h:98
TH1F * residualsRPCRecHitSimDigis_
TH1F * simHitsEcalDigiMatchIEtaHist_
TH1F * rpcBXEndCap_[3]
TH1F * simHitsEcalNumHistEB_
void makeGenPlots(const edm::Event &iEvent)
TH1F * digisEcalNumHistEB_
TH1F * simTrackParticleEtaHist_
Definition: HSCPValidator.h:86
bool doSimTrackPlots_
Definition: HSCPValidator.h:62
TH1F * simHitsEcalDigiMatchIPhiHist_
TH1F * simHitsEcalDigiMatchEnergyHistEB_
long long int num
Definition: procUtils.cc:71
TH1F * particleStatusHist_
Definition: HSCPValidator.h:76
edm::InputTag EBDigiCollection_
Definition: HSCPValidator.h:96
TH1F * particlePHist_
Definition: HSCPValidator.h:73
TH1F * h_genhscp_met
Definition: HSCPValidator.h:79
edm::InputTag EEDigiCollection_
Definition: HSCPValidator.h:97
TH2F * RecoHSCPPtVsGenPt
edm::ESHandle< RPCGeometry > rpcGeo
Definition: HSCPValidator.h:99
TH1F * simTrackParticlePhiHist_
Definition: HSCPValidator.h:87
void makeSimDigiPlotsRPC(const edm::Event &iEvent)
void makeHLTPlots(const edm::Event &iEvent)
TH1F * simTrackParticleBetaHist_
Definition: HSCPValidator.h:90
edm::InputTag simTrackTag_
Definition: HSCPValidator.h:95
TH1F * simHitsEcalEnergyHistEB_
TH1F * simTrackParticlePHist_
Definition: HSCPValidator.h:88
virtual void endJob()
TH1F * particleBetaInverseHist_
Definition: HSCPValidator.h:78
TH1F * simHitsEcalTimeHistEB_