LCFIVertex  0.7.2
SignificanceFit.h
1 #ifndef SignificanceFitProcessor_h
2 #define SignificanceFitProcessor_h
3 
4 // include file for the maps ana processor
5 #include "marlin/Processor.h"
6 #include "lcio.h"
7 
8 #include "EVENT/LCIO.h"
9 #include "EVENT/LCCollection.h"
10 #include "EVENT/SimCalorimeterHit.h"
11 #include "EVENT/ReconstructedParticle.h"
12 #include "EVENT/CalorimeterHit.h"
13 #include "IMPL/LCFlagImpl.h"
14 
15 
16 // standard c++ includes
17 #include <string>
18 #include <algorithm>
19 #include <iostream>
20 #include <vector>
21 #include <map>
22 #include <math.h>
23 
24 //AIDA includes...
25 #include <AIDA/IAnalysisFactory.h>
26 #include <AIDA/IHistogram1D.h>
27 #include <AIDA/IDataPointSet.h>
28 #include <AIDA/ITuple.h>
29 
49 // namespaces using it for lcio and marlin
50 using namespace lcio ;
51 using namespace marlin ;
52 
53 class SignificanceFit : public Processor
54 {
55  public:
56  virtual Processor* newProcessor() { return new SignificanceFit ; }
57 
58 
60 //initialises everything
61  virtual void init() ;
62 
63  // Called for every run.
64  virtual void processRunHeader( LCRunHeader* run ) ;
65 
66  // Called for every event - the working horse.
67  virtual void processEvent( LCEvent * evt ) ;
68 
69 
70  virtual void check( LCEvent * evt ) ;
71 
72 
73  //Called after data processing for clean up.
74 
75  virtual void end() ;
76 
77 
78  protected:
79 
82  AIDA::IHistogram1D* rphisto;
83  AIDA::IHistogram1D* zhisto;
84  AIDA::IHistogram1D* rphistogauss;
85  AIDA::IHistogram1D* zhistogauss;
86  AIDA::IHistogram1D* rphistoexp1;
87  AIDA::IHistogram1D* zhistoexp1;
88  AIDA::IHistogram1D* rphistoexp2;
89  AIDA::IHistogram1D* zhistoexp2;
90  AIDA::IAnalysisFactory* _analysisFactory;
91 
92  int _nRun ;
93  int _nEvt ;
94  std::string _JetRPColName;
95  std::string _IPVertexCollectionName;
96  std::string _DecayChainRPColName;
97  double _Cutoffgauss;
98  double _Cutoffexp1;
99  double _Cutoffexp2;
100  double _GaussAmp;
101  double _GaussSigma;
102  double _ExpAmp;
103  double _ExpLambda;
104  private:
105 // use this for LCIO naming convention
106 
107 
108 };
109 
110 #endif
AIDA::IHistogram1D * rphisto
Input collection name and type.