#include <SLHCEvent.h>
Public Member Functions | |
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 | |
Private Attributes | |
int | eventnum_ |
double | ipx_ |
double | ipy_ |
std::vector< L1SimTrack > | simtracks_ |
std::vector< L1TStub > | stubs_ |
Definition at line 17 of file SLHCEvent.h.
|
inline |
trklet::SLHCEvent::SLHCEvent | ( | std::istream & | in | ) |
|
default |
void SLHCEvent::addL1SimTrack | ( | int | eventid, |
int | trackid, | ||
int | type, | ||
double | pt, | ||
double | eta, | ||
double | phi, | ||
double | vx, | ||
double | vy, | ||
double | vz | ||
) |
Definition at line 7 of file SLHCEvent.cc.
Referenced by L1FPGATrackProducer::produce().
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.
Referenced by L1FPGATrackProducer::produce().
|
inline |
|
inline |
Definition at line 44 of file SLHCEvent.h.
References stubs_.
Referenced by L1FPGATrackProducer::produce().
unsigned int SLHCEvent::layersHit | ( | int | tpid, |
int & | nlayers, | ||
int & | ndisks | ||
) |
Definition at line 128 of file SLHCEvent.cc.
References funct::abs(), and d1.
Referenced by trklet::TrackletEventProcessor::event().
|
inline |
Definition at line 59 of file SLHCEvent.h.
References simtracks_.
Referenced by trklet::Stub::Stub().
|
inline |
Definition at line 55 of file SLHCEvent.h.
References stubs_.
Referenced by trklet::TrackletEventProcessor::event().
|
inline |
Definition at line 26 of file SLHCEvent.h.
References eventnum(), and eventnum_.
Referenced by L1FPGATrackProducer::produce().
|
inline |
|
inline |
Definition at line 61 of file SLHCEvent.h.
References mps_fire::i, and simtracks_.
Referenced by trklet::Stub::Stub().
|
inline |
Definition at line 57 of file SLHCEvent.h.
References mps_fire::i, and stubs_.
Referenced by trklet::TrackletEventProcessor::event().
void SLHCEvent::write | ( | std::ofstream & | out | ) |
|
private |
Definition at line 66 of file SLHCEvent.h.
Referenced by eventnum(), setEventNum(), and SLHCEvent().
|
private |
Definition at line 69 of file SLHCEvent.h.
Referenced by setIP().
|
private |
Definition at line 69 of file SLHCEvent.h.
Referenced by setIP().
|
private |
Definition at line 67 of file SLHCEvent.h.
Referenced by nsimtracks(), and simtrack().
|
private |
Definition at line 68 of file SLHCEvent.h.
Referenced by lastStub(), nstubs(), and stub().