#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 stubindex) |
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, DiDispStaMuonMonitor_cfi::pt, run3scouting_cff::vx, run3scouting_cff::vy, and run3scouting_cff::vz.
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, | ||
int | stubindex | ||
) |
Definition at line 13 of file SLHCEvent.cc.
References hcalRecHitTable_cff::detId, nano_mu_digi_cff::region, trklet::L1TStub::setUniqueIndex(), nano_mu_digi_cff::strip, and x.
|
inline |
|
inline |
unsigned int SLHCEvent::layersHit | ( | int | tpid, |
int & | nlayers, | ||
int & | ndisks | ||
) |
Definition at line 170 of file SLHCEvent.cc.
References funct::abs(), d1, and nlayers.
|
inline |
Definition at line 67 of file SLHCEvent.h.
References simtracks_.
Referenced by trklet::Stub::Stub().
|
inline |
|
inline |
|
inline |
Definition at line 54 of file SLHCEvent.h.
|
inline |
Definition at line 69 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 74 of file SLHCEvent.h.
Referenced by eventnum(), setEventNum(), and SLHCEvent().
|
private |
Definition at line 77 of file SLHCEvent.h.
Referenced by setIP().
|
private |
Definition at line 77 of file SLHCEvent.h.
Referenced by setIP().
|
private |
Definition at line 75 of file SLHCEvent.h.
Referenced by nsimtracks(), and simtrack().
|
private |
Definition at line 76 of file SLHCEvent.h.
Referenced by lastStub(), nstubs(), and stub().