CMS 3D CMS Logo

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 
35 
36 
37 //
38 
39 #include "TH2F.h"
40 //
41 // class declaration
42 //
43 
45  public:
46  explicit HSCPValidator(const edm::ParameterSet&);
47  ~HSCPValidator() override;
48 
49 
50  private:
51  void beginJob() override ;
52  void analyze(const edm::Event&, const edm::EventSetup&) override;
53  void endJob() override ;
55  void makeGenPlots(const edm::Event& iEvent);
56  void makeSimTrackPlots(const edm::Event& iEvent);
57  void makeSimDigiPlotsECAL(const edm::Event& iEvent);
58  void makeSimDigiPlotsRPC(const edm::Event& iEvent);
59  void makeHLTPlots(const edm::Event& iEvent);
60  void makeRecoPlots(const edm::Event& iEvent);
61  bool IncreasedTreshold(const trigger::TriggerEvent& trEv, const edm::InputTag& InputPath, double NewThreshold, double etaCut,int NObjectAboveThreshold, bool averageThreshold);
62  // ----------member data ---------------------------
68 
69  // GEN section
77  std::vector<int> particleIds_;
79  std::map<int,int> particleIdsFoundMap_;
88  TH1F * h_genhscp_met;
92 
93 
94  //SIM-Track section
100 
101  // SIM-DIGI section
108  // ECAL
130  // RPC
135  TH1F* rpcBXBarrel_[6];
137  TH1F* rpcBXEndCap_[3];
138  //HLT
139  TH1F* hltmet;
140  TH1F* hltjet;
141  TH1F* hltmu;
142  //RECO
144  TH2F* dedxVsp;
145 
146 };
bool doSimDigiPlots_
Definition: HSCPValidator.h:66
TH1F * particleMassHist_
Definition: HSCPValidator.h:84
TH2F * simHitsEcalDigiMatchEnergyVsTimeHistEE_
TH1F * rpcTimeOfFlightBarrel_[6]
edm::EDGetTokenT< EEDigiCollection > EEDigiCollectionToken_
TH1F * rpcTimeOfFlightEndCap_[3]
void endJob() override
TH1F * simHitsEcalTimeHistEE_
edm::EDGetTokenT< EBDigiCollection > EBDigiCollectionToken_
edm::EDGetTokenT< edm::PCaloHitContainer > eeSimHitToken_
The single EDProduct to be saved for each event (AOD case)
Definition: TriggerEvent.h:25
TH1F * particlePhiHist_
Definition: HSCPValidator.h:81
TH2F * simHitsEcalEnergyVsTimeHistEB_
TH1F * simHitsEcalEnergyHistEE_
TH1F * h_genhscp_met_nohscp
Definition: HSCPValidator.h:89
edm::EDGetTokenT< edm::PCaloHitContainer > ebSimHitToken_
TH1F * digisEcalNumHistEE_
TH1F * particleBetaHist_
Definition: HSCPValidator.h:86
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:77
std::map< int, int > particleIdsFoundMap_
Definition: HSCPValidator.h:79
TH1F * simTrackParticlePtHist_
Definition: HSCPValidator.h:98
TH1F * particleEtaHist_
Definition: HSCPValidator.h:80
edm::EDGetTokenT< edm::SimTrackContainer > simTracksToken_
Definition: HSCPValidator.h:71
TH1F * simHitsEcalNumHistEE_
int iEvent
Definition: GenABIO.cc:230
TH2F * digiOccupancyMapEEP_
TH1F * particlePtHist_
Definition: HSCPValidator.h:83
TH1F * h_genhscp_scaloret
Definition: HSCPValidator.h:90
TH2F * digiOccupancyMapEB_
TH1F * efficiencyRPCRecHitSimDigis_
TH2F * simHitsEcalDigiMatchEnergyVsTimeHistEB_
void analyze(const edm::Event &, const edm::EventSetup &) override
TH1F * simHitsEcalDigiMatchEnergyHistEE_
TH1F * h_genhscp_scaloret_nohscp
Definition: HSCPValidator.h:91
edm::EDGetTokenT< edm::HepMCProduct > token_
Definition: HSCPValidator.h:70
TH1F * simHitsEcalDigiMatchTimeHistEE_
std::string intToString(int num)
void makeSimDigiPlotsECAL(const edm::Event &iEvent)
edm::EDGetTokenT< edm::SimTrackContainer > simTrackToken_
~HSCPValidator() override
edm::EDGetTokenT< RPCRecHitCollection > rpcRecHitsToken_
Definition: HSCPValidator.h:75
TH2F * simHitsEcalEnergyVsTimeHistEE_
TH1F * rpcBXBarrel_[6]
TH1F * residualsRPCRecHitSimDigis_
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition: HSCPValidator.h:76
TH1F * simHitsEcalDigiMatchIEtaHist_
TH1F * rpcBXEndCap_[3]
TH1F * simHitsEcalNumHistEB_
void beginJob() override
void makeGenPlots(const edm::Event &iEvent)
TH1F * digisEcalNumHistEB_
edm::EDGetTokenT< trigger::TriggerEvent > trEvToken_
Definition: HSCPValidator.h:72
TH1F * simTrackParticleEtaHist_
Definition: HSCPValidator.h:95
bool doSimTrackPlots_
Definition: HSCPValidator.h:65
TH1F * simHitsEcalDigiMatchIPhiHist_
TH1F * simHitsEcalDigiMatchEnergyHistEB_
TH1F * particleStatusHist_
Definition: HSCPValidator.h:85
TH1F * particlePHist_
Definition: HSCPValidator.h:82
TH1F * h_genhscp_met
Definition: HSCPValidator.h:88
TH2F * RecoHSCPPtVsGenPt
edm::ESHandle< RPCGeometry > rpcGeo
TH1F * simTrackParticlePhiHist_
Definition: HSCPValidator.h:96
void makeSimDigiPlotsRPC(const edm::Event &iEvent)
edm::EDGetTokenT< reco::TrackCollection > tkTracksToken_
Definition: HSCPValidator.h:73
void makeHLTPlots(const edm::Event &iEvent)
TH1F * simTrackParticleBetaHist_
Definition: HSCPValidator.h:99
edm::EDGetTokenT< edm::ValueMap< reco::DeDxData > > dEdxTrackToken_
Definition: HSCPValidator.h:74
TH1F * simHitsEcalEnergyHistEB_
TH1F * simTrackParticlePHist_
Definition: HSCPValidator.h:97
TH1F * particleBetaInverseHist_
Definition: HSCPValidator.h:87
TH1F * simHitsEcalTimeHistEB_