1 #ifndef __JDAQTIMESLICE__ 
    2 #define __JDAQTIMESLICE__ 
   70                   const bool       snapshot = 
true);
 
   82                   const bool              snapshot = 
true);
 
   99       for (
iterator i = this->begin(); 
i != this->end(); ++
i) {
 
  119       for (const_iterator 
i = timeslice.begin(); 
i != timeslice.end(); ++
i) {
 
  139       for (const_iterator 
i = this->begin(); 
i != this->end(); ++
i) {
 
  140         buffer[
i->getModuleIdentifier()] = 
distance(static_cast<const JDAQTimeslice&>(*this).begin(),
i);
 
  143       for (JDAQTimeslice::const_iterator 
i = timeslice.begin(); 
i != timeslice.end(); ++
i) {
 
  147         if (p != buffer.end()) {
 
  172     std::ostream& 
print(std::ostream& out, 
const bool lpr = 
false)
 const 
  176       out << this->ClassName() << endl;
 
  177       out << dynamic_cast<const JDAQPreamble&>   (*this) << endl;
 
  178       out << dynamic_cast<const JDAQChronometer&>(*this) << endl;
 
  180       for (JDAQTimeslice::const_iterator frame = this->begin(); frame != this->end(); ++frame) {
 
  182         out << 
' ' << setw(10) << frame->getModuleID();
 
  183         out << 
' ' << setw(6)  << frame->getLength();
 
  184         out << 
' ' << setw(6)  << frame->getDataType();
 
  185         out << 
' ' << setw(6)  << frame->getTimesliceStart();
 
  186         out << 
' ' << setw(8)  << setfill(
'0') << hex << frame->getStatus()     << dec << setfill(
' ');
 
  187         out << 
'|' << setw(8)  << setfill(
'0') << hex << frame->getFIFOStatus() << dec << setfill(
' ');
 
  188         out << 
' ' << setw(2)  << frame->getUDPNumberOfReceivedPackets();
 
  189         out << 
'/' << setw(2)  << frame->getUDPMaximalSequenceNumber();
 
  190         out << 
' ' << setw(6)  << frame->size();
 
  194           if (!frame->empty()) {
 
  196             out << 
' ' << setw(10) << frame-> begin()->getT();
 
  198             out << 
' ' << setw(10) << frame->rbegin()->getT();
 
  210             out << setw(2) << (int) hit->getPMT() << 
' '  
  211                 << setw(8) << (int) hit->getT()   << 
' '  
  212                 << setw(3) << (int) hit->getToT() << (n%10 == 0 ? 
'\n' : 
' ');
 
  252     return !(first == second);
 
bool operator==(const JDAQChronometer &first, const JDAQChronometer &second)
Equal operator for DAQ chronometers. 
 
Interface for binary output. 
 
JDAQTimeslice(const JDAQChronometer &chronometer)
Constructor. 
 
Auxiliary class for a DAQ type holder. 
 
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance. 
 
friend JWriter & operator<<(JWriter &, const JDAQTimeslice &)
Write DAQ time slice to output. 
 
JDAQTimeslice()
Default constructor. 
 
friend size_t getSizeof()
Definition of method to get size of data type. 
 
JDAQTimeslice & operator=(const JDAQTimeslice ×lice)
Assignment operator. 
 
Timeslice data structure for L1 data. 
 
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
 
virtual ~JDAQTimeslice()
Virtual destructor. 
 
JDAQTimeslice & add(const JDAQTimeslice ×lice)
Add another timeslice. 
 
const_iterator begin() const 
 
Timeslice data structure for L2 data. 
 
const JDAQChronometer & getDAQChronometer() const 
Get DAQ chronometer. 
 
std::ostream & print(std::ostream &out, const bool lpr=false) const 
Print DAQ Timeslice. 
 
void setDAQChronometer(const JDAQChronometer &chronometer)
Set DAQ chronometer. 
 
Timeslice data structure for SN data. 
 
Interface for binary input. 
 
friend JReader & operator>>(JReader &, JDAQTimeslice &)
Read DAQ time slice from input. 
 
bool operator!=(const JDAQChronometer &first, const JDAQChronometer &second)
Not-equal operator for DAQ chronometers. 
 
bool & getDAQLongprint()
Get DAQ print option. 
 
ClassDef(JDAQTimeslice, 4)
 
Data frame of one optical module. 
 
JDAQSuperFrame & add(const JDAQSuperFrame &super_frame)
Add data from same optical module. 
 
Timeslice data structure for L0 data. 
 
const_iterator end() const