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 
38 
39 //
40 
41 #include "TH2F.h"
42 //
43 // class declaration
44 //
45 
47 public:
48  explicit HSCPValidator(const edm::ParameterSet&);
49  ~HSCPValidator() override;
50 
51 private:
52  void beginJob() override;
53  void analyze(const edm::Event&, const edm::EventSetup&) override;
54  void endJob() override;
56  void makeGenPlots(const edm::Event& iEvent);
57  void makeSimTrackPlots(const edm::Event& iEvent);
60  void makeHLTPlots(const edm::Event& iEvent);
61  void makeRecoPlots(const edm::Event& iEvent);
63  const edm::InputTag& InputPath,
64  double NewThreshold,
65  double etaCut,
66  int NObjectAboveThreshold,
67  bool averageThreshold);
68  // ----------member data ---------------------------
74 
75  // GEN section
83  std::vector<int> particleIds_;
85  std::map<int, int> particleIdsFoundMap_;
98 
99  //SIM-Track section
105 
106  // SIM-DIGI section
113  // ECAL
135  // RPC
140  TH1F* rpcBXBarrel_[6];
142  TH1F* rpcBXEndCap_[3];
143  //HLT
144  TH1F* hltmet;
145  TH1F* hltjet;
146  TH1F* hltmu;
147  //RECO
149  TH2F* dedxVsp;
150 };
HSCPValidator::simHitsEcalEnergyVsTimeHistEB_
TH2F * simHitsEcalEnergyVsTimeHistEB_
Definition: HSCPValidator.h:117
HSCPValidator::cluSizeDistribution_
TH1F * cluSizeDistribution_
Definition: HSCPValidator.h:138
HSCPValidator::digisEcalNumHistEE_
TH1F * digisEcalNumHistEE_
Definition: HSCPValidator.h:131
DeDxData.h
ESHandle.h
TriggerResults.h
HSCPValidator::trEvToken_
edm::EDGetTokenT< trigger::TriggerEvent > trEvToken_
Definition: HSCPValidator.h:78
HSCPValidator::RecoHSCPPtVsGenPt
TH2F * RecoHSCPPtVsGenPt
Definition: HSCPValidator.h:148
HSCPValidator::particleEtaHist_
TH1F * particleEtaHist_
Definition: HSCPValidator.h:86
HSCPValidator::hltmu
TH1F * hltmu
Definition: HSCPValidator.h:146
TriggerEvent.h
edm::EDGetTokenT< edm::HepMCProduct >
HSCPValidator::efficiencyRPCRecHitSimDigis_
TH1F * efficiencyRPCRecHitSimDigis_
Definition: HSCPValidator.h:137
HSCPValidator::HSCPValidator
HSCPValidator(const edm::ParameterSet &)
Definition: HSCPValidator.cc:96
HSCPValidator::digiOccupancyMapEEP_
TH2F * digiOccupancyMapEEP_
Definition: HSCPValidator.h:133
HSCPValidator::EEDigiCollectionToken_
edm::EDGetTokenT< EEDigiCollection > EEDigiCollectionToken_
Definition: HSCPValidator.h:111
HSCPValidator::particlePhiHist_
TH1F * particlePhiHist_
Definition: HSCPValidator.h:87
HSCPValidator::particleStatus_
int particleStatus_
Definition: HSCPValidator.h:84
HSCPValidator::particleIdsFoundMap_
std::map< int, int > particleIdsFoundMap_
Definition: HSCPValidator.h:85
HSCPValidator::doSimDigiPlots_
bool doSimDigiPlots_
Definition: HSCPValidator.h:72
HSCPValidator::hltjet
TH1F * hltjet
Definition: HSCPValidator.h:145
HSCPValidator::simHitsEcalTimeHistEB_
TH1F * simHitsEcalTimeHistEB_
Definition: HSCPValidator.h:115
HSCPValidator::eeSimHitToken_
edm::EDGetTokenT< edm::PCaloHitContainer > eeSimHitToken_
Definition: HSCPValidator.h:108
EDAnalyzer.h
HSCPValidator::rpcRecHitsToken_
edm::EDGetTokenT< RPCRecHitCollection > rpcRecHitsToken_
Definition: HSCPValidator.h:81
HSCPValidator::doHLTPlots_
bool doHLTPlots_
Definition: HSCPValidator.h:70
HSCPValidator::particlePtHist_
TH1F * particlePtHist_
Definition: HSCPValidator.h:89
HSCPValidator::simHitsEcalTimeHistEE_
TH1F * simHitsEcalTimeHistEE_
Definition: HSCPValidator.h:119
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
HSCPValidator::h_genhscp_met_nohscp
TH1F * h_genhscp_met_nohscp
Definition: HSCPValidator.h:95
HSCPValidator::residualsRPCRecHitSimDigis_
TH1F * residualsRPCRecHitSimDigis_
Definition: HSCPValidator.h:136
HSCPValidator::digiOccupancyMapEB_
TH2F * digiOccupancyMapEB_
Definition: HSCPValidator.h:132
MakerMacros.h
HSCPValidator::simTrackToken_
edm::EDGetTokenT< edm::SimTrackContainer > simTrackToken_
Definition: HSCPValidator.h:109
HSCPValidator::digiOccupancyMapEEM_
TH2F * digiOccupancyMapEEM_
Definition: HSCPValidator.h:134
TrackFwd.h
HSCPValidator::makeRecoPlots
void makeRecoPlots(const edm::Event &iEvent)
Definition: HSCPValidator.cc:676
HSCPValidator::simTrackParticlePtHist_
TH1F * simTrackParticlePtHist_
Definition: HSCPValidator.h:103
HSCPValidator::doSimTrackPlots_
bool doSimTrackPlots_
Definition: HSCPValidator.h:71
HSCPValidator::ebSimHitToken_
edm::EDGetTokenT< edm::PCaloHitContainer > ebSimHitToken_
Definition: HSCPValidator.h:107
HSCPValidator::simHitsEcalEnergyHistEE_
TH1F * simHitsEcalEnergyHistEE_
Definition: HSCPValidator.h:118
HSCPValidator::doRecoPlots_
bool doRecoPlots_
Definition: HSCPValidator.h:73
EcalDigiCollections.h
edm::ESHandle< RPCGeometry >
HSCPValidator::simTrackParticlePHist_
TH1F * simTrackParticlePHist_
Definition: HSCPValidator.h:102
HSCPValidator::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: HSCPValidator.cc:251
HSCPValidator::endJob
void endJob() override
Definition: HSCPValidator.cc:275
HSCPValidator::simHitsEcalDigiMatchEnergyVsTimeHistEB_
TH2F * simHitsEcalDigiMatchEnergyVsTimeHistEB_
Definition: HSCPValidator.h:124
HSCPValidator::token_
edm::EDGetTokenT< edm::HepMCProduct > token_
Definition: HSCPValidator.h:76
HSCPValidator::h_genhscp_scaloret
TH1F * h_genhscp_scaloret
Definition: HSCPValidator.h:96
HSCPValidator::intToString
std::string intToString(int num)
Definition: HSCPValidator.cc:830
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HSCPValidator::simTracksToken_
edm::EDGetTokenT< edm::SimTrackContainer > simTracksToken_
Definition: HSCPValidator.h:77
HSCPValidator
Definition: HSCPValidator.h:46
HSCPValidator::particlePHist_
TH1F * particlePHist_
Definition: HSCPValidator.h:88
RPCRecHitCollection.h
HSCPValidator::beginJob
void beginJob() override
Definition: HSCPValidator.cc:272
edm::ParameterSet
Definition: ParameterSet.h:47
HSCPValidator::simHitsEcalEnergyHistEB_
TH1F * simHitsEcalEnergyHistEB_
Definition: HSCPValidator.h:114
Event.h
fftjetproducer_cfi.etaCut
etaCut
Definition: fftjetproducer_cfi.py:168
HSCPValidator::simHitsEcalDigiMatchTimeHistEE_
TH1F * simHitsEcalDigiMatchTimeHistEE_
Definition: HSCPValidator.h:126
HSCPValidator::simTrackParticleBetaHist_
TH1F * simTrackParticleBetaHist_
Definition: HSCPValidator.h:104
HSCPValidator::rpcGeo
edm::ESHandle< RPCGeometry > rpcGeo
Definition: HSCPValidator.h:112
HSCPValidator::EBDigiCollectionToken_
edm::EDGetTokenT< EBDigiCollection > EBDigiCollectionToken_
Definition: HSCPValidator.h:110
HSCPValidator::dedxVsp
TH2F * dedxVsp
Definition: HSCPValidator.h:149
HSCPValidator::particleBetaHist_
TH1F * particleBetaHist_
Definition: HSCPValidator.h:92
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::EventSetup
Definition: EventSetup.h:57
HSCPValidator::hltmet
TH1F * hltmet
Definition: HSCPValidator.h:144
trigger::TriggerEvent
The single EDProduct to be saved for each event (AOD case)
Definition: TriggerEvent.h:25
HSCPValidator::simHitsEcalNumHistEB_
TH1F * simHitsEcalNumHistEB_
Definition: HSCPValidator.h:116
TriggerObject.h
HSCPValidator::doGenPlots_
bool doGenPlots_
Definition: HSCPValidator.h:69
EgammaValidation_cff.num
num
Definition: EgammaValidation_cff.py:34
HSCPValidator::simHitsEcalDigiMatchTimeHistEB_
TH1F * simHitsEcalDigiMatchTimeHistEB_
Definition: HSCPValidator.h:123
ValueMap.h
HSCPValidator::tkTracksToken_
edm::EDGetTokenT< reco::TrackCollection > tkTracksToken_
Definition: HSCPValidator.h:79
HSCPValidator::simHitsEcalDigiMatchEnergyHistEE_
TH1F * simHitsEcalDigiMatchEnergyHistEE_
Definition: HSCPValidator.h:125
HSCPValidator::rpcTimeOfFlightEndCap_
TH1F * rpcTimeOfFlightEndCap_[3]
Definition: HSCPValidator.h:141
HSCPValidator::simHitsEcalDigiMatchEnergyHistEB_
TH1F * simHitsEcalDigiMatchEnergyHistEB_
Definition: HSCPValidator.h:122
HSCPValidator::makeGenPlots
void makeGenPlots(const edm::Event &iEvent)
Definition: HSCPValidator.cc:291
HSCPValidator::particleBetaInverseHist_
TH1F * particleBetaInverseHist_
Definition: HSCPValidator.h:93
HSCPValidator::rpcBXBarrel_
TH1F * rpcBXBarrel_[6]
Definition: HSCPValidator.h:140
Frameworkfwd.h
HSCPValidator::particleMassHist_
TH1F * particleMassHist_
Definition: HSCPValidator.h:90
HSCPValidator::makeSimDigiPlotsECAL
void makeSimDigiPlotsECAL(const edm::Event &iEvent)
Definition: HSCPValidator.cc:479
HSCPValidator::triggerResultsToken_
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition: HSCPValidator.h:82
HSCPValidator::makeSimDigiPlotsRPC
void makeSimDigiPlotsRPC(const edm::Event &iEvent)
Definition: HSCPValidator.cc:726
HSCPValidator::particleIds_
std::vector< int > particleIds_
Definition: HSCPValidator.h:83
HSCPValidator::simTrackParticleEtaHist_
TH1F * simTrackParticleEtaHist_
Definition: HSCPValidator.h:100
HSCPValidator::makeHLTPlots
void makeHLTPlots(const edm::Event &iEvent)
Definition: HSCPValidator.cc:384
HSCPValidator::simHitsEcalDigiMatchIPhiHist_
TH1F * simHitsEcalDigiMatchIPhiHist_
Definition: HSCPValidator.h:129
PCaloHitContainer.h
HSCPValidator::h_genhscp_met
TH1F * h_genhscp_met
Definition: HSCPValidator.h:94
HSCPValidator::simHitsEcalDigiMatchEnergyVsTimeHistEE_
TH2F * simHitsEcalDigiMatchEnergyVsTimeHistEE_
Definition: HSCPValidator.h:127
ParameterSet.h
HepMCProduct.h
HSCPValidator::makeSimTrackPlots
void makeSimTrackPlots(const edm::Event &iEvent)
Definition: HSCPValidator.cc:357
HSCPValidator::digisEcalNumHistEB_
TH1F * digisEcalNumHistEB_
Definition: HSCPValidator.h:130
HSCPValidator::rpcTimeOfFlightBarrel_
TH1F * rpcTimeOfFlightBarrel_[6]
Definition: HSCPValidator.h:139
HSCPValidator::simHitsEcalEnergyVsTimeHistEE_
TH2F * simHitsEcalEnergyVsTimeHistEE_
Definition: HSCPValidator.h:121
HSCPValidator::~HSCPValidator
~HSCPValidator() override
Definition: HSCPValidator.cc:233
edm::Event
Definition: Event.h:73
HSCPValidator::IncreasedTreshold
bool IncreasedTreshold(const trigger::TriggerEvent &trEv, const edm::InputTag &InputPath, double NewThreshold, double etaCut, int NObjectAboveThreshold, bool averageThreshold)
Definition: HSCPValidator.cc:839
TriggerResultsByName.h
HSCPValidator::simTrackParticlePhiHist_
TH1F * simTrackParticlePhiHist_
Definition: HSCPValidator.h:101
RPCGeometry.h
SimTrackContainer.h
edm::InputTag
Definition: InputTag.h:15
HSCPValidator::simHitsEcalDigiMatchIEtaHist_
TH1F * simHitsEcalDigiMatchIEtaHist_
Definition: HSCPValidator.h:128
HSCPValidator::dEdxTrackToken_
edm::EDGetTokenT< edm::ValueMap< reco::DeDxData > > dEdxTrackToken_
Definition: HSCPValidator.h:80
HSCPValidator::particleStatusHist_
TH1F * particleStatusHist_
Definition: HSCPValidator.h:91
HSCPValidator::rpcBXEndCap_
TH1F * rpcBXEndCap_[3]
Definition: HSCPValidator.h:142
HSCPValidator::simHitsEcalNumHistEE_
TH1F * simHitsEcalNumHistEE_
Definition: HSCPValidator.h:120
HSCPValidator::h_genhscp_scaloret_nohscp
TH1F * h_genhscp_scaloret_nohscp
Definition: HSCPValidator.h:97