#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 build/antares-dataformat/PhysicsEvent.hh.
  363{
  367          first.
tvc       == second.
tvc       &&
 
  369}
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]
◆ 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 build/antares-dataformat/PhysicsEvent.hh.
  396{
  397  return (first.
MinT() < second.
MaxT() &&
 
  399}
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 build/antares-dataformat/PhysicsEvent.hh.
  409{
  410  return (first.
MinT() > second.
MaxT() ||
 
  412}
 
 
 
◆ 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 build/antares-dataformat/PhysicsEvent.hh.
  422{
  423  return first.
MinT() < second.
MinT();
 
  424}
 
 
 
◆ distance()
Specialisation of STL distance. 
- Parameters
 - 
  
    | first | first position  | 
    | second | last position  | 
  
   
- Returns
 - distance 
 
Definition at line 434 of file build/antares-dataformat/PhysicsEvent.hh.
  436{
  437  return std::distance(first, (typename std::vector<T>::const_iterator&) second);
  438}