ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/DTDPGAnalysis/interface/TTreeGenerator.h
(Generate patch)

Comparing UserCode/DTDPGAnalysis/interface/TTreeGenerator.h (file contents):
Revision 1.1 by pellicci, Mon May 3 14:05:47 2010 UTC vs.
Revision 1.8 by battilan, Wed Sep 15 10:00:59 2010 UTC

# Line 5 | Line 5
5   #include "TVectorF.h"
6   #include "TClonesArray.h"
7  
8 < #include "DTDPGAnalysis/interface/DefineTreeVariables.h"
8 > #include "UserCode/DTDPGAnalysis/interface/DefineTreeVariables.h"
9 >
10 > #include "DataFormats/BeamSpot/interface/BeamSpot.h"
11  
12   #include "FWCore/Framework/interface/EDAnalyzer.h"
13   #include "FWCore/Framework/interface/ESHandle.h"
# Line 14 | Line 16
16  
17   #include "TrackingTools/GeomPropagators/interface/Propagator.h"
18  
19 +
20   //
21   // class declaration
22   //
# Line 38 | Line 41 | private:
41    void fill_dtsegments_variables(edm::Handle<DTRecSegment4DCollection> segments4D);
42    void fill_cscsegments_variables(edm::Handle<CSCSegmentCollection> cscsegments);
43    void fill_dcc_variables(edm::Handle<L1MuDTChambPhContainer> localTriggerDCC);
44 +  void fill_dccth_variables(edm::Handle<L1MuDTChambThContainer> localTriggerDCC_Th);
45    void fill_ddu_variables(edm::Handle<DTLocalTriggerCollection> localTriggerDDU);
46    void fill_muons_variables(edm::Handle<reco::MuonCollection> MuList);
47    void fill_gmt_variables(edm::Handle<L1MuGMTReadoutCollection> gmtrc);
48 +  void fill_gt_variables(edm::Handle<L1GlobalTriggerReadoutRecord> gtrr, const L1GtTriggerMenu* menu);
49 +  void fill_hlt_variables(const edm::Event& e, edm::Handle<edm::TriggerResults> hltresults);
50  
51    void fill_dtphi_info(const DTChamberRecSegment2D* phiSeg);
52    void fill_dtz_info(const DTSLRecSegment2D* zSeg);
# Line 50 | Line 56 | private:
56    TrajectoryStateOnSurface cylExtrapTrkSam(reco::TrackRef track, const float rho) const;
57    FreeTrajectoryState freeTrajStateMuon(const reco::TrackRef track) const;
58  
53  //method to fill empty slots (just to avoid potential crashes)
54  inline void fill_cscsegments_emptyvars();
55  inline void fill_muons_emptyvars();
56
59    edm::InputTag dtDigiLabel_;
60    edm::InputTag dtSegmentLabel_;
61    edm::InputTag cscSegmentLabel_;
# Line 61 | Line 63 | private:
63    edm::InputTag dtTrigDDULabel_;
64    edm::InputTag staMuLabel_;
65    edm::InputTag gmtLabel_;
66 +  edm::InputTag gtLabel_;
67  
68    edm::InputTag PrimaryVertexTag_;
69 +  edm::InputTag beamSpotTag_;
70  
71    edm::InputTag triggerTag_;
72  
73 +  bool runOnRaw_;
74 +  bool runOnSimulation_;
75 +
76 +  std::string outFile_;
77 +
78    edm::ESHandle<MagneticField> theBField;
79    edm::ESHandle<Propagator> propagatorAlong;
80    edm::ESHandle<Propagator> propagatorOpposite;
# Line 76 | Line 85 | private:
85    int dtsegmentsSize_;
86    int cscsegmentsSize_;
87    int dtltDCCSize_;
88 +  int dtltDCCThSize_;
89    int dtltDDUSize_;
90    int gmtSize_;
91    int STAMuSize_;
# Line 85 | Line 95 | private:
95    short idtsegments;
96    short icscsegments;
97    short idtltDCC;
98 +  short idtltDCC_th;
99    short idtltDDU;
100    short imuons;
101    short igmtdt;
102    short igmtcands;
103 +  short igtalgo;
104 +  short igttt;
105 +  short ihlt;
106 +
107 +  reco::BeamSpot beamspot;
108  
109    TFile *outFile;
110    TTree *tree_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines