]>
Commit | Line | Data |
---|---|---|
67427ff7 | 1 | //////////////////////////////////////////////////////////////////////////////// |
2 | /// AliFemtoHiddenInfo - pure virtual base class for the hidden info /// | |
3 | /// Hidden info stores additional information, which is not in a standard /// | |
4 | /// track. | |
5 | //////////////////////////////////////////////////////////////////////////////// | |
6 | ||
7 | #ifndef AliFemtoHiddenInfo_hh | |
8 | #define AliFemtoHiddenInfo_hh | |
9 | ||
d0e92d9a | 10 | #include "AliFemtoTypes.h" |
67427ff7 | 11 | |
12 | class AliFemtoHiddenInfo{ | |
13 | ||
d0e92d9a | 14 | public: |
67427ff7 | 15 | AliFemtoHiddenInfo(){/* no-op */}; |
16 | virtual ~AliFemtoHiddenInfo(){/* no-op */}; | |
d0e92d9a | 17 | |
18 | // !!! MANDATORY !!! | |
19 | // --- Copy the hidden info from AliFemtoTrack to AliFemtoParticle | |
20 | virtual AliFemtoHiddenInfo* Clone() const; | |
21 | ||
22 | protected: | |
23 | virtual AliFemtoHiddenInfo* GetParticleHiddenInfo() const =0; | |
67427ff7 | 24 | |
25 | }; | |
26 | //_______________________________________ | |
d0e92d9a | 27 | inline AliFemtoHiddenInfo* AliFemtoHiddenInfo::Clone() const{ |
67427ff7 | 28 | // return exact copy of this hidden info |
d0e92d9a | 29 | return GetParticleHiddenInfo(); |
67427ff7 | 30 | } |
31 | ||
32 | #endif |