00001 /*************************************************************************** 00002 * 00003 * $Id: 00004 * 00005 * Author: Laurent Conin, Fabrice Retiere, Subatech, France 00006 *************************************************************************** 00007 * 00008 * Description : Base class for the hidden info 00009 * Anything can be carried through the class that derived from it 00010 * getParticleHiddenInfo() has to be written : it return a copy of this 00011 * 00012 *************************************************************************** 00013 * 00014 * $Log: 00015 * 00016 ***************************************************************************/ 00017 00018 #ifndef StHbtHiddenInfo_hh 00019 #define StHbtHiddenInfo_hh 00020 00021 #include "StHbtMaker/Infrastructure/StHbtTypes.hh" 00022 00023 class StHbtHiddenInfo{ 00024 00025 public: 00026 StHbtHiddenInfo(){/* no-op */}; 00027 virtual ~StHbtHiddenInfo(){/* no-op */}; 00028 00029 // !!! MANDATORY !!! 00030 // --- Copy the hidden info from StHbtTrack to StHbtParticle 00031 virtual StHbtHiddenInfo* getParticleHiddenInfo() const =0; 00032 virtual StHbtHiddenInfo* clone() const; 00033 00034 }; 00035 00036 inline StHbtHiddenInfo* StHbtHiddenInfo::clone() const{ 00037 return getParticleHiddenInfo(); 00038 } 00039 00040 #endif
1.5.9