#include <PndDrcRecoLookupMap.h>
PndDrcRecoLookupMap.h
Class for Analysising DRC Cherenkov Photons with lookup tables for CHerenkov photons directions
Definition at line 61 of file PndDrcRecoLookupMap.h.
◆ PndDrcRecoLookupMap() [1/2]
PndDrcRecoLookupMap::PndDrcRecoLookupMap |
( |
| ) |
|
◆ PndDrcRecoLookupMap() [2/2]
PndDrcRecoLookupMap::PndDrcRecoLookupMap |
( |
Int_t |
verbose | ) |
|
Constructor with verbosity
◆ ~PndDrcRecoLookupMap()
virtual PndDrcRecoLookupMap::~PndDrcRecoLookupMap |
( |
| ) |
|
|
virtual |
◆ DrawDetectorLayout()
void PndDrcRecoLookupMap::DrawDetectorLayout |
( |
| ) |
|
|
inline |
Definition at line 99 of file PndDrcRecoLookupMap.h.
References PndGeoDrc::BBoxNum(), cos(), i, PndGeoDrc::PipehAngle(), and sin().
102 Double_t theta = (180. - 2 * fGeo->
PipehAngle()) / fGeo->
BBoxNum() / 180. * 3.1415;
104 Double_t rad_out = 102.6;
105 Double_t rad_in = 49.15;
106 Double_t rp_out = rad_out /
cos(theta);
107 Double_t rp_in = rad_in /
cos(theta);
108 Double_t xout[4], yout[4], xin[4], yin[4];
109 for (Int_t
i = 0;
i < 4;
i++) {
110 xout[
i] = rp_out *
cos(2.0 * (
i - 1) * theta);
111 yout[
i] = rp_out *
sin(2.0 * (
i - 1) * theta);
112 xin[
i] = rp_in *
cos(2.0 * (
i - 1) * theta);
113 yin[
i] = rp_in *
sin(2.0 * (
i - 1) * theta);
114 TLine *l1 =
new TLine(xout[
i], yout[i], xin[i], yin[i]);
117 TPolyLine *p1 =
new TPolyLine(4, xout, yout);
118 p1->SetFillColor(kYellow);
120 TPolyLine *p2 =
new TPolyLine(4, xin, yin);
friend F32vec4 cos(const F32vec4 &a)
friend F32vec4 sin(const F32vec4 &a)
◆ Exec()
virtual void PndDrcRecoLookupMap::Exec |
( |
Option_t * |
option | ) |
|
|
virtual |
◆ Finish()
virtual void PndDrcRecoLookupMap::Finish |
( |
| ) |
|
|
virtual |
◆ Init()
virtual InitStatus PndDrcRecoLookupMap::Init |
( |
| ) |
|
|
virtual |
◆ SetHistoWidth()
void PndDrcRecoLookupMap::SetHistoWidth |
( |
double |
wid = 0.01 | ) |
|
|
inline |
◆ SetMagneticField()
void PndDrcRecoLookupMap::SetMagneticField |
( |
double |
mag = 0. | ) |
|
|
inline |
◆ SetNSigma()
void PndDrcRecoLookupMap::SetNSigma |
( |
double |
nsig = 3. | ) |
|
|
inline |
◆ SetOutputFile()
void PndDrcRecoLookupMap::SetOutputFile |
( |
TString |
outName = "PndDrcRecoLookupMap_output.root" | ) |
|
|
inline |
◆ SetPlotStyle()
void PndDrcRecoLookupMap::SetPlotStyle |
( |
| ) |
|
|
inline |
Definition at line 86 of file PndDrcRecoLookupMap.h.
88 const Int_t NRGBs = 5;
89 const Int_t NCont = 255;
91 Double_t stops[NRGBs] = {0.00, 0.34, 0.61, 0.84, 1.00};
92 Double_t red[NRGBs] = {0.00, 0.00, 0.87, 1.00, 0.51};
93 Double_t green[NRGBs] = {0.00, 0.81, 1.00, 0.20, 0.00};
94 Double_t blue[NRGBs] = {0.51, 1.00, 0.12, 0.00, 0.00};
95 TColor::CreateGradientColorTable(NRGBs, stops, red, green, blue, NCont);
96 gStyle->SetNumberContours(NCont);
The documentation for this class was generated from the following file: