ROOT logo

#ifndef HRICH700DATA_H
#define HRICH700DATA_H

#include "TObject.h"
#include <vector>

using namespace std;

#include "TObject.h"
#include "hrich700pmttypeenum.h"

class HRich700Hit {
public:
	Float_t fX;
	Float_t fY;
	Int_t fId; // index of the richCal object
};


class HRich700Ring {
public:
	// circle parameters
	Double_t fCircleXCenter;
	Double_t fCircleYCenter;
	Double_t fCircleRadius;
	Double_t fCircleChi2;

	Bool_t fIsGood;

	// array of RICH hits assigned to the ring
	vector<HRich700Hit> fHits;
};

class HRich700PmtData : public TObject {
public:
	Double_t fX; // PMT center X position in [mm]
	Double_t fY; // PMT center Y position in [mm]
	Double_t fZ; // PMT center Z position in [mm]
	Int_t fIndX; // index X of PMT
	Int_t fIndY; // index Y of PMT
	Int_t fPmtId; // PMT ID
    HRich700PmtTypeEnum fPmtType; // type of PMT (QE curve)
	Int_t fSector; // Sector number
    Double_t fTheta; // theta for track matching
    Double_t fPhi; // phi for track matching

    ClassDef(HRich700PmtData,1)
};


#endif
 hrich700data.h:1
 hrich700data.h:2
 hrich700data.h:3
 hrich700data.h:4
 hrich700data.h:5
 hrich700data.h:6
 hrich700data.h:7
 hrich700data.h:8
 hrich700data.h:9
 hrich700data.h:10
 hrich700data.h:11
 hrich700data.h:12
 hrich700data.h:13
 hrich700data.h:14
 hrich700data.h:15
 hrich700data.h:16
 hrich700data.h:17
 hrich700data.h:18
 hrich700data.h:19
 hrich700data.h:20
 hrich700data.h:21
 hrich700data.h:22
 hrich700data.h:23
 hrich700data.h:24
 hrich700data.h:25
 hrich700data.h:26
 hrich700data.h:27
 hrich700data.h:28
 hrich700data.h:29
 hrich700data.h:30
 hrich700data.h:31
 hrich700data.h:32
 hrich700data.h:33
 hrich700data.h:34
 hrich700data.h:35
 hrich700data.h:36
 hrich700data.h:37
 hrich700data.h:38
 hrich700data.h:39
 hrich700data.h:40
 hrich700data.h:41
 hrich700data.h:42
 hrich700data.h:43
 hrich700data.h:44
 hrich700data.h:45
 hrich700data.h:46
 hrich700data.h:47
 hrich700data.h:48
 hrich700data.h:49
 hrich700data.h:50
 hrich700data.h:51
 hrich700data.h:52