#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, bool tiltedBarrel, unsigned int tiltedRingId, unsigned int endcapRingId, unsigned int detId, double x, double y, double z, double bend, double strip, std::vector< int > tpstt) |
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 20 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.
References PVValHelper::eta, and DiDispStaMuonMonitor_cfi::pt.
bool SLHCEvent::addStub | ( | std::string | DTClink, |
int | region, | ||
int | layerdisk, | ||
std::string | stubword, | ||
int | isPSmodule, | ||
int | isFlipped, | ||
bool | tiltedBarrel, | ||
unsigned int | tiltedRingId, | ||
unsigned int | endcapRingId, | ||
unsigned int | detId, | ||
double | x, | ||
double | y, | ||
double | z, | ||
double | bend, | ||
double | strip, | ||
std::vector< int > | tpstt | ||
) |
Definition at line 13 of file SLHCEvent.cc.
References HLT_2023v12_cff::region, digitizers_cfi::strip, and x.
|
inline |
|
inline |
unsigned int SLHCEvent::layersHit | ( | int | tpid, |
int & | nlayers, | ||
int & | ndisks | ||
) |
Definition at line 168 of file SLHCEvent.cc.
References funct::abs(), d1, and nlayers.
|
inline |
Definition at line 66 of file SLHCEvent.h.
References simtracks_.
Referenced by trklet::Stub::Stub().
|
inline |
|
inline |
|
inline |
Definition at line 53 of file SLHCEvent.h.
|
inline |
Definition at line 68 of file SLHCEvent.h.
References mps_fire::i, and simtracks_.
Referenced by trklet::Stub::Stub().
|
inline |
void SLHCEvent::write | ( | std::ofstream & | out | ) |
|
private |
Definition at line 73 of file SLHCEvent.h.
Referenced by eventnum(), setEventNum(), and SLHCEvent().
|
private |
Definition at line 76 of file SLHCEvent.h.
Referenced by setIP().
|
private |
Definition at line 76 of file SLHCEvent.h.
Referenced by setIP().
|
private |
Definition at line 74 of file SLHCEvent.h.
Referenced by nsimtracks(), and simtrack().
|
private |
Definition at line 75 of file SLHCEvent.h.
Referenced by lastStub(), nstubs(), and stub().