1 #ifndef __JDETECTOR__JSTATUS__ 
    2 #define __JDETECTOR__JSTATUS__ 
   25 namespace JDETECTOR {}
 
   26 namespace JPP { 
using namespace JDETECTOR; }
 
   92       this->status = status.
status;
 
  104       return this->status == status.
status;
 
  113     bool has(
const int bit)
 const 
  115       return (this->
status & (1<<bit)) != 0;
 
  137       this->
status &= ~(1<<bit);
 
  146     inline void print(std::ostream& out) 
const;
 
  158       return in >> status.
status;
 
  171       return out << status.
status;
 
  184       return in >> status.
status;
 
  197       return out << status.
status;
 
  218 #define MAKE_ENTRY(A) std::make_pair(getClassname(#A), A) 
  259       for (JGetPMTStatusBit::const_iterator i = input.begin(); i != input.end(); ++i) {
 
  260         this->insert(make_pair(i->second, i->first));
 
  335     for (
int i = 0; i != 
sizeof(
JStatus) * 8; ++i) {
 
  337         out << setw(24) << left << 
putPMTStatusBit(i) << right << this->has(i) << endl;
 
  339       catch(
const exception&) {}
 
void set(const int bit)
Set PMT status. 
 
static const JGetPMTStatusBit getPMTStatusBit
Function object to map key to PMT status bit. 
 
Interface for binary output. 
 
const JStatus & getStatus() const 
Get status. 
 
JStatus()
Default constructor. 
 
std::vector< std::string > getPMTStatusBits(const JType< std::string > &type)
Get PMT status bits. 
 
void setStatus(const JStatus &status)
Set status. 
 
friend JWriter & operator<<(JWriter &out, const JStatus &status)
Write status to output. 
 
Auxiliary class to map PMT status bit to key. 
 
friend std::ostream & operator<<(std::ostream &out, const JStatus &status)
Write status to output. 
 
static const int HIGH_RATE_VETO_DISABLE
Enable (disable) use of high-rate veto test if this status bit is 0 (1);. 
 
Auxiliary class to map key to PMT status bit. 
 
Auxiliary class for controlling PMT status. 
 
Auxiliary class for a type holder. 
 
friend std::istream & operator>>(std::istream &in, JStatus &status)
Read status from input. 
 
void reset(const int bit)
Reset PMT status. 
 
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
 
friend JReader & operator>>(JReader &in, JStatus &status)
Read status from input. 
 
bool equals(const JStatus &status) const 
Equal method. 
 
JPutPMTStatusBit(const JGetPMTStatusBit &input)
Constructor. 
 
int operator()(const std::string &key) const 
Get PMT status bit. 
 
static const JPutPMTStatusBit putPMTStatusBit(getPMTStatusBit)
Function object to map PMT status bit to key. 
 
void print(std::ostream &out) const 
Print status. 
 
const array_type< JValue_t > & make_array(const JValue_t(&array)[N])
Method to create array of values. 
 
Template definition of auxiliary base class for comparison of data structures. 
 
static const int PMT_DISABLE
KM3NeT Data Definitions v2.0.0 https://git.km3net.de/common/km3net-dataformat. 
 
static const int UDP_TRAILER_DISABLE
Enable (disable) use of UDP packet trailer test if this status bit is 0 (1);. 
 
const std::string & operator()(const int bit) const 
Put PMT status bit. 
 
Interface for binary input. 
 
Auxiliary methods to convert data members or return values of member methods of a set of objects to a...
 
static const int FIFO_FULL_DISABLE
Enable (disable) use of FIFO (almost) full test if this status bit is 0 (1);. 
 
bool has(const int bit) const 
Test PMT status. 
 
JStatus(const int status)
Constructor. 
 
static const int OUT_OF_SYNC
Enable (disable) synchronous signal from this PMT if this status bit is 0. 
 
JGetPMTStatusBit()
Default constructor. 
 
JStatus getStatus()
Get status. 
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
 
const JValue_t & get_key(const std::map< JKey_t, JValue_t, JComparator_t, JAllocator_t > &map, const JKey_t key)
Get value in map. 
 
static const int UDP_COUNTER_DISABLE
Enable (disable) use of UDP packet counter test if this status bit is 0 (1);.