CMS 3D CMS Logo

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 public:
34  void analyze(const edm::Event &e, const edm::EventSetup &c) override;
35 
36  explicit CSCTFAnalyzer(const edm::ParameterSet &conf);
37  ~CSCTFAnalyzer(void) override {
38  file->cd();
39  tree->Write();
40  file->Close();
41  }
42 };
43 
44 #endif
CSCTFAnalyzer::L1CST_Tok
edm::EDGetTokenT< L1CSCTrackCollection > L1CST_Tok
Definition: CSCTFAnalyzer.h:31
CSCCorrelatedLCTDigiCollection.h
CSCTFAnalyzer::mbProducer
edm::InputTag mbProducer
Definition: CSCTFAnalyzer.h:23
edm::EDGetTokenT< L1CSCStatusDigiCollection >
tree
Definition: tree.py:1
EDAnalyzer.h
CSCTFAnalyzer
Definition: CSCTFAnalyzer.h:21
L1CSCStatusDigiCollection.h
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
CSCTFAnalyzer::trackProducer
edm::InputTag trackProducer
Definition: CSCTFAnalyzer.h:23
CSCTFAnalyzer::dtPhi
int dtPhi[12][2]
Definition: CSCTFAnalyzer.h:26
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
L1CSCTrackCollection.h
CSCTFAnalyzer::statusProducer
edm::InputTag statusProducer
Definition: CSCTFAnalyzer.h:23
CSCTriggerContainer.h
CSCTFAnalyzer::L1CSCS_Tok
edm::EDGetTokenT< L1CSCStatusDigiCollection > L1CSCS_Tok
Definition: CSCTFAnalyzer.h:28
edm::EventSetup
Definition: EventSetup.h:58
CSCTFAnalyzer::file
TFile * file
Definition: CSCTFAnalyzer.h:25
CSCTFAnalyzer::CSCTFAnalyzer
CSCTFAnalyzer(const edm::ParameterSet &conf)
Definition: CSCTFAnalyzer.cc:10
InputTag.h
CSCTFAnalyzer::CSCCDC_Tok
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > CSCCDC_Tok
Definition: CSCTFAnalyzer.h:30
CSCTFAnalyzer::~CSCTFAnalyzer
~CSCTFAnalyzer(void) override
Definition: CSCTFAnalyzer.h:37
EventSetup.h
ConsumesCollector.h
CSCTFAnalyzer::lctProducer
edm::InputTag lctProducer
Definition: CSCTFAnalyzer.h:23
ParameterSet.h
CSCTFAnalyzer::tree
TTree * tree
Definition: CSCTFAnalyzer.h:24
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
edm::Event
Definition: Event.h:73
CSCTFAnalyzer::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: CSCTFAnalyzer.cc:49
TrackStub.h
edm::InputTag
Definition: InputTag.h:15
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
CSCTFAnalyzer::CSCTC_Tok
edm::EDGetTokenT< CSCTriggerContainer< csctf::TrackStub > > CSCTC_Tok
Definition: CSCTFAnalyzer.h:29