1 #ifndef __JDETECTOR__JPMTIDENTIFIER__
2 #define __JDETECTOR__JPMTIDENTIFIER__
19 namespace JDETECTOR {}
20 namespace JPP {
using namespace JDETECTOR; }
140 out << setw(10) << static_cast<const JModuleIdentifier&> (object) <<
' ';
141 out << setw(2) << static_cast<const JPMTReadoutAddress&>(object);
172 out << static_cast<const JModuleIdentifier&> (object);
173 out << static_cast<const JPMTReadoutAddress&>(object);
Interface for binary output.
friend JReader & operator>>(JReader &in, JPMTIdentifier &object)
Read PMT identifier from input.
friend JWriter & operator<<(JWriter &out, const JPMTIdentifier &object)
Write PMT identifier to output.
const JPMTIdentifier & getPMTIdentifier() const
Get PMT identifier.
void setPMTIdentifier(const JPMTIdentifier &id)
Set PMT identifier.
std::string getLabel(const JLocation &location)
Get module label for monitoring and other applications.
JPMTIdentifier(const JModuleIdentifier &id, const int tdc)
Constructor.
int getModuleID() const
Get module identifier.
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
#define MAKE_STRING(A)
Make string.
I/O formatting auxiliaries.
int getID() const
Get identifier.
JPMTIdentifier()
Default constructor.
int getPMTAddress() const
Get PMT address (= TDC).
bool is_valid() const
Check validity.
Interface for binary input.
friend bool operator==(const JObjectID &first, typename JClass< JNullType >::argument_type second)
Equal operator.
Auxiliary data structure for sequence of same character.
friend std::istream & operator>>(std::istream &in, JPMTIdentifier &object)
Read PMT identifier from input.
friend std::ostream & operator<<(std::ostream &out, const JPMTIdentifier &object)
Write PMT identifier to output.
Auxiliary class for object identification.
Data structure for PMT readout address.
friend bool operator<(const JObjectID &first, typename JClass< JNullType >::argument_type second)
Less than operator.
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