1 #ifndef WriteXrayObjectsToROOTTreeProcessor_h
2 #define WriteXrayObjectsToROOTTreeProcessor_h 1
4 #include "GridPixXrayObject.h"
5 #include "XrayGeometryService.h"
14 #include <marlin/Global.h>
15 #include <marlin/Processor.h>
19 #include <EVENT/LCCollection.h>
20 #include <IMPL/LCCollectionVec.h>
21 #include <EVENT/LCRelation.h>
22 #include <EVENT/TrackerHit.h>
23 #include <EVENT/TrackerData.h>
26 #include <gear/GEAR.h>
27 #include <gear/TPCModule.h>
28 #include <gear/TPCParameters.h>
29 #include <gear/PadRowLayout2D.h>
37 class WriteXrayObjectsToROOTTreeProcessor;
51 virtual void processRunHeader(lcio::LCRunHeader *run);
53 virtual void processEvent(lcio::LCEvent *evt);
59 void writeHitToMap(std::map<int,double> *map, lcio::TrackerHit *hit);
61 void writeHitToVectors(std::vector<int> *xVec, std::vector<int> *yVec, std::vector<double> *valVec, lcio::TrackerHit *hit);
63 std::string _inputXrayObjectCollectionName;
65 std::string _rootFileName;
66 std::string _rootFileDescription;
70 std::string _rootTreeDescription;
83 ULong64_t* _timestamp;
88 double* _energyFromCharge;
89 double* _energyFromPixels;
94 double* _rotationAngle;
96 double* _rmsTransverse;
97 double* _rmsLongitudinal;
99 double* _excentricity;
106 double* _skewnessTransverse;
107 double* _skewnessLongitudinal;
109 double* _kurtosisTransverse;
110 double* _kurtosisLongitudinal;
112 double* _likelihoodMarlin;
114 double* _fractionWithinRmsTransverse;
116 std::map<int,double>* _pixelMap;
117 std::vector<int>* _xVector;
118 std::vector<int>* _yVector;
119 std::vector<double>* _valueVector;
Definition: XrayGeometryService.h:22
Definition: WriteXrayObjectsToROOTTreeProcessor.h:39