1 #ifndef __JDETECTOR__JSTATUS__ 
    2 #define __JDETECTOR__JSTATUS__ 
   24 namespace JDETECTOR {}
 
   25 namespace JPP { 
using namespace JDETECTOR; }
 
   91       this->status = status.
status;
 
  103       return this->status == status.
status;
 
  112     bool has(
const int bit)
 const 
  114       return (this->
status & (1<<bit)) != 0;
 
  136       this->
status &= ~(1<<bit);
 
  145     inline void print(std::ostream& out) 
const;
 
  157       return in >> status.
status;
 
  170       return out << status.
status;
 
  183       return in >> status.
status;
 
  196       return out << status.
status;
 
  217 #define MAKE_ENTRY(A) std::make_pair(getClassname(#A), A) 
  238       return this->at(key);
 
  258       for (JGetPMTStatusBit::const_iterator i = input.begin(); i != input.end(); ++i) {
 
  259         this->insert(make_pair(i->second, i->first));
 
  272       return this->at(bit);
 
  334     for (
int i = 0; i != 
sizeof(
JStatus) * 8; ++i) {
 
  336         out << setw(24) << left << 
putPMTStatusBit(i) << right << this->has(i) << endl;
 
  338       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-15-g59d2e2b 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 CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
static const int UDP_COUNTER_DISABLE
Enable (disable) use of UDP packet counter test if this status bit is 0 (1);.