#include <TIDAEvent.h>
Definition at line 33 of file TIDAEvent.h.
◆ Event()
◆ ~Event()
◆ addChain()
| void TIDA::Event::addChain |
( |
const std::string & | chainname | ) |
|
|
inline |
methods to add and access chains
Definition at line 67 of file TIDAEvent.h.
67 {
68 m_chains.push_back(TIDA::Chain(chainname));
69 }
std::vector< TIDA::Chain > m_chains
vertex multiplicity ?
◆ addVertex()
Definition at line 71 of file TIDAEvent.h.
71 {
73 }
std::vector< TIDA::Vertex > m_vertices
◆ back()
get the last chain from the vector
Definition at line 89 of file TIDAEvent.h.
◆ begin() [1/2]
◆ begin() [2/2]
◆ bunch_crossing_id() [1/2]
| unsigned TIDA::Event::bunch_crossing_id |
( |
| ) |
const |
|
inline |
Definition at line 53 of file TIDAEvent.h.
unsigned m_bunch_crossing_id
◆ bunch_crossing_id() [2/2]
| void TIDA::Event::bunch_crossing_id |
( |
unsigned | b | ) |
|
|
inline |
◆ chain()
| 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.
◆ chainnames()
| std::vector< std::string > Event::chainnames |
( |
| ) |
const |
Definition at line 28 of file TIDAEvent.cxx.
28 {
29 std::vector<std::string>
names;
30 for ( std::vector<TIDA::Chain>::const_iterator citr=
begin() ; citr!=
end() ; ++citr )
names.push_back( citr->name() );
32}
std::vector< TIDA::Chain >::iterator end()
std::vector< TIDA::Chain >::iterator begin()
◆ chains() [1/2]
◆ chains() [2/2]
| const std::vector< TIDA::Chain > & TIDA::Event::chains |
( |
| ) |
const |
|
inline |
◆ clear()
| void TIDA::Event::clear |
( |
| ) |
|
|
inline |
◆ end() [1/2]
◆ end() [2/2]
◆ erase()
| 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.
36 {
37
41
44
45 std::vector<TIDA::Chain>::const_iterator _itr =
_chains.begin();
46
48 if ( _itr->name()!=name )
m_chains.push_back( *_itr );
49 ++_itr;
50 }
51
52}
◆ event_number() [1/2]
| unsigned long long TIDA::Event::event_number |
( |
| ) |
const |
|
inline |
Definition at line 50 of file TIDAEvent.h.
unsigned long long m_event_number
◆ event_number() [2/2]
| void TIDA::Event::event_number |
( |
unsigned long long | e | ) |
|
|
inline |
◆ lumi_block() [1/2]
| unsigned TIDA::Event::lumi_block |
( |
| ) |
const |
|
inline |
◆ lumi_block() [2/2]
| void TIDA::Event::lumi_block |
( |
unsigned | lb | ) |
|
|
inline |
◆ mu() [1/2]
| double TIDA::Event::mu |
( |
| ) |
const |
|
inline |
FIXME: what is this ?
need a comment describing any not descriptive variable name
Definition at line 57 of file TIDAEvent.h.
◆ mu() [2/2]
| void TIDA::Event::mu |
( |
double | m | ) |
|
|
inline |
◆ operator[]()
◆ run_number() [1/2]
| unsigned TIDA::Event::run_number |
( |
| ) |
const |
|
inline |
◆ run_number() [2/2]
| void TIDA::Event::run_number |
( |
unsigned | r | ) |
|
|
inline |
◆ size()
| unsigned TIDA::Event::size |
( |
| ) |
const |
|
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 64 of file TIDAEvent.h.
◆ time_stamp() [1/2]
| unsigned TIDA::Event::time_stamp |
( |
| ) |
const |
|
inline |
◆ time_stamp() [2/2]
| void TIDA::Event::time_stamp |
( |
unsigned | t | ) |
|
|
inline |
◆ vertices()
| const std::vector< TIDA::Vertex > & TIDA::Event::vertices |
( |
| ) |
const |
|
inline |
◆ m_bunch_crossing_id
| unsigned TIDA::Event::m_bunch_crossing_id |
|
private |
◆ m_chains
vertex multiplicity ?
trigger chain information
Definition at line 119 of file TIDAEvent.h.
◆ m_event_number
| unsigned long long TIDA::Event::m_event_number |
|
private |
◆ m_lumi_block
| unsigned TIDA::Event::m_lumi_block |
|
private |
◆ m_mu
◆ m_run_number
| unsigned TIDA::Event::m_run_number |
|
private |
◆ m_time_stamp
| unsigned TIDA::Event::m_time_stamp |
|
private |
◆ m_vertices
The documentation for this class was generated from the following files: