TestAlgorithm.h 914 Bytes
Newer Older
1
2
3
4
5
6
7
8
#ifndef TESTALGORITHM_H
#define TESTALGORITHM_H 1

#include "Algorithm.h"
#include <iostream>
#include "TH1F.h"
#include "TH2F.h"
#include "TCanvas.h"
9
10
#include "Pixel.h"
#include "Cluster.h"
11
12
13
14
15
16
17
18
19
20

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

  // Functions
  void initialise(Parameters*);
Daniel Hynds's avatar
Daniel Hynds committed
21
  StatusCode run(Clipboard*);
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
  void finalise();

  // Pixel histograms
  map<string, TH2F*> hitmap;
  map<string, TH1F*> eventTimes;
  
  // Cluster histograms
  map<string, TH1F*> clusterSize;
  map<string, TH1F*> clusterTot;
  map<string, TH2F*> clusterPositionGlobal;
  
  // Correlation plots
  map<string, TH1F*> correlationX;
  map<string, TH1F*> correlationY;
  map<string, TH1F*> correlationTime;
  map<string, TH1F*> correlationTimeInt;

39
40
  // Parameters which can be set by user
  bool makeCorrelations;
41
42
43
};

#endif // TESTALGORITHM_H