7 |
|
|
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" |
14 |
|
#include "FWCore/Framework/interface/Event.h" |
16 |
|
|
17 |
|
#include "TrackingTools/GeomPropagators/interface/Propagator.h" |
18 |
|
|
19 |
+ |
|
20 |
|
// |
21 |
|
// class declaration |
22 |
|
// |
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_; |
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; |
86 |
|
int dtsegmentsSize_; |
87 |
|
int cscsegmentsSize_; |
88 |
|
int dtltDCCSize_; |
89 |
+ |
int dtltDCCThSize_; |
90 |
|
int dtltDDUSize_; |
91 |
|
int gmtSize_; |
92 |
|
int STAMuSize_; |
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_; |