StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHbtHiddenInfo.hh
1 /***************************************************************************
2  *
3  *
4  *
5  * Author: Laurent Conin, Fabrice Retiere, Subatech, France
6  ***************************************************************************
7  *
8  * Description : Base class for the hidden info
9  * Anything can be carried through the class that derived from it
10  * getParticleHiddenInfo() has to be written : it return a copy of this
11  *
12  ***************************************************************************
13  *
14  *
15  *
16  ***************************************************************************/
17 
18 #ifndef StHbtHiddenInfo_hh
19 #define StHbtHiddenInfo_hh
20 
21 #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
22 
24 
25 public:
26  StHbtHiddenInfo(){/* no-op */};
27  virtual ~StHbtHiddenInfo(){/* no-op */};
28 
29 // !!! MANDATORY !!!
30 // --- Copy the hidden info from StHbtTrack to StHbtParticle
31  virtual StHbtHiddenInfo* getParticleHiddenInfo() const =0;
32  virtual StHbtHiddenInfo* clone() const;
33 
34 };
35 
36 inline StHbtHiddenInfo* StHbtHiddenInfo::clone() const{
37  return getParticleHiddenInfo();
38 }
39 
40 #endif