CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCTFAnalyzer.h
Go to the documentation of this file.
1 #ifndef CSCTFAnalyzer_h
2 #define CSCTFAnalyzer_h
3 
10 
11 //consumes
17 
18 #include <TTree.h>
19 #include <TFile.h>
20 
22 private:
24  TTree *tree;
25  TFile *file;
26  int dtPhi[12][2];
27 
32 
33 
34 public:
35  void analyze(const edm::Event& e, const edm::EventSetup& c);
36 
37  explicit CSCTFAnalyzer(const edm::ParameterSet &conf);
38  ~CSCTFAnalyzer(void){ file->cd(); tree->Write(); file->Close(); }
39 };
40 
41 #endif
edm::EDGetTokenT< CSCTriggerContainer< csctf::TrackStub > > CSCTC_Tok
Definition: CSCTFAnalyzer.h:29
edm::InputTag mbProducer
Definition: CSCTFAnalyzer.h:23
CSCTFAnalyzer(const edm::ParameterSet &conf)
void analyze(const edm::Event &e, const edm::EventSetup &c)
edm::InputTag lctProducer
Definition: CSCTFAnalyzer.h:23
~CSCTFAnalyzer(void)
Definition: CSCTFAnalyzer.h:38
edm::InputTag statusProducer
Definition: CSCTFAnalyzer.h:23
tuple conf
Definition: dbtoconf.py:185
edm::InputTag trackProducer
Definition: CSCTFAnalyzer.h:23
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > CSCCDC_Tok
Definition: CSCTFAnalyzer.h:30
int dtPhi[12][2]
Definition: CSCTFAnalyzer.h:26
edm::EDGetTokenT< L1CSCTrackCollection > L1CST_Tok
Definition: CSCTFAnalyzer.h:31
edm::EDGetTokenT< L1CSCStatusDigiCollection > L1CSCS_Tok
Definition: CSCTFAnalyzer.h:28