8 #ifndef INTERTRACKDISTANCEPROCESSOR_H
9 #define INTERTRACKDISTANCEPROCESSOR_H
11 #include <marlin/Processor.h>
13 #include "EVENT/Track.h"
16 #ifdef MARLIN_USE_AIDA
18 #include <marlin/AIDAProcessor.h>
22 #include "gear/TPCParameters.h"
44 virtual void processRunHeader(lcio::LCRunHeader* run);
46 virtual void processEvent(lcio::LCEvent* evt);
48 virtual void check(lcio::LCEvent* evt);
52 std::vector< std::pair<int,double> > Get_RPhiDistVec(){
return _RPhiDistVec;};
53 std::vector< std::pair<int,double> > Get_ZDistVec(){
return _ZDistVec;};
55 std::pair<double,double> Get_PhiIntersection(lcio::Track *track,
int module,
int row){
return phiIntersection(track, module, row);};
62 void DoubleTrackProductionEfficiency(std::vector<lcio::Track *> trackVec);
63 std::pair<double,double> phiIntersection(lcio::Track *track,
int module,
int row);
64 double zIntersection(lcio::Track *track,
int module,
int row);
65 const gear::TPCParameters* _GearParameters;
67 TH2F * _histoInterTrackrphiDistance;
68 TH2F * _histoInterTrackZDistance;
69 TH2F * _histoInterTrackDistance;
70 TH1F * _histoDoubleTrackEfficiency;
73 int _NumRowsWithMergedTracks;
74 float _MaxDistBetweenMergedTracks;
75 int _NumRowsWithSeparatedTracks;
76 float _MinDistBetweenSeparatedTracks;
78 float _Max_Z_DistBetweenMergedTracks;
79 float _Min_Z_DistBetweenSeparatedTracks;
84 float _histogramMinDistance;
85 float _histogramMaxDistance;
88 std::vector< std::pair<int,double> > _RPhiDistVec;
89 std::vector< std::pair<int,double> > _ZDistVec;
94 #endif //INTERTRACKDISTANCEPROCESSOR_H
std::string _inputColName
Name of the input collection with tracks.
Definition: InterTrackDistanceProcessor.h:55
Marlin processor which plots the minimal inter-track distance per event and row in a histogram...
Definition: InterTrackDistanceProcessor.h:34