Event class. Holds event info and physics objects.
More...
#include <Event.hh>
List of all members.
Detailed Description
Event class. Holds event info and physics objects.
Event class
Not only does an Event have its own properties like event, run and lumi block number, it also provides access to all objects that may be present in an event. Such objects include tracks, vertices, trigger info, jets...
Definition at line 40 of file Event.hh.
Constructor & Destructor Documentation
Constructor. Must be passed a pointer to a DataConverter, which provides the other event objects
- Parameters:
-
Definition at line 12 of file Event.cxx.
Member Function Documentation
void ForIA::Event::clear |
( |
) |
|
Re-set this event. Clears all data.
Definition at line 247 of file Event.cxx.
- Returns:
- A ClusterVector of clusters in this event
Definition at line 60 of file Event.cxx.
unsigned long ForIA::Event::eventNumber |
( |
) |
const |
The event number.
Definition at line 27 of file Event.cxx.
bool ForIA::Event::goodLumiBlock |
( |
) |
const |
- Returns:
- true if the lumi block from which this event was taken satisfies the good runs list
Definition at line 47 of file Event.cxx.
bool ForIA::Event::goodRun |
( |
) |
const |
- Returns:
- true if the run from which this event was taken satisfies the good runs list
Definition at line 42 of file Event.cxx.
const JetVector & ForIA::Event::jets |
( |
const JetKey & |
jetKey ) |
const |
- Parameters:
-
jetKey | key describing the jet to return (alg, rparam, calibration) |
- Returns:
- A JetVector of jets in this event
Definition at line 76 of file Event.cxx.
const JetVector & ForIA::Event::jets |
( |
) |
const |
Deprecated defaults to getting the anti-kt 06 topo jets.
Definition at line 171 of file Event.cxx.
L1TriggerBitPtr ForIA::Event::l1Trigger |
( |
) |
const |
L2SpacePointsConstPtr ForIA::Event::l2SpacePoints |
( |
) |
const |
- Returns:
- Object holding info about the L2 SCT space point hits
Definition at line 240 of file Event.cxx.
unsigned int ForIA::Event::lumiBlock |
( |
) |
const |
The lumi block from which the event is taken.
Definition at line 32 of file Event.cxx.
void ForIA::Event::matchTracksToJets |
( |
const JetKey & |
key ) |
const |
Match tracks to jets corresponding to a given key.
Definition at line 102 of file Event.cxx.
void ForIA::Event::matchVerticesToTracks |
( |
) |
const |
Match vertices to tracks that are associated to them.
Definition at line 141 of file Event.cxx.
unsigned long ForIA::Event::runNumber |
( |
) |
const |
The event run number.
Definition at line 22 of file Event.cxx.
const TrackVector & ForIA::Event::tracks |
( |
) |
const |
- Returns:
- A TrackVector of tracks in this event
Definition at line 52 of file Event.cxx.
- Returns:
- The trigger configuration meta data object for this event
Definition at line 192 of file Event.cxx.
TriggerDecisionPtr ForIA::Event::triggerDecision |
( |
) |
const |
- Returns:
- A TruthJetVector of truth jets in this event (MC only!)
Definition at line 216 of file Event.cxx.
const TruthParticleVector & ForIA::Event::truthParticles |
( |
) |
const |
- Returns:
- A TruthParticleVector of truth particles in this event (MC only!)
Definition at line 208 of file Event.cxx.
const VertexVector & ForIA::Event::truthVertices |
( |
) |
const |
- Returns:
- A VertexVector of truth vertices in this event (MC only!)
Definition at line 224 of file Event.cxx.
const VertexVector & ForIA::Event::vertices |
( |
) |
const |
- Returns:
- A VertexVector of vertices in this event
Definition at line 185 of file Event.cxx.
double ForIA::Event::weight |
( |
) |
const |
The event weight (always 1 for data, may differ for MC)
Definition at line 37 of file Event.cxx.
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const Event & |
evt |
|
) |
| [friend] |
Stream the event number, run number and lumi block in a vaguely sensible format
- Parameters:
-
out | The output stream to which the event is streamed |
evt | The Event to stream |
Definition at line 271 of file Event.cxx.
The documentation for this class was generated from the following files: