DUTAnalysis.h 1.06 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef DUTAnalysis_H
#define DUTAnalysis_H 1

#include "Algorithm.h"
#include <iostream>
#include "TH1F.h"
#include "TH2F.h"
#include "TCanvas.h"

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

  // Functions
  void initialise(Parameters*);
Daniel Hynds's avatar
Daniel Hynds committed
19
  StatusCode run(Clipboard*);
20
21
22
23
24
25
26
  void finalise();
  
  // Histograms
  TH1F* tracksVersusTime;
  TH1F* associatedTracksVersusTime;
  TH1F* residualsX;
  TH1F* residualsY;
Daniel Hynds's avatar
Daniel Hynds committed
27
28
29
  TH1F* hTrackCorrelationX;
  TH1F* hTrackCorrelationY;
  TH1F* hTrackCorrelationTime;
30
  TH1F* residualsTime;
31
  TH2F* clusterToTVersusTime;
Daniel Hynds's avatar
Daniel Hynds committed
32
  TH2F* residualsTimeVsTime;
33

Daniel Hynds's avatar
Daniel Hynds committed
34
35
36
  TH2F* hAssociatedTracksGlobalPosition;
  TH2F* hUnassociatedTracksGlobalPosition;

Daniel Hynds's avatar
Daniel Hynds committed
37
38
39
  TH1F* tracksVersusPowerOnTime;
  TH1F* associatedTracksVersusPowerOnTime;
  
40
41
42
  // Member variables
  int m_eventNumber;
  int m_nAlignmentClusters;
Daniel Hynds's avatar
Daniel Hynds committed
43
44
  long long int m_powerOnTime;
  long long int m_powerOffTime;
Daniel Hynds's avatar
Daniel Hynds committed
45
46
47
48
  long long int m_shutterOpenTime;
  long long int m_shutterCloseTime;
  bool m_digitalPowerPulsing;

49
50
51
};

#endif // DUTAnalysis_H