![]() |
ATLAS Offline Software
|
#include <TIDAEvent.h>
Public Member Functions | |
| Event () | |
| virtual | ~Event () |
| void | run_number (unsigned r) |
| accessors | |
| void | event_number (unsigned long long e) |
| void | lumi_block (unsigned lb) |
| void | time_stamp (unsigned t) |
| void | bunch_crossing_id (unsigned b) |
| void | mu (double m) |
| unsigned | run_number () const |
| unsigned long long | event_number () const |
| unsigned | lumi_block () const |
| unsigned | time_stamp () const |
| unsigned | bunch_crossing_id () const |
| double | mu () const |
| FIXME: what is this ? | |
| unsigned | size () const |
| vertex multiplicity ? | |
| void | addChain (const std::string &chainname) |
| methods to add and access chains | |
| void | addVertex (const TIDA::Vertex &v) |
| const std::vector< TIDA::Chain > & | chains () const |
| std::vector< TIDA::Chain > & | chains () |
| const TIDA::Chain * | chain (const std::string &s) const |
| void | clear () |
| clear the event | |
| TIDA::Chain & | back () |
| get the last chain from the vector | |
| std::vector< TIDA::Chain >::iterator | begin () |
| std::vector< TIDA::Chain >::iterator | end () |
| std::vector< TIDA::Chain >::const_iterator | begin () const |
| std::vector< TIDA::Chain >::const_iterator | end () const |
| TIDA::Chain & | operator[] (int i) |
| vector operator | |
| const std::vector< TIDA::Vertex > & | vertices () const |
| std::vector< std::string > | chainnames () const |
| void | erase (const std::string &name) |
Private Attributes | |
| unsigned | m_run_number |
| unsigned long long | m_event_number |
| unsigned | m_lumi_block |
| unsigned | m_time_stamp |
| unsigned | m_bunch_crossing_id |
| double | m_mu |
| std::vector< TIDA::Chain > | m_chains |
| vertex multiplicity ? | |
| std::vector< TIDA::Vertex > | m_vertices |
Definition at line 32 of file TIDAEvent.h.
| TIDA::Event::Event | ( | ) |
|
virtual |
Definition at line 26 of file TIDAEvent.cxx.
|
inline |
methods to add and access chains
Definition at line 66 of file TIDAEvent.h.
|
inline |
Definition at line 70 of file TIDAEvent.h.
|
inline |
|
inline |
Definition at line 87 of file TIDAEvent.h.
|
inline |
Definition at line 90 of file TIDAEvent.h.
|
inline |
Definition at line 52 of file TIDAEvent.h.
|
inline |
Definition at line 45 of file TIDAEvent.h.
| const TIDA::Chain * Event::chain | ( | const std::string & | s | ) | const |
could use std::find(), but would need to define an equality operator or lambda
Definition at line 57 of file TIDAEvent.cxx.
| std::vector< std::string > Event::chainnames | ( | ) | const |
|
inline |
Definition at line 76 of file TIDAEvent.h.
|
inline |
Definition at line 75 of file TIDAEvent.h.
|
inline |
|
inline |
Definition at line 88 of file TIDAEvent.h.
|
inline |
Definition at line 91 of file TIDAEvent.h.
| void Event::erase | ( | const std::string & | name | ) |
WHY DOES erase() NOT WORK ON THESE std::vector<TIDA::Chain> Almost certainly because we are using actual TObjects so instead we need to copy all the chains, and then copy them back if we don't want to delete it.!
Definition at line 36 of file TIDAEvent.cxx.
|
inline |
Definition at line 49 of file TIDAEvent.h.
|
inline |
Definition at line 42 of file TIDAEvent.h.
|
inline |
Definition at line 50 of file TIDAEvent.h.
|
inline |
Definition at line 43 of file TIDAEvent.h.
|
inline |
FIXME: what is this ?
need a comment describing any not descriptive variable name
Definition at line 56 of file TIDAEvent.h.
|
inline |
Definition at line 46 of file TIDAEvent.h.
|
inline |
|
inline |
Definition at line 48 of file TIDAEvent.h.
|
inline |
|
inline |
vertex multiplicity ?
NB all these could be avoided simply be inheriting from and std::vector<TIDA::Chain> rather than a member variable number of chains added to this event
Definition at line 63 of file TIDAEvent.h.
|
inline |
Definition at line 51 of file TIDAEvent.h.
|
inline |
Definition at line 44 of file TIDAEvent.h.
|
inline |
Definition at line 96 of file TIDAEvent.h.
|
private |
Definition at line 110 of file TIDAEvent.h.
|
private |
|
private |
Definition at line 106 of file TIDAEvent.h.
|
private |
Definition at line 107 of file TIDAEvent.h.
|
private |
Definition at line 111 of file TIDAEvent.h.
|
private |
Definition at line 105 of file TIDAEvent.h.
|
private |
Definition at line 108 of file TIDAEvent.h.
|
private |
Definition at line 116 of file TIDAEvent.h.