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); |
54 |
|
TrajectoryStateOnSurface cylExtrapTrkSam(reco::TrackRef track, const float rho) const; |
55 |
|
FreeTrajectoryState freeTrajStateMuon(const reco::TrackRef track) const; |
56 |
|
|
53 |
– |
//method to fill empty slots (just to avoid potential crashes) |
54 |
– |
inline void fill_cscsegments_emptyvars(); |
55 |
– |
inline void fill_muons_emptyvars(); |
56 |
– |
|
57 |
|
edm::InputTag dtDigiLabel_; |
58 |
|
edm::InputTag dtSegmentLabel_; |
59 |
|
edm::InputTag cscSegmentLabel_; |
63 |
|
edm::InputTag gmtLabel_; |
64 |
|
|
65 |
|
edm::InputTag PrimaryVertexTag_; |
66 |
+ |
edm::InputTag beamSpotTag_; |
67 |
|
|
68 |
|
edm::InputTag triggerTag_; |
69 |
|
|
70 |
+ |
bool runOnRaw_; |
71 |
+ |
bool runOnSimulation_; |
72 |
+ |
|
73 |
+ |
std::string outFile_; |
74 |
+ |
|
75 |
|
edm::ESHandle<MagneticField> theBField; |
76 |
|
edm::ESHandle<Propagator> propagatorAlong; |
77 |
|
edm::ESHandle<Propagator> propagatorOpposite; |
82 |
|
int dtsegmentsSize_; |
83 |
|
int cscsegmentsSize_; |
84 |
|
int dtltDCCSize_; |
85 |
+ |
int dtltDCCThSize_; |
86 |
|
int dtltDDUSize_; |
87 |
|
int gmtSize_; |
88 |
|
int STAMuSize_; |
92 |
|
short idtsegments; |
93 |
|
short icscsegments; |
94 |
|
short idtltDCC; |
95 |
+ |
short idtltDCC_th; |
96 |
|
short idtltDDU; |
97 |
|
short imuons; |
98 |
|
short igmtdt; |
99 |
|
short igmtcands; |
100 |
|
|
101 |
+ |
reco::BeamSpot beamspot; |
102 |
+ |
|
103 |
|
TFile *outFile; |
104 |
|
TTree *tree_; |
105 |
|
|