-
Notifications
You must be signed in to change notification settings - Fork 0
/
VetoDisplay.hh
50 lines (47 loc) · 1.17 KB
/
VetoDisplay.hh
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
40
41
42
43
44
45
46
47
48
49
50
#ifndef VetoDisplay_hh
#define VetoDisplay_hh
#include "VetoDisplay.hh"
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <list>
#include <TROOT.h>
#include <TFile.h>
#include <TTree.h>
#include <TH1D.h>
#include <TH2F.h>
#include <TF1.h>
#include <TGraph.h>
#include <TChain.h>
#include <TCanvas.h>
#include <TMath.h>
#include "TBenchmark.h"
#include <TColor.h>
#include "TGeoManager.h"
#include "TGeoMaterial.h"
#include "TGeoMedium.h"
#include "TGeoManager.h"
#include "TPaveText.h"
#include "TDatabasePDG.h"
#include "TVirtualGeoTrack.h"
#include "TVector3.h"
#include "TApplication.h"
#include "TGeoCompositeShape.h"
class VetoDisplay
{
public:
VetoDisplay();
int coloring(int qdc,int mode);
int isNextTo(int panel1, int panel2);
int isLayerHit(int panel1, int panel2);
std::vector<Double_t> hitLocation(int panel1, int panel2);
void hitFinder(char* innum1, char* innum2);
void DrawEvent(Int_t qdcVals[], Int_t numberOfPanelsHit, Int_t totalQDC, Int_t runNumber, Int_t eventCount);
void fillPlots(Int_t qdcvals[], Int_t totalQDC, Int_t numberOfPanelsHit, Int_t ievent);
void drawPlots();
void printPlots();
}
#endif
;