#include <FP420Test.h>
|
void | BookHistos () |
|
void | HistInit (const char *name, const char *title, Int_t nbinsx, Axis_t xlow, Axis_t xup) |
|
void | HistInit (const char *name, const char *title, Int_t nbinsx, Axis_t xlow, Axis_t xup, Int_t nbinsy, Axis_t ylow, Axis_t yup) |
|
void | StoreWeights () |
|
Definition at line 55 of file FP420Test.h.
◆ Fp420AnalysisHistManager()
Fp420AnalysisHistManager::Fp420AnalysisHistManager |
( |
const TString & |
managername | ) |
|
Definition at line 144 of file FP420Test.cc.
151 TH1::AddDirectory(kFALSE);
◆ ~Fp420AnalysisHistManager()
Fp420AnalysisHistManager::~Fp420AnalysisHistManager |
( |
| ) |
|
|
override |
◆ BookHistos()
void Fp420AnalysisHistManager::BookHistos |
( |
| ) |
|
|
private |
Definition at line 176 of file FP420Test.cc.
178 HistInit(
"PrimaryEta",
"Primary Eta", 100, 9., 12.);
179 HistInit(
"PrimaryPhigrad",
"Primary Phigrad", 100, 0., 360.);
180 HistInit(
"PrimaryTh",
"Primary Th", 100, 0., 180.);
181 HistInit(
"PrimaryLastpoZ",
"Primary Lastpo Z", 100, -200., 430000.);
182 HistInit(
"PrimaryLastpoX",
"Primary Lastpo X Z<z4", 100, -30., 30.);
183 HistInit(
"PrimaryLastpoY",
"Primary Lastpo Y Z<z4", 100, -30., 30.);
184 HistInit(
"XLastpoNumofpart",
"Primary Lastpo X n>10", 100, -30., 30.);
185 HistInit(
"YLastpoNumofpart",
"Primary Lastpo Y n>10", 100, -30., 30.);
186 HistInit(
"VtxX",
"Vtx X", 100, -50., 50.);
187 HistInit(
"VtxY",
"Vtx Y", 100, -50., 50.);
188 HistInit(
"VtxZ",
"Vtx Z", 100, -200., 430000.);
190 HistInit(
"SumEDep",
"This is sum Energy deposited", 100, -1, 199.);
191 HistInit(
"TrackL",
"This is TrackL", 100, 0., 12000.);
192 HistInit(
"zHits",
"z Hits all events", 100, 400000., 430000.);
193 HistInit(
"zHitsnoMI",
"z Hits no MI", 100, 400000., 430000.);
194 HistInit(
"zHitsTrLoLe",
"z Hits TrLength bigger 8300", 100, 400000., 430000.);
195 HistInit(
"NumberOfHits",
"NumberOfHits", 100, 0., 300.);
◆ GetHisto() [1/2]
TH1F * Fp420AnalysisHistManager::GetHisto |
( |
const TObjString & |
histname | ) |
|
◆ GetHisto() [2/2]
TH1F * Fp420AnalysisHistManager::GetHisto |
( |
Int_t |
Number | ) |
|
◆ GetHisto2() [1/2]
TH2F * Fp420AnalysisHistManager::GetHisto2 |
( |
const TObjString & |
histname | ) |
|
◆ GetHisto2() [2/2]
TH2F * Fp420AnalysisHistManager::GetHisto2 |
( |
Int_t |
Number | ) |
|
◆ HistInit() [1/2]
void Fp420AnalysisHistManager::HistInit |
( |
const char * |
name, |
|
|
const char * |
title, |
|
|
Int_t |
nbinsx, |
|
|
Axis_t |
xlow, |
|
|
Axis_t |
xup |
|
) |
| |
|
private |
◆ HistInit() [2/2]
void Fp420AnalysisHistManager::HistInit |
( |
const char * |
name, |
|
|
const char * |
title, |
|
|
Int_t |
nbinsx, |
|
|
Axis_t |
xlow, |
|
|
Axis_t |
xup, |
|
|
Int_t |
nbinsy, |
|
|
Axis_t |
ylow, |
|
|
Axis_t |
yup |
|
) |
| |
|
private |
Definition at line 227 of file FP420Test.cc.
232 strcpy(newtitle,
title);
233 strcat(newtitle,
" (");
235 strcat(newtitle,
") ");
236 fHistArray->AddLast((
new TH2F(
name, newtitle, nbinsx, xlow, xup, nbinsy, ylow, yup)));
References Skims_PA_cff::name, and runGCPTkAlMap::title.
◆ StoreWeights()
void Fp420AnalysisHistManager::StoreWeights |
( |
| ) |
|
|
private |
◆ WriteToFile()
void Fp420AnalysisHistManager::WriteToFile |
( |
const TString & |
fOutputFile, |
|
|
const TString & |
fRecreateFile |
|
) |
| |
Definition at line 200 of file FP420Test.cc.
203 std::cout <<
"================================================================" << std::endl;
204 std::cout <<
" Write this Analysis to File " << fOutputFile << std::endl;
205 std::cout <<
"================================================================" << std::endl;
207 TFile*
file =
new TFile(fOutputFile, fRecreateFile);
References gather_cfg::cout, and geometryDiff::file.
◆ fHistArray
TObjArray* Fp420AnalysisHistManager::fHistArray |
|
private |
◆ fHistNamesArray
TObjArray* Fp420AnalysisHistManager::fHistNamesArray |
|
private |
◆ fTypeTitle
const char* Fp420AnalysisHistManager::fTypeTitle |
|
private |