src
L1Trigger
TrackFindingTracklet
src
L1SimTrack.cc
Go to the documentation of this file.
1
#include "
L1Trigger/TrackFindingTracklet/interface/L1SimTrack.h
"
2
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
3
4
using namespace
std
;
5
using namespace
trklet
;
6
7
L1SimTrack::L1SimTrack() {
8
eventid_ = -1;
9
trackid_ = -1;
10
}
11
12
L1SimTrack::L1SimTrack(
13
int
eventid,
int
trackid,
int
type
,
double
pt
,
double
eta
,
double
phi,
double
vx
,
double
vy
,
double
vz
) {
14
eventid_ = eventid;
15
trackid_ = trackid;
16
type_ =
type
;
17
pt_ =
pt
;
18
eta_ =
eta
;
19
phi_ = phi;
20
vx_ =
vx
;
21
vy_ =
vy
;
22
vz_ =
vz
;
23
}
24
25
void
L1SimTrack::write
(ofstream&
out
) {
26
if
(pt_ > -2.0) {
27
out
<<
"SimTrack: "
<< eventid_ <<
"\t"
<< trackid_ <<
"\t"
<< type_ <<
"\t"
<< pt_ <<
"\t"
<< eta_ <<
"\t"
<< phi_
28
<<
"\t"
<< vx_ <<
"\t"
<< vy_ <<
"\t"
<< vz_ <<
"\t"
<< endl;
29
}
30
}
31
32
void
L1SimTrack::write
(ostream&
out
) {
33
if
(pt_ > -2) {
34
out
<<
"SimTrack: "
<< eventid_ <<
"\t"
<< trackid_ <<
"\t"
<< type_ <<
"\t"
<< pt_ <<
"\t"
<< eta_ <<
"\t"
<< phi_
35
<<
"\t"
<< vx_ <<
"\t"
<< vy_ <<
"\t"
<< vz_ <<
"\t"
<< endl;
36
}
37
}
MessageLogger.h
L1SimTrack.h
PVValHelper::eta
Definition:
PVValidationHelpers.h:70
std
Definition:
JetResolutionObject.h:76
run3scouting_cff.vz
vz
Definition:
run3scouting_cff.py:165
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:39
DiDispStaMuonMonitor_cfi.pt
pt
Definition:
DiDispStaMuonMonitor_cfi.py:39
gainCalibHelper::gainCalibPI::type
type
Definition:
SiPixelGainCalibHelper.h:40
writeEcalDQMStatus.write
write
Definition:
writeEcalDQMStatus.py:48
run3scouting_cff.vy
vy
Definition:
run3scouting_cff.py:164
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
run3scouting_cff.vx
vx
Definition:
run3scouting_cff.py:163
trklet
Definition:
AllInnerStubsMemory.h:10
Generated for CMSSW Reference Manual by
1.8.14