1 #ifndef HIT_DISTANCES_PROCESSOR_H
2 #define HIT_DISTANCES_PROCESSOR_H 1
4 #define N_1D_HISTOS_HIT_DISTANCES_PROCESSOR 1
5 #define N_2D_HISTOS_HIT_DISTANCES_PROCESSOR 0
7 #include <CLHEP/Vector/ThreeVector.h>
15 #include "marlin/Processor.h"
18 #include <EVENT/TrackerHit.h>
20 #include <IMPL/LCCollectionVec.h>
21 #include <EVENT/Track.h>
22 #include <EVENT/TrackerHit.h>
24 #include "ZBinTemplateProcessor.h"
28 #include <AIDA/AIDA.h>
29 #include <marlin/AIDAProcessor.h>
30 #include <AIDA/IHistogramFactory.h>
31 #include <AIDA/IHistogram1D.h>
35 #include <marlin/Global.h>
77 virtual void processRunHeader(lcio::LCRunHeader* run ) ;
79 virtual void processEvent(lcio::LCEvent * evt ) ;
105 #endif // HIT_DISTANCES_PROCESSOR_H
std::string _tracksColName
the name of the input tracks collection
Definition: HitDistancesProcessor.h:84
double _maxDistance
Maximum value in _distanceHisto.
Definition: HitDistancesProcessor.h:101
static const unsigned int _distanceIndex
The index of the template parameter for the hitsPerTrack histos We want to have these values divided ...
Definition: HitDistancesProcessor.h:90
virtual Processor * newProcessor()
The newProcessor() function does not make sense for this template class, so it throws an lcio::Except...
Definition: HitDistancesProcessor.h:69
AIDA::IHistogram1D * _distanceHisto
For the following histograms a z binning does not make sense.
Definition: HitDistancesProcessor.h:98
A template to create processors wich create 1D or 2D distribution histograms, one histogram per z bin...
Definition: ZBinTemplateProcessor.h:76
Measures distances between two hits in a event.
Definition: HitDistancesProcessor.h:65
std::string _hitsColName
the name of the input hits collection
Definition: HitDistancesProcessor.h:85
virtual void init()
Register the AIDA histograms at the AIDAProcessor.
Definition: HitDistancesProcessor.cc:49