#ifndef ROOT_THaHelicityDet
#define ROOT_THaHelicityDet
#include "THaDetector.h"
class THaHelicityDet : public THaDetector {
public:
enum EHelicity { kMinus = -1, kUnknown, kPlus };
virtual ~THaHelicityDet();
virtual void Clear( Option_t* opt="" )
{ THaDetector::Clear(opt); fHelicity = kUnknown; }
virtual EHelicity GetHelicity() const { return fHelicity; }
virtual Bool_t HelicityValid() const { return (fHelicity != kUnknown); }
virtual const char* GetDBFileName() const;
virtual void MakePrefix();
THaHelicityDet() {}
protected:
THaHelicityDet( const char* name, const char* description,
THaApparatus* a = NULL);
EHelicity fHelicity;
Int_t fSign;
virtual Int_t DefineVariables( EMode mode = kDefine );
virtual Int_t ReadDatabase( const TDatime& date );
ClassDef(THaHelicityDet,1)
};
#endif
Last change: Sat Nov 7 21:26:48 2009
Last generated: 2009-11-07 21:26
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.