Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#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