#include <Normalization.h>
|
static unsigned int | N_MU = 0 |
|
Definition at line 11 of file Normalization.h.
Normalization::Normalization |
( |
char * |
HistogramDirectoryName, |
|
|
int |
threshold = 350 |
|
) |
| |
Normalization::~Normalization |
( |
) | |
|
bool FillHistBase::Debug |
( |
) | |
const |
|
inlineprotectedinherited |
unsigned int Normalization::GetMuonCount |
( |
) | |
|
|
static |
const char* FillHistBase::GetName |
( |
) | |
const |
|
inlineinherited |
bool Normalization::IsOverThreshold |
( |
std::vector< TPulseIsland * >::iterator & |
pulse) | |
|
|
private |
Definition at line 65 of file Normalization.cpp.
References fThreshold, and samples.
Referenced by ProcessEntry().
67 std::vector<int>
samples = (*pulse)->GetSamples();
68 static std::vector<int>::iterator iSample;
69 for (iSample = samples.begin(); iSample != samples.end(); ++iSample)
Reimplemented from FillHistBase.
Definition at line 25 of file Normalization.cpp.
References TSetupData::fBankToDetectorMap, fNMuons, TGlobalData::fPulseIslandToChannelMap, hNumberOfMuons, IsOverThreshold(), and N_MU.
29 std::cout <<
"ERROR: Normalization::N_MU changed unexpectadly!" << std::endl;
35 std::string bankname =
"";
37 static std::map<std::string, std::string>::iterator iBank;
38 for (iBank = B2D.begin(); iBank != B2D.end(); ++iBank) {
39 if (iBank->second ==
"muSc") {
40 bankname = iBank->first;
47 std::cout <<
"Warning: Could not find muSc pulses! (TPulseIsland* vector not found, N_MU set to zero)" << std::endl;
54 static std::vector<TPulseIsland*>::iterator iPulse;
55 for (iPulse = pulses.begin(); iPulse != pulses.end(); ++iPulse)
TDirectory* FillHistBase::dir |
|
protectedinherited |
unsigned int Normalization::fNMuons |
|
private |
int Normalization::fThreshold |
|
private |
unsigned int Normalization::N_MU = 0 |
|
staticprivate |
The documentation for this class was generated from the following files: