#include <MyPileUpExtractedEvent.h>
Public Member Functions | |
MyPileUpExtractedEvent (const MyEvent &event) | |
int | run_number (void) const |
get the run number | |
int | event_number (void) const |
get the event number | |
double | event_weight (void) const |
get the event weight | |
const MyVertex * | vertex (void) const |
const MyVertex * | truth_vertex (void) const |
std::vector< MyParticle * > | reco_electrons (void) const |
std::vector< MyParticle * > | reco_muons (int alg_flag) const |
std::vector< MyParticle * > | reco_muons (std::string alg_string="default") const |
std::vector< MyParticle * > | reco_jets (void) const |
std::vector< MyParticle * > * | track_jets (void) const |
std::vector< MyParticle * > * | truth_track_jets (void) const |
std::vector< MyParticle * > | reco_taujets (void) const |
std::vector< MyParticle * > | truth_particles (void) const |
std::vector< MyParticle * > | truth_jets (void) const |
MyMissingEtManager | met_manager (void) const |
get the MyMissingEtManager object | |
MyTrigger | trigger (void) const |
get the MyTrigger object | |
Private Attributes | |
int | m_run_nb |
int | m_event_nb |
MyVertex * | m_vertex |
MyVertex * | m_truth_vertex |
std::vector< MyParticle * > | m_rec_electron |
std::vector< MyParticle * > | m_rec_muon |
std::vector< MyParticle * > | m_rec_jet |
std::vector< MyParticle * > * | m_track_jet |
std::vector< MyParticle * > * | m_truth_track_jet |
std::vector< MyParticle * > | m_rec_taujet |
MyMissingEtManager | m_met_manager |
MyTrigger | m_trigger |
MyDatasetInfo * | m_dataset_info |
double | m_event_weight |
std::vector< MyParticle * > | m_truth_particle |
std::vector< MyParticle * > | m_truth_jet |
This class selects the vertex with the largest sum of the transverse energies of the emerging tracks. It then selects all particles which hold a primary vertex information and belong to this vertex.
Definition at line 29 of file MyPileUpExtractedEvent.h.
MyPileUpExtractedEvent::MyPileUpExtractedEvent | ( | const MyEvent & | event | ) |
Constructor.
event | MyEvent object from which the pile-up is extracted. |
Definition at line 27 of file MyPileUpExtractedEvent.cxx.
const MyVertex * MyPileUpExtractedEvent::vertex | ( | void | ) | const [inline] |
get a pointer to the vertex with the greatest sum of the transverse energies of the emerging tracks
Definition at line 52 of file MyPileUpExtractedEvent.ixx.
const MyVertex * MyPileUpExtractedEvent::truth_vertex | ( | void | ) | const [inline] |
get a pointer to the truth vertex with the greatest sum of the transverse energies of the emerging tracks
Definition at line 65 of file MyPileUpExtractedEvent.ixx.
std::vector< MyParticle * > MyPileUpExtractedEvent::reco_electrons | ( | void | ) | const [inline] |
get the vector of the electrons emerging from the given vertex
Definition at line 77 of file MyPileUpExtractedEvent.ixx.
std::vector< MyParticle * > MyPileUpExtractedEvent::reco_muons | ( | int | alg_flag | ) | const [inline] |
get the muons reconstructed in the current event with alg_flag ( 1 -> atlfast, 2 -> muid, 3 -> staco, 0 -> non of the upper, -1 -> all)
Definition at line 98 of file MyPileUpExtractedEvent.ixx.
std::vector< MyParticle * > MyPileUpExtractedEvent::reco_muons | ( | std::string | alg_string = "default" |
) | const [inline] |
get the muons reconstructed in the current event with algorithm 'alg_string': atlfast, muid (default), staco, all
Definition at line 118 of file MyPileUpExtractedEvent.ixx.
std::vector< MyParticle * > MyPileUpExtractedEvent::reco_jets | ( | void | ) | const [inline] |
get the vector of reconstructed jets (no vertex information used)
Definition at line 158 of file MyPileUpExtractedEvent.ixx.
std::vector< MyParticle * > * MyPileUpExtractedEvent::track_jets | ( | void | ) | const [inline] |
get the vector of track jets emerging from the given vertex
Definition at line 171 of file MyPileUpExtractedEvent.ixx.
std::vector< MyParticle * > * MyPileUpExtractedEvent::truth_track_jets | ( | void | ) | const [inline] |
get the vector of track jets emerging from the given vertex
Definition at line 183 of file MyPileUpExtractedEvent.ixx.
std::vector< MyParticle * > MyPileUpExtractedEvent::reco_taujets | ( | void | ) | const [inline] |
get the vector of tau jets (no vertex association)
Definition at line 196 of file MyPileUpExtractedEvent.ixx.
std::vector< MyParticle * > MyPileUpExtractedEvent::truth_particles | ( | void | ) | const [inline] |
get the vector of truth particles > (no vertex association)
Definition at line 209 of file MyPileUpExtractedEvent.ixx.
std::vector< MyParticle * > MyPileUpExtractedEvent::truth_jets | ( | void | ) | const [inline] |
get the vector of truth jets (no vertex association)
Definition at line 222 of file MyPileUpExtractedEvent.ixx.