Clicpix2Correlator.h 780 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef Clicpix2Correlator_H
#define Clicpix2Correlator_H 1

#include "Algorithm.h"
#include <iostream>
#include "TH1F.h"
#include "TH2F.h"
#include "TCanvas.h"
#include "Pixel.h"
#include "Cluster.h"
#include "Track.h"
#include <sstream>

class Clicpix2Correlator : public Algorithm {
  
public:
  // Constructors and destructors
  Clicpix2Correlator(bool);
  ~Clicpix2Correlator(){}

  // Functions
  void initialise(Parameters*);
  StatusCode run(Clipboard*);
  void finalise();

  // Member variables
  int m_eventNumber;
  string dutID;
  map<int, Clusters> m_eventClusters;
  map<int, Tracks> m_eventTracks;
  double angleStart, angleStop, angleStep;
  
  // Histograms
  map<string,TH1F*> hTrackDiffX;
  map<string,TH1F*> hTrackDiffY;
  
};

#endif // Clicpix2Correlator_H