Commit 6f2deb0d authored by C. Finck [IPHC]'s avatar C. Finck [IPHC]
Browse files

Cosmetics

git-svn-id: svn+ssh://anonsvn.in2p3.fr/agata/gammaware/trunk@1733 c3abf467-7ff2-0310-b516-c5fb849bdde0
parent 6cc96a05
......@@ -54,7 +54,7 @@ private:
public:
Parity();
Parity(const Parity &p) : QNumber(p), InfoData(p) { fParity = p.fParity; }
explicit Parity(Parity::EParity p) { Set(p) ; }
explicit Parity(Parity::EParity p) { Set(p); }
virtual ~Parity();
//! to identify this quantum number
......@@ -63,15 +63,14 @@ public:
void Set(Parity::EParity);
bool IsParity(Parity::EParity) const;
//! set the value, can be overloaded
//! set the value, can be overloaded
virtual void Set(const char *s) ;
//! overload operator *
Parity& operator*= (Parity& p);
//! overload operator*
Parity& operator*= (Parity& p);
//! rootcint dictionary
ClassDef(Parity,1); // the parity quantum number
//! rootcint dictionary
ClassDef(Parity,1); // the parity quantum number
};
// inline members
inline bool Parity::IsQNumber(QNumber::EQtype t) const { return kParity == t; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment