Skip to content
Snippets Groups Projects
MarlinACTSPropagatorTest.h 1.11 KiB
Newer Older
  • Learn to ignore specific revisions
  • Johnston's avatar
    Johnston committed
    #ifndef MarlinACTSPropagatorTest_h
    #define MarlinACTSPropagatorTest_h 1
    
    #include "marlin/Processor.h"
    #include "lcio.h"
    #include <string>
    
    
    using namespace lcio ;
    using namespace marlin ;
    
    
    /**  Based From Example processor for marlin.
     * 
     *  If compiled with MARLIN_USE_AIDA 
     * 
     * @author F. Gaede, DESY
     */
    
    class MarlinACTSPropagatorTest : public Processor {
      
     public:
      
      virtual Processor*  newProcessor() { return new MarlinACTSPropagatorTest ; }
      
      
      MarlinACTSPropagatorTest() ;
      
      /** Called at the begin of the job before anything is read.
       * Use to initialize the processor, e.g. book histograms.
       */
      virtual void init() ;
      
      /** Called for every run.
       */
      virtual void processRunHeader( LCRunHeader* run ) ;
      
      /** Called for every event - the working horse.
       */
      virtual void processEvent( LCEvent * evt ) ; 
      
      
      virtual void check( LCEvent * evt ) ; 
      
      
      /** Called after data processing for clean up.
       */
      virtual void end() ;
      
      
     protected:
    
      /** Input collection name.
       */
      std::string _colName ;
      std::string _SiTrackerColName ;
    
      int _nRun ;
      int _nEvt ;
    } ;
    
    #endif