#include <TPileupReweighting.h>
Definition at line 408 of file TPileupReweighting.h.
◆ Period()
| CP::TPileupReweighting::Period::Period |
( |
Int_t | _id, |
|
|
UInt_t | _start, |
|
|
UInt_t | _end, |
|
|
Int_t | _defaultChannel ) |
|
inline |
◆ contains()
Definition at line 424 of file TPileupReweighting.h.
424 {
425 if(runNumber >=
start && runNumber <=
end)
return true;
426 for(
auto p :
subPeriods)
if(
p->contains(runNumber))
return true;
427 return false;
428 };
std::vector< Period * > subPeriods
◆ print()
| void CP::TPileupReweighting::Period::print |
( |
const char * | prefix | ) |
|
|
inline |
Definition at line 433 of file TPileupReweighting.h.
433 {
434 std::cout <<
prefix <<
id <<
"[" <<
start <<
"," <<
end <<
"] : ";
436 std::cout << std::endl;
437 for(
auto p :
subPeriods)
p->print(TString::Format(
" %s",prefix).
Data()); };
std::map< Int_t, std::unique_ptr< TH1 > > inputHists
◆ SetDefaultChannel()
| void CP::TPileupReweighting::Period::SetDefaultChannel |
( |
Int_t | channel | ) |
|
|
inline |
◆ defaultChannel
| Int_t CP::TPileupReweighting::Period::defaultChannel |
◆ end
| UInt_t CP::TPileupReweighting::Period::end |
◆ id
| Int_t CP::TPileupReweighting::Period::id |
◆ inputBinRedirect
| std::map<Int_t, Int_t> CP::TPileupReweighting::Period::inputBinRedirect |
◆ inputHists
| std::map<Int_t, std::unique_ptr< TH1 > > CP::TPileupReweighting::Period::inputHists |
◆ numberOfEntries
| std::map<Int_t, Int_t> CP::TPileupReweighting::Period::numberOfEntries |
◆ primaryHists
| std::map<Int_t, std::unique_ptr< TH1 > > CP::TPileupReweighting::Period::primaryHists |
◆ runNumbers
| std::vector<UInt_t> CP::TPileupReweighting::Period::runNumbers |
◆ secondaryHists
| std::map<Int_t, std::unique_ptr< TH2 > > CP::TPileupReweighting::Period::secondaryHists |
◆ start
| UInt_t CP::TPileupReweighting::Period::start |
◆ subPeriods
| std::vector<Period*> CP::TPileupReweighting::Period::subPeriods |
◆ sumOfWeights
| std::map<Int_t, Double_t> CP::TPileupReweighting::Period::sumOfWeights |
◆ unrepData
| std::map<Int_t, Double_t> CP::TPileupReweighting::Period::unrepData |
The documentation for this struct was generated from the following file: