1 #ifndef LinearThreePointResolutionProcessor_h
2 #define LinearThreePointResolutionProcessor_h 1
4 #define N_1D_HISTOS_THREE_POINT_RESOLUTION_PROCESSOR 1
5 #define N_2D_HISTOS_THREE_POINT_RESOLUTION_PROCESSOR 0
12 #include <EVENT/TrackerHit.h>
15 #include "marlin/Processor.h"
16 #include "ZBinTemplateProcessor.h"
55 N_2D_HISTOS_THREE_POINT_RESOLUTION_PROCESSOR>{
80 virtual void processRunHeader( lcio::LCRunHeader* run ) ;
85 virtual void processEvent( lcio::LCEvent * evt ) ;
92 virtual void check( lcio::LCEvent * evt ) ;
103 static bool compareHit(
const std::pair<TrackerHit*, double> & pair1,
104 const std::pair<TrackerHit*, double> & pair2)
106 return pair1.second < pair2.second;
142 AIDA::IHistogram1D* histo3P;
143 AIDA::IHistogram2D* histo3P2D;
144 AIDA::IHistogram1D* histoNoTrack;
virtual void init()
Register the AIDA histograms at the AIDAProcessor.
Definition: LinearThreePointResolutionProcessor.cc:112
bool isFirstCollection
is true till the first output collection is wirten to an event used to to store parameters only in th...
Definition: LinearThreePointResolutionProcessor.h:137
int _histoBin3P
Definition: LinearThreePointResolutionProcessor.h:121
int _chipID
Definition: LinearThreePointResolutionProcessor.h:120
float _histoRangeTime
Definition: LinearThreePointResolutionProcessor.h:125
Resoltuion calculator for straight tracks using the three point method.
Definition: LinearThreePointResolutionProcessor.h:53
int _histoBinTime
Definition: LinearThreePointResolutionProcessor.h:122
A template to create processors wich create 1D or 2D distribution histograms, one histogram per z bin...
Definition: ZBinTemplateProcessor.h:76
int _histoBinNoTrack
Definition: LinearThreePointResolutionProcessor.h:123
static const unsigned int _histo3PIndex
The index of the template parameter for the hitsPerTrack histos We want to have these values divided ...
Definition: LinearThreePointResolutionProcessor.h:130
std::string _inputColName
Definition: LinearThreePointResolutionProcessor.h:119
virtual Processor * newProcessor()
The newProcessor() function does not make sense for this template class, so it throws an lcio::Except...
Definition: LinearThreePointResolutionProcessor.h:64
float _histoRange3P
Definition: LinearThreePointResolutionProcessor.h:124