#include <PndDrcRecoLookupMap.h>
PndDrcRecoLookupMap.h
Class for Analysising DRC Cherenkov Photons with lookup tables for CHerenkov photons directions
Definition at line 49 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 87 of file PndDrcRecoLookupMap.h.
References PndGeoDrc::BBoxNum(), cos(), i, PndGeoDrc::PipehAngle(), and sin().
90 Double_t theta = (180. - 2 * fGeo->
PipehAngle()) / fGeo->
BBoxNum() / 180. * 3.1415;
92 Double_t rad_out = 102.6;
93 Double_t rad_in = 49.15;
94 Double_t rp_out = rad_out /
cos(theta);
95 Double_t rp_in = rad_in /
cos(theta);
96 Double_t xout[4], yout[4], xin[4], yin[4];
97 for (Int_t
i = 0;
i < 4;
i++) {
98 xout[
i] = rp_out *
cos(2.0 * (
i - 1) * theta);
99 yout[
i] = rp_out *
sin(2.0 * (
i - 1) * theta);
100 xin[
i] = rp_in *
cos(2.0 * (
i - 1) * theta);
101 yin[
i] = rp_in *
sin(2.0 * (
i - 1) * theta);
102 TLine *l1 =
new TLine(xout[
i], yout[i], xin[i], yin[i]);
105 TPolyLine *p1 =
new TPolyLine(4, xout, yout);
106 p1->SetFillColor(kYellow);
108 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 74 of file PndDrcRecoLookupMap.h.
76 const Int_t NRGBs = 5;
77 const Int_t NCont = 255;
79 Double_t stops[NRGBs] = {0.00, 0.34, 0.61, 0.84, 1.00};
80 Double_t red[NRGBs] = {0.00, 0.00, 0.87, 1.00, 0.51};
81 Double_t green[NRGBs] = {0.00, 0.81, 1.00, 0.20, 0.00};
82 Double_t blue[NRGBs] = {0.51, 1.00, 0.12, 0.00, 0.00};
83 TColor::CreateGradientColorTable(NRGBs, stops, red, green, blue, NCont);
84 gStyle->SetNumberContours(NCont);
The documentation for this class was generated from the following file: