psana_examples/include/DumpPnccd.h

Go to the documentation of this file.
00001 #ifndef PSANA_EXAMPLES_DUMPPNCCD_H
00002 #define PSANA_EXAMPLES_DUMPPNCCD_H
00003 
00004 //--------------------------------------------------------------------------
00005 // File and Version Information:
00006 //      $Id: DumpPnccd.h 1919 2011-05-21 12:04:08Z salnikov@SLAC.STANFORD.EDU $
00007 //
00008 // Description:
00009 //      Class DumpPnccd.
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  *  @see AdditionalClass
00043  *
00044  *  @version $Id: DumpPnccd.h 1919 2011-05-21 12:04:08Z salnikov@SLAC.STANFORD.EDU $
00045  *
00046  *  @author Andrei Salnikov
00047  */
00048 
00049 class DumpPnccd : public Module {
00050 public:
00051 
00052   // Default constructor
00053   DumpPnccd (const std::string& name) ;
00054 
00055   // Destructor
00056   virtual ~DumpPnccd () ;
00057 
00058   /// Method which is called at the beginning of the calibration cycle
00059   virtual void beginCalibCycle(Event& evt, Env& env);
00060   
00061   /// Method which is called with event data
00062   virtual void event(Event& evt, Env& env);
00063   
00064 protected:
00065 
00066 private:
00067 
00068   Source m_src;
00069 
00070 };
00071 
00072 } // namespace psana_examples
00073 
00074 #endif // PSANA_EXAMPLES_DUMPPNCCD_H

Generated on 19 Dec 2016 for PSANAmodules by  doxygen 1.4.7