Jpp  pmt_effective_area_update_2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions
TimeSlice.hh File Reference
#include <ostream>
#include <iomanip>
#include <vector>
#include <algorithm>
#include <TROOT.h>
#include <TObject.h>
#include "antares-dataformat/DataTypes.hh"
#include "antares-dataformat/Ars.hh"
#include "antares-dataformat/FramePreamble.hh"
#include "antares-dataformat/EventPreamble.hh"

Go to the source code of this file.

Classes

class  Summary_Frame
 Summary of Frame. More...
 
class  ExtendedSummary_Frame
 
class  Frame< T >
 Template Frame for ARS data. More...
 
class  Status_Frame
 Status frame. More...
 
class  RTS_Frame
 RTS frame. More...
 
class  CRM_Frame
 CRM frame. More...
 
class  SPE_Frame
 SPE frame. More...
 
class  AWF_Frame
 AWF frame. More...
 
class  DWF_Frame
 DWF frame. More...
 
class  TimeSlice< T >
 Template TimeSlice. More...
 
class  Status_TimeSlice
 Status time slices. More...
 
class  RTS_TimeSlice
 RTS time slices. More...
 
class  CRM_TimeSlice
 CRM time slices. More...
 
class  SPE_TimeSlice
 SPE time slices. More...
 
class  AWF_TimeSlice
 AWF time slices. More...
 
class  DWF_TimeSlice
 DWF time slices. More...
 
class  Summary_TimeSlice
 Summary time slices. More...
 
class  ExtendedSummary_TimeSlice
 ExtendedSummary time slices. More...
 

Functions

 ClassDefT2 (Frame, T)
 
 ClassImpT (Frame, T)
 
 ClassDefT2 (std::vector, T)
 
 ClassImpT (std::vector, T)
 
 ClassDefT2 (TimeSlice, T)
 
 ClassImpT (TimeSlice, T)
 
const bool operator== (const Summary_Frame &first, const DaqFramePreamble &second)
 equal operator for summary frame and DAQ frame preamble More...
 
const bool operator== (const DaqFramePreamble &first, const Summary_Frame &second)
 equal operator for DAQ frame preamble and summary frame More...
 
const bool operator!= (const Summary_Frame &first, const DaqFramePreamble &second)
 not-equal operator for summary frame and DAQ frame preamble More...
 
const bool operator!= (const DaqFramePreamble &first, const Summary_Frame &second)
 not-equal operator for DAQ frame preamble and summary frame More...
 

Function Documentation

ClassDefT2 ( Frame  ,
T   
)
ClassImpT ( Frame  ,
T   
)
ClassDefT2 ( std::vector  ,
T   
)
ClassImpT ( std::vector  ,
T   
)
ClassDefT2 ( TimeSlice  ,
T   
)
ClassImpT ( TimeSlice  ,
T   
)
const bool operator== ( const Summary_Frame first,
const DaqFramePreamble second 
)
inline

equal operator for summary frame and DAQ frame preamble

Parameters
firstsummary frame
secondDAQ frame preamble
Returns
true if first equals second; else false

Definition at line 681 of file TimeSlice.hh.

682 {
683  return (first.data_type() == second.dataType &&
684  first.lcm_id() == second.LCM_ID &&
685  first.ars_id() == second.ARS_ID);
686 }
const unsigned char ars_id() const
get ARS idendifier
Definition: TimeSlice.hh:48
unsigned short ARS_ID
ID of originating ARS.
const unsigned char data_type() const
get data type
Definition: TimeSlice.hh:54
unsigned short LCM_ID
ID of originating LCM.
const unsigned short lcm_id() const
get LCM idendifier
Definition: TimeSlice.hh:42
unsigned short dataType
Data type code (DAQ_xxx)
const bool operator== ( const DaqFramePreamble first,
const Summary_Frame second 
)
inline

equal operator for DAQ frame preamble and summary frame

Parameters
firstDAQ frame preamble
secondsummary frame
Returns
true if first equals second; else false

Definition at line 695 of file TimeSlice.hh.

696 {
697  return (first.dataType == second.data_type() &&
698  first.LCM_ID == second.lcm_id() &&
699  first.ARS_ID == second.ars_id());
700 }
const unsigned char ars_id() const
get ARS idendifier
Definition: TimeSlice.hh:48
unsigned short ARS_ID
ID of originating ARS.
const unsigned char data_type() const
get data type
Definition: TimeSlice.hh:54
unsigned short LCM_ID
ID of originating LCM.
const unsigned short lcm_id() const
get LCM idendifier
Definition: TimeSlice.hh:42
unsigned short dataType
Data type code (DAQ_xxx)
const bool operator!= ( const Summary_Frame first,
const DaqFramePreamble second 
)
inline

not-equal operator for summary frame and DAQ frame preamble

Parameters
firstsummary frame
secondDAQ frame preamble
Returns
true if first not equals second; else false

Definition at line 709 of file TimeSlice.hh.

710 {
711  return (first.data_type() != second.dataType ||
712  first.lcm_id() != second.LCM_ID ||
713  first.ars_id() != second.ARS_ID);
714 }
const unsigned char ars_id() const
get ARS idendifier
Definition: TimeSlice.hh:48
unsigned short ARS_ID
ID of originating ARS.
const unsigned char data_type() const
get data type
Definition: TimeSlice.hh:54
unsigned short LCM_ID
ID of originating LCM.
const unsigned short lcm_id() const
get LCM idendifier
Definition: TimeSlice.hh:42
unsigned short dataType
Data type code (DAQ_xxx)
const bool operator!= ( const DaqFramePreamble first,
const Summary_Frame second 
)
inline

not-equal operator for DAQ frame preamble and summary frame

Parameters
firstDAQ frame preamble
secondsummary frame
Returns
true if first not equals second; else false

Definition at line 723 of file TimeSlice.hh.

724 {
725  return (first.dataType != second.data_type() ||
726  first.LCM_ID != second.lcm_id() ||
727  first.ARS_ID != second.ars_id());
728 }
const unsigned char ars_id() const
get ARS idendifier
Definition: TimeSlice.hh:48
unsigned short ARS_ID
ID of originating ARS.
const unsigned char data_type() const
get data type
Definition: TimeSlice.hh:54
unsigned short LCM_ID
ID of originating LCM.
const unsigned short lcm_id() const
get LCM idendifier
Definition: TimeSlice.hh:42
unsigned short dataType
Data type code (DAQ_xxx)