psana_examples/include/DumpAlias.h

Go to the documentation of this file.
00001 #ifndef PSANA_EXAMPLES_DUMPALIAS_H
00002 #define PSANA_EXAMPLES_DUMPALIAS_H
00003 
00004 //--------------------------------------------------------------------------
00005 // File and Version Information:
00006 //      $Id: DumpAlias.h 6920 2013-10-07 22:09:39Z salnikov@SLAC.STANFORD.EDU $
00007 //
00008 // Description:
00009 //      Class DumpAlias.
00010 //
00011 //------------------------------------------------------------------------
00012 
00013 //-----------------
00014 // C/C++ Headers --
00015 //-----------------
00016 
00017 //----------------------
00018 // Base Class Headers --
00019 //----------------------
00020 #include "psana/Module.h"
00021 
00022 //-------------------------------
00023 // Collaborating Class Headers --
00024 //-------------------------------
00025 
00026 //------------------------------------
00027 // Collaborating Class Declarations --
00028 //------------------------------------
00029 
00030 //              ---------------------
00031 //              -- Class Interface --
00032 //              ---------------------
00033 
00034 namespace psana_examples {
00035 
00036 /// @addtogroup psana_examples
00037 
00038 /**
00039  *  @ingroup psana_examples
00040  *
00041  *  Psana module which dumps contents of alias configuration object
00042  *
00043  *  @note This software was developed for the LCLS project.  If you use all or 
00044  *  part of it, please give an appropriate acknowledgment.
00045  *
00046  *  @version \$Id: DumpAlias.h 6920 2013-10-07 22:09:39Z salnikov@SLAC.STANFORD.EDU $
00047  *
00048  *  @author Andy Salnikov
00049  */
00050 
00051 class DumpAlias : public Module {
00052 public:
00053 
00054   // Default constructor
00055   DumpAlias (const std::string& name) ;
00056 
00057   // Destructor
00058   virtual ~DumpAlias () ;
00059 
00060   /// Method which is called at the beginning of the calibration cycle
00061   virtual void beginCalibCycle(Event& evt, Env& env);
00062   
00063   /// Method which is called with event data, this is the only required 
00064   /// method, all other methods are optional
00065   virtual void event(Event& evt, Env& env);
00066   
00067 protected:
00068 
00069 private:
00070 
00071   Source m_src;         // Data source set from config file
00072 
00073 };
00074 
00075 } // namespace psana_examples
00076 
00077 #endif // PSANA_EXAMPLES_DUMPALIAS_H

Generated on 19 Dec 2016 for PSANAmodules by  doxygen 1.4.7