| 
    Jpp
    pmt_effective_area_update
    
   the software that should make you happy 
   | 
 
Data time slice. More...
#include <JDAQTimeslice.hh>
  
 Public Member Functions | |
| JDAQTimeslice () | |
| Default constructor.  More... | |
| JDAQTimeslice (const JDAQChronometer &chronometer) | |
| Constructor.  More... | |
| JDAQTimeslice (const JDAQEvent &event, const bool snapshot=true) | |
| Constructor.  More... | |
| JDAQTimeslice (const JDAQEvent &event, const JDAQSummaryslice &summary, const bool snapshot=true) | |
| Constructor.  More... | |
| virtual | ~JDAQTimeslice () | 
| Virtual destructor.  More... | |
| void | clear () | 
| Clear data.  More... | |
| JDAQTimeslice & | operator= (const JDAQTimeslice ×lice) | 
| Assignment operator.  More... | |
| JDAQTimeslice & | add (const JDAQTimeslice ×lice) | 
| Add another timeslice.  More... | |
| std::ostream & | print (std::ostream &out, const bool lpr=false) const | 
| Print DAQ Timeslice.  More... | |
| ClassDef (JDAQTimeslice, 4) | |
| ClassDef (JDAQPreamble, 1) | |
| int | getLength () const | 
| Get length.  More... | |
| int | getDataType () const | 
| Get data type.  More... | |
| ClassDefNV (JDAQAbstractPreamble, 1) | |
| const JDAQTimesliceHeader & | getDAQTimesliceHeader () const | 
| Get DAQ time slice header.  More... | |
| ClassDef (JDAQTimesliceHeader, 2) | |
| ClassDef (JDAQHeader, 2) | |
| ClassDef (JDAQChronometer, 3) | |
| const JDAQHeader & | getDAQHeader () const | 
| Get DAQ header.  More... | |
| void | setDAQHeader (const JDAQHeader &header) | 
| Set DAQ header.  More... | |
| const JDAQChronometer & | getDAQChronometer () const | 
| Get DAQ chronometer.  More... | |
| void | setDAQChronometer (const JDAQChronometer &chronometer) | 
| Set DAQ chronometer.  More... | |
| int | getDetectorID () const | 
| Get detector identifier.  More... | |
| int | getRunNumber () const | 
| Get run number.  More... | |
| int | getFrameIndex () const | 
| Get frame index.  More... | |
| JDAQUTCExtended | getTimesliceStart () const | 
| Get start of timeslice.  More... | |
| void | setRunNumber (const int run) | 
| Set run number.  More... | |
| void | setFrameIndex (const int frame_index) | 
| Set frame index.  More... | |
| void | setTimesliceStart (const JDAQUTCExtended ×lice_start) | 
| Set timeslice start time.  More... | |
Static Public Member Functions | |
| template<class T > | |
| static JDAQPreamble | getDAQPreamble (const T &object) | 
| Get DAQ preamble.  More... | |
Protected Attributes | |
| int | length | 
| int | type | 
| int | detector_id | 
| int | run | 
| int | frame_index | 
| JDAQUTCExtended | timeslice_start | 
Friends | |
| size_t | getSizeof (const JDAQTimeslice &) | 
| Get size of object.  More... | |
| JReader & | operator>> (JReader &, JDAQTimeslice &) | 
| Read DAQ time slice from input.  More... | |
| JWriter & | operator<< (JWriter &, const JDAQTimeslice &) | 
| Write DAQ time slice to output.  More... | |
Data time slice.
Definition at line 30 of file JDAQTimeslice.hh.
      
  | 
  inline | 
Default constructor.
Definition at line 44 of file JDAQTimeslice.hh.
      
  | 
  inline | 
Constructor.
| chronometer | DAQ chronometer | 
Definition at line 56 of file JDAQTimeslice.hh.
| KM3NETDAQ::JDAQTimeslice::JDAQTimeslice | ( | const JDAQEvent & | event, | 
| const bool | snapshot = true  | 
        ||
| ) | 
Constructor.
| event | DAQ event | 
| snapshot | use shapshot hits (else use triggered hits) | 
Definition at line 22 of file externals/km3net-dataformat/src/JDAQTimeslice.cc.
| KM3NETDAQ::JDAQTimeslice::JDAQTimeslice | ( | const JDAQEvent & | event, | 
| const JDAQSummaryslice & | summary, | ||
| const bool | snapshot = true  | 
        ||
| ) | 
Constructor.
| event | DAQ event | 
| summary | summary | 
| snapshot | use shapshot hits (else use triggered hits) | 
Definition at line 64 of file externals/km3net-dataformat/src/JDAQTimeslice.cc.
      
  | 
  inlinevirtual | 
      
  | 
  inline | 
Clear data.
Definition at line 97 of file JDAQTimeslice.hh.
      
  | 
  inline | 
Assignment operator.
| timeslice | timeslice | 
Definition at line 113 of file JDAQTimeslice.hh.
      
  | 
  inline | 
Add another timeslice.
| timeslice | timeslice | 
Definition at line 133 of file JDAQTimeslice.hh.
      
  | 
  inline | 
Print DAQ Timeslice.
| out | output stream | 
| lpr | long print | 
Definition at line 172 of file JDAQTimeslice.hh.
| KM3NETDAQ::JDAQTimeslice::ClassDef | ( | JDAQTimeslice | , | 
| 4 | |||
| ) | 
      
  | 
  inlinestaticinherited | 
Get DAQ preamble.
This method should be used for binary I/O to get the actual data for the given object.
To this end, the following method should be overloaded for the corresponding data type. 
size_t getSizeof(const T&);
| object | object | 
Definition at line 76 of file JDAQPreamble.hh.
      
  | 
  inherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inherited | 
      
  | 
  inlineinherited | 
Get DAQ time slice header.
Definition at line 43 of file JDAQTimesliceHeader.hh.
      
  | 
  inherited | 
      
  | 
  inherited | 
      
  | 
  inherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Set DAQ chronometer.
| chronometer | DAQ chronometer | 
Definition at line 99 of file JDAQChronometer.hh.
      
  | 
  inlineinherited | 
Get detector identifier.
Definition at line 110 of file JDAQChronometer.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Get start of timeslice.
Definition at line 144 of file JDAQChronometer.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Set frame index.
| frame_index | frame index | 
Definition at line 166 of file JDAQChronometer.hh.
      
  | 
  inlineinherited | 
Set timeslice start time.
| timeslice_start | timeslice start time | 
Definition at line 177 of file JDAQChronometer.hh.
      
  | 
  friend | 
Get size of object.
| object | DAQ event | 
Definition at line 25 of file JDAQTimesliceIO.hh.
      
  | 
  friend | 
Read DAQ time slice from input.
| in | reader | 
| object | DAQ time slice | 
Definition at line 50 of file JDAQTimesliceIO.hh.
      
  | 
  friend | 
Write DAQ time slice to output.
| out | writer | 
| object | DAQ time slice | 
Definition at line 72 of file JDAQTimesliceIO.hh.
      
  | 
  protectedinherited | 
Definition at line 69 of file JDAQAbstractPreamble.hh.
      
  | 
  protectedinherited | 
Definition at line 70 of file JDAQAbstractPreamble.hh.
      
  | 
  protectedinherited | 
Definition at line 187 of file JDAQChronometer.hh.
      
  | 
  protectedinherited | 
Definition at line 188 of file JDAQChronometer.hh.
      
  | 
  protectedinherited | 
Definition at line 189 of file JDAQChronometer.hh.
      
  | 
  protectedinherited | 
Definition at line 190 of file JDAQChronometer.hh.
 1.8.5