CbmRoot
Loading...
Searching...
No Matches
CbmRichMirror.h
Go to the documentation of this file.
1/* Copyright (C) 2016 Justus-Liebig-Universitaet Giessen, Giessen
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Jordan Bendarouach [committer] */
4
5#ifndef CBMRICHMIRROR_H
6#define CBMRICHMIRROR_H
7
8
9#include "CbmRichRingLight.h"
10#include "FairTask.h"
11#include "TVector3.h"
12
13#include <fstream>
14#include <iomanip>
15#include <iostream>
16#include <vector>
17
18using namespace std;
19
20class TClonesArray;
21class TH1D;
22class TH2D;
23
24
26 public:
27 /*
28 * Constructor.
29 */
31
32 /*
33 * Destructor.
34 */
35 virtual ~CbmRichMirror() {}
36
37 // Modifiers:
38 void setMirrorId(string s) { fMirrorId = s; }
39 void setMomentum(TVector3 v) { fMomentum = v; }
40 void setProjHit(Double_t xX, Double_t yY) { fProjHit.push_back(xX), fProjHit.push_back(yY); }
41 void setExtrapHit(Double_t xX, Double_t yY) { fExtrapHit.push_back(xX), fExtrapHit.push_back(yY); }
42 void setRotAngles(Double_t xX, Double_t yY) { fRotAngles.push_back(xX), fRotAngles.push_back(yY); }
43 void setRingLight(CbmRichRingLight ringL) { fRingL = ringL; }
44
45 // Accessors:
46 string getMirrorId() { return fMirrorId; }
47 TVector3 getMomentum() { return fMomentum; }
48 vector<Double_t> getProjHit() { return fProjHit; }
49 vector<Double_t> getExtrapHit() { return fExtrapHit; }
50 vector<Double_t> getRotAngles() { return fRotAngles; }
52
53
54 private:
55 string fMirrorId;
56 TVector3 fMomentum;
57 vector<Double_t> fProjHit;
58 vector<Double_t> fExtrapHit;
59 vector<Double_t> fRotAngles;
61
64
66};
67
68#endif
fscal v[fmask::Size]
Definition KfSimdPseudo.h:4
void setMomentum(TVector3 v)
void setProjHit(Double_t xX, Double_t yY)
vector< Double_t > getProjHit()
TVector3 getMomentum()
vector< Double_t > fRotAngles
vector< Double_t > fProjHit
void setRingLight(CbmRichRingLight ringL)
vector< Double_t > getRotAngles()
string getMirrorId()
void setMirrorId(string s)
CbmRichRingLight getRingLight()
virtual ~CbmRichMirror()
CbmRichMirror(const CbmRichMirror &)
void setRotAngles(Double_t xX, Double_t yY)
ClassDef(CbmRichMirror, 1)
CbmRichMirror operator=(const CbmRichMirror &)
void setExtrapHit(Double_t xX, Double_t yY)
CbmRichRingLight fRingL
vector< Double_t > getExtrapHit()
TVector3 fMomentum
vector< Double_t > fExtrapHit
Hash for CbmL1LinkKey.