CEDViewer  1.12.0
VertexViewer.h
1 #ifndef VERTEXVIEWER_H
2 #define VERTEXVIEWER_H 1
3 
4 #include "marlin/Processor.h"
5 #include "EVENT/MCParticle.h"
6 #include "lcio.h"
7 #include <string>
8 #include <vector>
9 
10 using namespace lcio ;
11 using namespace marlin ;
12 
13 
18 class VertexViewer : public Processor {
19 
20  public:
21 
22  virtual Processor* newProcessor() { return new VertexViewer ; }
23 
24 
25  VertexViewer() ;
26 
27  virtual void init() ;
28 
29  virtual void processRunHeader( LCRunHeader* run ) ;
30 
31  virtual void processEvent( LCEvent * evt ) ;
32 
33  virtual void check( LCEvent * evt ) ;
34 
35  virtual void end() ;
36 
37 
38  protected:
39 
40  int _nRun ;
41  int _nEvt ;
42 
43  std::vector<std::string> _trackerHitCollection;
44  std::string _trueTracksCollection;
45  std::string _tracksCollection;
46  std::string _trueTracksMCPCollection;
47  std::string _tracksMCPCollection;
48  std::vector<std::string> _simTrackerHitCollection;
49 
50  int _layerTrackerHits;
51  int _layerTrueTracks;
52  int _layerTracks;
53  int _layerSimTrackerHits;
54  int returnColor(int counter);
55  float _cutOnD0,_cutOnZ0;
56  float _bField;
57 
58  int _nTPCCut;
59  int _detModel;
60 
61 } ;
62 
63 #endif
64 
65 
66 
Vertex Viewer Processor
Definition: VertexViewer.h:18