CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
40 //
41 // class decleration
42 //
43 namespace edm
44 {
46  public:
47  explicit TestMixedSource(const edm::ParameterSet&);
49 
50 
51  private:
52  virtual void beginJob() ;
53  virtual void analyze(const edm::Event&, const edm::EventSetup&) override;
54  virtual void endJob() ;
55 
56  // ----------member data ---------------------------
57  std::ofstream outputFile;
59  int bunchcr_;
60  int minbunch_;
61  int maxbunch_;
68  TH1I * tofhist_;
69  TH1I * tofhist_sig_;
73  TFile *histFile_;
74 
77 
79 
83 
84 
85 };
86 }//edm
87 #endif
TH1I * histPSimHit_bunchPileups_TrackerHitsTECHighTof_
TH1I * histPSimHit_bunchSignal_MuonCSCHits_
TH1I * histPSimHit_bunchPileups_MuonCSCHits_
edm::EDGetTokenT< CrossingFrame< PSimHit > > TrackerToken0_
virtual void beginJob()
edm::EDGetTokenT< CrossingFrame< SimTrack > > SimTrackToken_
TH1I * histPSimHit_bunchSignal_TrackerHitsTECHighTof_
edm::EDGetTokenT< CrossingFrame< PSimHit > > MuonToken_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > CaloToken1_
edm::EDGetTokenT< CrossingFrame< SimVertex > > SimVertexToken_
std::ofstream outputFile
edm::EDGetTokenT< CrossingFrame< edm::HepMCProduct > > HepMCToken_
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
TestMixedSource(const edm::ParameterSet &)