| 
    Jpp
    pmt_effective_area_update
    
   the software that should make you happy 
   | 
 
Auxiliary class for controlling PMT status. More...
#include <JStatus.hh>
  
 Public Member Functions | |
| JStatus () | |
| Default constructor.  More... | |
| JStatus (const int status) | |
| Constructor.  More... | |
| const JStatus & | getStatus () const | 
| Get status.  More... | |
| JStatus | getStatus () | 
| Get status.  More... | |
| void | setStatus (const JStatus &status) | 
| Set status.  More... | |
| bool | equals (const JStatus &status) const | 
| Equal method.  More... | |
| bool | has (const int bit) const | 
| Test PMT status.  More... | |
| void | set (const int bit) | 
| Set PMT status.  More... | |
| void | reset (const int bit) | 
| Reset PMT status.  More... | |
| void | print (std::ostream &out) const | 
| Print status.  More... | |
Protected Attributes | |
| int | status | 
Friends | |
| std::istream & | operator>> (std::istream &in, JStatus &status) | 
| Read status from input.  More... | |
| std::ostream & | operator<< (std::ostream &out, const JStatus &status) | 
| Write status to output.  More... | |
| JReader & | operator>> (JReader &in, JStatus &status) | 
| Read status from input.  More... | |
| JWriter & | operator<< (JWriter &out, const JStatus &status) | 
| Write status to output.  More... | |
Auxiliary class for controlling PMT status.
The various status are controlled using a bitwise data field.
The corresponding bits are defined via an internal enumeration. 
Definition at line 41 of file JStatus.hh.
      
  | 
  inline | 
Default constructor.
Definition at line 47 of file JStatus.hh.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Equal method.
| status | status | 
Definition at line 101 of file JStatus.hh.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Print status.
Print PMT status.
| out | output stream | 
Definition at line 330 of file JStatus.hh.
      
  | 
  friend | 
Read status from input.
| in | input stream | 
| status | status | 
Definition at line 155 of file JStatus.hh.
      
  | 
  friend | 
Write status to output.
| out | output stream | 
| status | status | 
Definition at line 168 of file JStatus.hh.
Read status from input.
| in | reader | 
| status | status | 
Definition at line 181 of file JStatus.hh.
Write status to output.
| out | writer | 
| status | status | 
Definition at line 194 of file JStatus.hh.
      
  | 
  protected | 
Definition at line 200 of file JStatus.hh.
 1.8.5