1 #ifndef __JDETECTOR__JSTATUS__ 
    2 #define __JDETECTOR__JSTATUS__ 
   23 namespace JDETECTOR {}
 
   24 namespace JPP { 
using namespace JDETECTOR; }
 
  104       this->status = status.
status;
 
  116       return this->status == status.
status;
 
  127       return (this->
status & (1<<bit)) != 0;
 
  149       this->
status &= ~(1<<bit);
 
  158     inline void print(std::ostream& out) 
const;
 
  170       return in >> status.
status;
 
  183       return out << status.
status;
 
  196       return in >> status.
status;
 
  209       return out << status.
status;
 
  221     public std::map<std::string, JStatus::JPMTStatusBits_t>
 
  230 #define MAKE_ENTRY(A) std::make_pair(getClassname(#A), A) 
  259     public std::map<JStatus::JPMTStatusBits_t, std::string>
 
  270       for (JGetPMTStatusBit::const_iterator i = input.begin(); i != input.end(); ++i) {
 
  271         this->insert(make_pair(i->second, i->first));
 
  346     for (
int i = 0; i != 
sizeof(
JStatus) * 8; ++i) {
 
  352         out << setw(24) << left << 
putPMTStatusBit(bit) << right << this->has(bit) << endl;
 
  354       catch(
const exception&) {}
 
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. 
 
JStatus::JPMTStatusBits_t operator()(const std::string &key) const 
Get PMT status bit. 
 
const std::vector< JValue_t > make_array(const JValue_t(&array)[N])
Method to create array of values. 
 
Enable (disable) use of this PMT if this status bit is 0 (1);. 
 
friend JWriter & operator<<(JWriter &out, const JStatus &status)
Write status to output. 
 
void reset(const JPMTStatusBits_t bit)
Reset PMT status. 
 
void set(const JPMTStatusBits_t bit)
Set PMT status. 
 
Auxiliary class to map PMT status bit to key. 
 
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
 
friend std::ostream & operator<<(std::ostream &out, const JStatus &status)
Write status to output. 
 
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. 
 
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. 
 
static const JPutPMTStatusBit putPMTStatusBit(getPMTStatusBit)
Function object to map PMT status bit to key. 
 
void print(std::ostream &out) const 
Print status. 
 
Template definition of auxiliary base class for comparison of data structures. 
 
Interface for binary input. 
 
Auxiliary methods to convert data members or return values of member methods of a set of objects to a...
 
JStatus(const int status)
Constructor. 
 
Enable (disable) use of FIFO (almost) full test if this status bit is 0 (1);. 
 
Enable (disable) use of UDP packet trailer test if this status bit is 0 (1);. 
 
JGetPMTStatusBit()
Default constructor. 
 
JPMTStatusBits_t
Enumeration of status bits. 
 
JStatus getStatus()
Get status. 
 
const std::string & operator()(const JStatus::JPMTStatusBits_t bit) const 
Put PMT status bit. 
 
bool has(const JPMTStatusBits_t bit) const 
Test PMT status. 
 
Enable (disable) use of high-rate veto test if this status bit is 0 (1);. 
 
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. 
 
Enable (disable) use of UDP packet counter test if this status bit is 0 (1);.