CMS 3D CMS Logo

TestMixedSource.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: TestMixedSource
4 // Class: TestMixedSource
5 //
13 //
14 // Original Author: Emilia Lubenova Becheva
15 // Created: Wed May 20 16:46:58 CEST 2009
16 //
17 //
18 
19 #ifndef TestMixedSource_h
20 #define TestMixedSource_h
21 
22 // system include files
23 #include <memory>
24 
25 // user include files
28 
31 
33 
34 #include "TH1I.h"
35 #include "TFile.h"
36 
37 #include <iostream>
38 #include <fstream>
39 
46 
47 //
48 // class decleration
49 //
50 namespace edm {
52  public:
53  explicit TestMixedSource(const edm::ParameterSet &);
54  ~TestMixedSource() override;
55 
56  private:
57  void beginJob() override;
58  void analyze(const edm::Event &, const edm::EventSetup &) override;
59  void endJob() override;
60 
61  // ----------member data ---------------------------
62  std::ofstream outputFile;
64  int bunchcr_;
65  int minbunch_;
66  int maxbunch_;
73  TH1I *tofhist_;
74  TH1I *tofhist_sig_;
78  TFile *histFile_;
79 
82 
84 
88  };
89 } // namespace edm
90 #endif
edm::TestMixedSource::SimVertexToken_
edm::EDGetTokenT< CrossingFrame< SimVertex > > SimVertexToken_
Definition: TestMixedSource.h:86
EDAnalyzer.h
edm::TestMixedSource::fileName_
std::string fileName_
Definition: TestMixedSource.h:63
edm::EDGetTokenT
Definition: EDGetToken.h:33
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::TestMixedSource::tofhist_
TH1I * tofhist_
Definition: TestMixedSource.h:73
CrossingFrame.h
edm::TestMixedSource::minbunch_
int minbunch_
Definition: TestMixedSource.h:65
edm::TestMixedSource::maxbunch_
int maxbunch_
Definition: TestMixedSource.h:66
edm::TestMixedSource::histFile_
TFile * histFile_
Definition: TestMixedSource.h:78
edm::TestMixedSource::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: TestMixedSource.cc:121
edm::TestMixedSource::CaloToken1_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > CaloToken1_
Definition: TestMixedSource.h:83
edm::TestMixedSource::TestMixedSource
TestMixedSource(const edm::ParameterSet &)
Definition: TestMixedSource.cc:52
edm::one::EDAnalyzer
Definition: EDAnalyzer.h:30
MakerMacros.h
edm::TestMixedSource::HepMCToken_
edm::EDGetTokenT< CrossingFrame< edm::HepMCProduct > > HepMCToken_
Definition: TestMixedSource.h:87
PSimHit.h
edm::TestMixedSource::outputFile
std::ofstream outputFile
Definition: TestMixedSource.h:62
edm::TestMixedSource::histPSimHit_bunchPileups_MuonCSCHits_
TH1I * histPSimHit_bunchPileups_MuonCSCHits_
Definition: TestMixedSource.h:76
edm::TestMixedSource::bunchcr_
int bunchcr_
Definition: TestMixedSource.h:64
edm::TestMixedSource::histPSimHit_bunchSignal_MuonCSCHits_
TH1I * histPSimHit_bunchSignal_MuonCSCHits_
Definition: TestMixedSource.h:75
SimVertex.h
edm::TestMixedSource::SimTrackToken_
edm::EDGetTokenT< CrossingFrame< SimTrack > > SimTrackToken_
Definition: TestMixedSource.h:85
edm::TestMixedSource::endJob
void endJob() override
Definition: TestMixedSource.cc:318
edm::TestMixedSource::tofhist_sig_
TH1I * tofhist_sig_
Definition: TestMixedSource.h:74
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
edm::TestMixedSource
Definition: TestMixedSource.h:51
edm::TestMixedSource::histHepMCProduct_bunch_
TH1I * histHepMCProduct_bunch_
Definition: TestMixedSource.h:77
edm::TestMixedSource::histPSimHit_bunchPileups_TrackerHitsTECHighTof_
TH1I * histPSimHit_bunchPileups_TrackerHitsTECHighTof_
Definition: TestMixedSource.h:72
edm::TestMixedSource::beginJob
void beginJob() override
Definition: TestMixedSource.cc:310
PCaloHit.h
edm::EventSetup
Definition: EventSetup.h:58
edm::TestMixedSource::histTrack_bunchSignal_
TH1I * histTrack_bunchSignal_
Definition: TestMixedSource.h:68
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::TestMixedSource::TrackerToken0_
edm::EDGetTokenT< CrossingFrame< PSimHit > > TrackerToken0_
Definition: TestMixedSource.h:80
edm::TestMixedSource::histVertex_bunch_
TH1I * histVertex_bunch_
Definition: TestMixedSource.h:69
edm::TestMixedSource::histPSimHit_bunchSignal_TrackerHitsTECHighTof_
TH1I * histPSimHit_bunchSignal_TrackerHitsTECHighTof_
Definition: TestMixedSource.h:71
Frameworkfwd.h
edm::TestMixedSource::histTrack_bunchPileups_
TH1I * histTrack_bunchPileups_
Definition: TestMixedSource.h:67
edm::TestMixedSource::MuonToken_
edm::EDGetTokenT< CrossingFrame< PSimHit > > MuonToken_
Definition: TestMixedSource.h:81
edm::TestMixedSource::histPCaloHit_bunch_
TH1I * histPCaloHit_bunch_
Definition: TestMixedSource.h:70
edm::TestMixedSource::~TestMixedSource
~TestMixedSource() override
Definition: TestMixedSource.cc:114
SimTrack.h
ParameterSet.h
HepMCProduct.h
edm::Event
Definition: Event.h:73