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.10 by pellicci, Wed Mar 23 16:24:40 2011 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);
51 >  void fill_dtphi_info(const DTChamberRecSegment2D* phiSeg,const GeomDet* geomDet);
52 >  void fill_dtz_info(const DTSLRecSegment2D* zSeg, const GeomDet* geomDet);
53  
54    std::vector<L1MuRegionalCand> getBXCands(const L1MuGMTReadoutRecord* igmtrr, const int DetectorType) const;
55  
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 +  edm::InputTag scalersSource_;
71  
72    edm::InputTag triggerTag_;
73  
74 +  bool runOnRaw_;
75 +  bool runOnSimulation_;
76 +
77 +  std::string outFile_;
78 +
79    edm::ESHandle<MagneticField> theBField;
80    edm::ESHandle<Propagator> propagatorAlong;
81    edm::ESHandle<Propagator> propagatorOpposite;
# Line 76 | Line 86 | private:
86    int dtsegmentsSize_;
87    int cscsegmentsSize_;
88    int dtltDCCSize_;
89 +  int dtltDCCThSize_;
90    int dtltDDUSize_;
91    int gmtSize_;
92    int STAMuSize_;
# Line 85 | Line 96 | private:
96    short idtsegments;
97    short icscsegments;
98    short idtltDCC;
99 +  short idtltDCC_th;
100    short idtltDDU;
101    short imuons;
102    short igmtdt;
103    short igmtcands;
104 +  short igtalgo;
105 +  short igttt;
106 +  short ihlt;
107 +
108 +  reco::BeamSpot beamspot;
109  
110    TFile *outFile;
111    TTree *tree_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines