#include <SLHCEvent.h>
|
void | addL1SimTrack (int eventid, int trackid, int type, double pt, double eta, double phi, double vx, double vy, double vz) |
|
bool | addStub (int layer, int ladder, int module, int strip, int eventid, std::vector< int > tps, double pt, double bend, double x, double y, double z, int isPSmodule, int isFlipped) |
|
int | eventnum () const |
|
int | getSimtrackFromSimtrackid (int simtrackid, int eventid=0) const |
|
const L1TStub & | lastStub () const |
|
unsigned int | layersHit (int tpid, int &nlayers, int &ndisks) |
|
unsigned int | nsimtracks () const |
|
int | nstubs () const |
|
void | setEventNum (int eventnum) |
|
void | setIPx (double x) |
|
void | setIPy (double y) |
|
const L1SimTrack & | simtrack (int i) const |
|
| SLHCEvent () |
|
| SLHCEvent (std::istream &in) |
|
const L1TStub & | stub (int i) const |
|
void | write (std::ofstream &out) |
|
void | write (std::ostream &out) |
|
| ~SLHCEvent ()=default |
|
Definition at line 54 of file SLHCEvent.h.
◆ SLHCEvent() [1/2]
trklet::SLHCEvent::SLHCEvent |
( |
| ) |
|
|
inline |
◆ SLHCEvent() [2/2]
trklet::SLHCEvent::SLHCEvent |
( |
std::istream & |
in | ) |
|
◆ ~SLHCEvent()
trklet::SLHCEvent::~SLHCEvent |
( |
| ) |
|
|
default |
◆ addL1SimTrack()
void SLHCEvent::addL1SimTrack |
( |
int |
eventid, |
|
|
int |
trackid, |
|
|
int |
type, |
|
|
double |
pt, |
|
|
double |
eta, |
|
|
double |
phi, |
|
|
double |
vx, |
|
|
double |
vy, |
|
|
double |
vz |
|
) |
| |
◆ addStub()
bool SLHCEvent::addStub |
( |
int |
layer, |
|
|
int |
ladder, |
|
|
int |
module, |
|
|
int |
strip, |
|
|
int |
eventid, |
|
|
std::vector< int > |
tps, |
|
|
double |
pt, |
|
|
double |
bend, |
|
|
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
int |
isPSmodule, |
|
|
int |
isFlipped |
|
) |
| |
Definition at line 48 of file SLHCEvent.cc.
61 if (layer > 999 && layer < 1999 && z < 0.0) {
70 eventid, tps, -1, -1, layer,
ladder, module,
strip, x, y, z, -1.0, -1.0,
pt,
bend, isPSmodule, isFlipped);
References trklet::bend(), PVValHelper::ladder, DiDispStaMuonMonitor_cfi::pt, and digitizers_cfi::strip.
◆ eventnum()
int trklet::SLHCEvent::eventnum |
( |
| ) |
const |
|
inline |
◆ getSimtrackFromSimtrackid()
int SLHCEvent::getSimtrackFromSimtrackid |
( |
int |
simtrackid, |
|
|
int |
eventid = 0 |
|
) |
| const |
◆ lastStub()
const L1TStub& trklet::SLHCEvent::lastStub |
( |
| ) |
const |
|
inline |
◆ layersHit()
unsigned int SLHCEvent::layersHit |
( |
int |
tpid, |
|
|
int & |
nlayers, |
|
|
int & |
ndisks |
|
) |
| |
Definition at line 239 of file SLHCEvent.cc.
281 nlayers = l1 + l2 + l3 + l4 + l5 + l6;
282 ndisks =
d1 + d2 + d3 + d4 + d5;
284 return l1 + 2 * l2 + 4 * l3 + 8 * l4 + 16 * l5 + 32 * l6 + 64 *
d1 + 128 * d2 + 256 * d3 + 512 * d4 + 1024 * d5;
References funct::abs(), d1, and nlayers.
◆ nsimtracks()
unsigned int trklet::SLHCEvent::nsimtracks |
( |
| ) |
const |
|
inline |
◆ nstubs()
int trklet::SLHCEvent::nstubs |
( |
| ) |
const |
|
inline |
◆ setEventNum()
void trklet::SLHCEvent::setEventNum |
( |
int |
eventnum | ) |
|
|
inline |
◆ setIPx()
void trklet::SLHCEvent::setIPx |
( |
double |
x | ) |
|
|
inline |
◆ setIPy()
void trklet::SLHCEvent::setIPy |
( |
double |
y | ) |
|
|
inline |
◆ simtrack()
const L1SimTrack& trklet::SLHCEvent::simtrack |
( |
int |
i | ) |
const |
|
inline |
◆ stub()
const L1TStub& trklet::SLHCEvent::stub |
( |
int |
i | ) |
const |
|
inline |
◆ write() [1/2]
void SLHCEvent::write |
( |
std::ofstream & |
out | ) |
|
◆ write() [2/2]
void trklet::SLHCEvent::write |
( |
std::ostream & |
out | ) |
|
◆ eventnum_
int trklet::SLHCEvent::eventnum_ |
|
private |
◆ simtracks_
std::vector<L1SimTrack> trklet::SLHCEvent::simtracks_ |
|
private |
◆ stubs_
std::vector<L1TStub> trklet::SLHCEvent::stubs_ |
|
private |
◆ x_offset_
double trklet::SLHCEvent::x_offset_ {0.0} |
|
private |
◆ y_offset_
double trklet::SLHCEvent::y_offset_ {0.0} |
|
private |