psana_examples/include/DumpAcqiris.h

Go to the documentation of this file.
00001 #ifndef PSANA_EXAMPLES_DUMPACQIRIS_H
00002 #define PSANA_EXAMPLES_DUMPACQIRIS_H
00003 
00004 //--------------------------------------------------------------------------
00005 // File and Version Information:
00006 //      $Id: DumpAcqiris.h 7531 2014-01-13 21:47:42Z salnikov@SLAC.STANFORD.EDU $
00007 //
00008 // Description:
00009 //      Class DumpAcqiris.
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 /**
00037  *  @brief Example module class for psana
00038  *
00039  *  This software was developed for the LCLS project.  If you use all or 
00040  *  part of it, please give an appropriate acknowledgment.
00041  *
00042  *  @version $Id: DumpAcqiris.h 7531 2014-01-13 21:47:42Z salnikov@SLAC.STANFORD.EDU $
00043  *
00044  *  @author Andrei Salnikov
00045  */
00046 
00047 class DumpAcqiris : public Module {
00048 public:
00049 
00050   // Default constructor
00051   DumpAcqiris (const std::string& name) ;
00052 
00053   // Destructor
00054   virtual ~DumpAcqiris () ;
00055 
00056   /// Method which is called at the beginning of the calibration cycle
00057   virtual void beginCalibCycle(Event& evt, Env& env);
00058   
00059   /// Method which is called with event data
00060   virtual void event(Event& evt, Env& env);
00061   
00062 protected:
00063 
00064 private:
00065 
00066   // Data members, this is for example purposes only
00067   Source m_source;
00068   Pds::Src m_src;
00069 
00070 };
00071 
00072 } // namespace psana_examples
00073 
00074 #endif // PSANA_EXAMPLES_DUMPACQIRIS_H

Generated on 19 Dec 2016 for PSANAmodules by  doxygen 1.4.7