Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-27 09:28:54

0001 /**
0002  *  @file   PandoraSDK/include/Templates/TemplateAlgorithm.h
0003  * 
0004  *  @brief  Header file for the template algorithm class.
0005  * 
0006  *  $Log: $
0007  */
0008 #ifndef TEMPLATE_ALGORITHM_H
0009 #define TEMPLATE_ALGORITHM_H 1
0010 
0011 #include "Pandora/Algorithm.h"
0012 
0013 /**
0014  *  @brief  TemplateAlgorithm class
0015  */
0016 class TemplateAlgorithm : public pandora::Algorithm
0017 {
0018 public:
0019     /**
0020      *  @brief  Factory class for instantiating algorithm
0021      */
0022     class Factory : public pandora::AlgorithmFactory
0023     {
0024     public:
0025         pandora::Algorithm *CreateAlgorithm() const;
0026     };
0027 
0028 private:
0029     pandora::StatusCode Run();
0030     pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
0031 
0032     // Member variables here
0033 };
0034 
0035 //------------------------------------------------------------------------------------------------------------------------------------------
0036 
0037 inline pandora::Algorithm *TemplateAlgorithm::Factory::CreateAlgorithm() const
0038 {
0039     return new TemplateAlgorithm();
0040 }
0041 
0042 #endif // #ifndef TEMPLATE_ALGORITHM_H