Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

AlEflw.h

Go to the documentation of this file.
00001 
00002 //
00003 // CLASS AlEflw:
00004 // Concrete class for Eflow Objects, inherits from QvecBase
00005 //
00006 // Author :  G. Bagliesi
00007 // modified by C. Delaere: now derive from QvecLink
00008 //                         added lock and unlock
00009 //                         fixed assignement operator
00010 //
00012  
00013 
00014 #ifndef _ALEFLW_H_
00015 #define _ALEFLW_H_
00016 
00017 #include "QvecLink.h"
00018 class AlTrack;
00019 
00020 enum EFLWTYPE{ChargedTrack, Electron, Muon, V0Track, Electromagnetic, ECAL, HCAL, LCAL, SICAL };
00021 
00023 class AlEflw : public QvecLink {
00024 
00025 public:
00026   
00028   AlEflw();
00029 
00031   AlEflw(const AlEflw&);
00032 
00034   ALEPHTYPE TYPE() const {return EFLOW;}
00035 
00037   void setEfType(const int& type);
00038 
00040   EFLWTYPE  getEfType()const;
00041 
00043   void setTrack(AlTrack* theTrack);
00044 
00046   AlTrack* getTrack()const;
00047 
00049   void Lock(bool recurse = 0);
00051   void unLock(bool recurse = 0);
00052 
00053 private:
00054 
00055   // the Eflow type
00056   int _efType;
00057   // pointer to associated track if type <= 3
00058   AlTrack* _theAssocTrack;
00059 };
00060 
00061 #endif

Generated at Wed Jun 18 17:19:09 2003 for ALPHA++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001