#include <ostream>
#include <iomanip>
#include <vector>
#include <limits>
#include <TROOT.h>
#include <TObject.h>
#include "antares-dataformat/DataTypes.hh"
#include "antares-dataformat/Ars.hh"
#include "antares-dataformat/EventPreamble.hh"
Go to the source code of this file.
◆ ClassDefT2()
◆ ClassImpT()
◆ operator==() [1/2]
equal operator for SPE hit.
- Parameters
-
first | SPE hit |
second | SPE hit |
- Returns
- true if first equals second; else false
Definition at line 362 of file PhysicsEvent.hh.
367 first.
tvc == second.
tvc &&
unsigned short lcm_id
LCM identifier.
unsigned char ars_id
ARS identifier.
unsigned char avc
ARS Analogue to Voltage Convertor.
unsigned char tvc
ARS Time to Voltage Convertor.
unsigned int timestamp
ARS timestamp (24 bits)
◆ operator!=() [1/2]
not-equal operator for SPE hit.
- Parameters
-
first | SPE hit |
second | SPE hit |
- Returns
- true if first not equals second; else false
Definition at line 378 of file PhysicsEvent.hh.
383 first.
tvc != second.
tvc ||
◆ operator==() [2/2]
equal operator for physics event.
- Parameters
-
first | physics event |
second | physics event |
- Returns
- true if first equals second; else false
Definition at line 395 of file PhysicsEvent.hh.
397 return (first.
MinT() < second.
MaxT() &&
const double MinT() const
time of first hit in event
const double MaxT() const
time of last hit in event
◆ operator!=() [2/2]
not-equal operator for physics event.
- Parameters
-
first | physics event |
second | physics event |
- Returns
- true if first not equals second; else false
Definition at line 408 of file PhysicsEvent.hh.
410 return (first.
MinT() > second.
MaxT() ||
◆ operator<()
Comparator for physics event; earliest event first.
- Parameters
-
first | physics event |
second | physics event |
- Returns
- true if first earlier than second; else false
Definition at line 421 of file PhysicsEvent.hh.
423 return first.
MinT() < second.
MinT();
◆ distance()
Specialisation of STL distance.
- Parameters
-
first | first position |
second | last position |
- Returns
- distance
Definition at line 434 of file PhysicsEvent.hh.
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance.