#ifndef identifier_H #define identifier_H 1 // %%%%%%%%%%% // C++ headers // %%%%%%%%%%% #include #include using namespace std; class identifier { public: identifier(){}; ~identifier(){}; string name; string rule; int id; double time; double TimeWindow; public: friend ostream &operator<<(ostream &stream, vector); bool operator== (const identifier& I) const; bool operator< (const identifier& I) const; bool operator> (const identifier& I) const; bool operator<= (const identifier& I) const {return !(*this > I);} bool operator>= (const identifier& I) const {return !(*this < I);} bool operator!= (const identifier& I) const {return !(*this == I);} }; vector set_IDshifts(vector); vector SetId(vector, G4VTouchable*, double, double); #endif