#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 (std::string DTClink, int region, int layerdisk, std::string stubword, int isPSmodule, int isFlipped, double x, double y, double z, double bend, double strip, std::vector< int > tps) |
|
int | eventnum () 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 | setIP (double x, double y) |
|
const L1SimTrack & | simtrack (int i) const |
|
| SLHCEvent () |
|
| SLHCEvent (std::istream &in) |
|
const L1TStub & | stub (int i) const |
|
void | write (std::ofstream &out) |
|
| ~SLHCEvent ()=default |
|
Definition at line 17 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 |
( |
std::string |
DTClink, |
|
|
int |
region, |
|
|
int |
layerdisk, |
|
|
std::string |
stubword, |
|
|
int |
isPSmodule, |
|
|
int |
isFlipped, |
|
|
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
double |
bend, |
|
|
double |
strip, |
|
|
std::vector< int > |
tps |
|
) |
| |
Definition at line 13 of file SLHCEvent.cc.
25 L1TStub stub(DTClink,
region, layerdisk, stubword, isPSmodule, isFlipped,
x,
y,
z, bend,
strip, tps);
References HLT_FULL_cff::region, and digitizers_cfi::strip.
◆ eventnum()
int trklet::SLHCEvent::eventnum |
( |
| ) |
const |
|
inline |
◆ lastStub()
const L1TStub& trklet::SLHCEvent::lastStub |
( |
| ) |
const |
|
inline |
◆ layersHit()
unsigned int SLHCEvent::layersHit |
( |
int |
tpid, |
|
|
int & |
nlayers, |
|
|
int & |
ndisks |
|
) |
| |
Definition at line 128 of file SLHCEvent.cc.
170 nlayers = l1 + l2 + l3 + l4 + l5 + l6;
171 ndisks =
d1 + d2 + d3 + d4 + d5;
173 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 |
◆ setIP()
void trklet::SLHCEvent::setIP |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
inline |
◆ simtrack()
const L1SimTrack& trklet::SLHCEvent::simtrack |
( |
int |
i | ) |
const |
|
inline |
◆ stub()
const L1TStub& trklet::SLHCEvent::stub |
( |
int |
i | ) |
const |
|
inline |
◆ write()
void SLHCEvent::write |
( |
std::ofstream & |
out | ) |
|
◆ eventnum_
int trklet::SLHCEvent::eventnum_ |
|
private |
◆ ipx_
double trklet::SLHCEvent::ipx_ |
|
private |
◆ ipy_
double trklet::SLHCEvent::ipy_ |
|
private |
◆ simtracks_
std::vector<L1SimTrack> trklet::SLHCEvent::simtracks_ |
|
private |
◆ stubs_
std::vector<L1TStub> trklet::SLHCEvent::stubs_ |
|
private |