This class holds all of the data created by alcapana analysis modules. More...
#include <TGlobalData.h>
Public Member Functions | |
void | Clear (const Option_t *=0x0) |
TGlobalData () | |
Static Public Member Functions | |
static TGlobalData * | Instance () |
Public Attributes | |
std::map< std::string, std::vector< TPulseIsland * > > | fPulseIslandToChannelMap |
Map of bank names to vectors of TPIs. | |
std::vector< TMuPCCluster * > | fMuPCClusterVector |
TMuPCCluster. | |
Private Member Functions | |
TGlobalData (const TGlobalData &) | |
TGlobalData | operator= (const TGlobalData &) |
This class holds all of the data created by alcapana analysis modules.
During analysis in alcapana, a pointer to a structure of TGlobalData (TGD) type is instantiated to hold all of the TPIs of a given MIDAS event. During rootana production, the data is loaded back into a TGD to be passed on to the next stage of analysis.
Definition at line 24 of file TGlobalData.h.
TGlobalData::TGlobalData | ( | ) | [inline] |
Definition at line 42 of file TGlobalData.h.
TGlobalData::TGlobalData | ( | const TGlobalData & | ) | [private] |
void TGlobalData::Clear | ( | const Option_t * | = 0x0 |
) |
Deletes all the held TPulseIsland*s and sets their pointers to 0x0. Then clears the vectors<TPulseIsland*> WARNING: this method is for offline (rootana) use only! It has not been checked for online (alcapana, or below) use and may result in double-frees if used there.
Referenced by EventNavigator::LoadEntry(), Main_event_loop(), and LoopSequence::Process().
TGlobalData TGlobalData::operator= | ( | const TGlobalData & | ) | [private] |
std::vector<TMuPCCluster*> TGlobalData::fMuPCClusterVector |
Definition at line 40 of file TGlobalData.h.
std::map<std::string, std::vector<TPulseIsland*> > TGlobalData::fPulseIslandToChannelMap |
Map of bank names to vectors of TPIs.
Definition at line 37 of file TGlobalData.h.
Referenced by TemplateCreator::BeforeFirstEntry(), IslandAmplitude::BeforeFirstEntry(), IslandLength::Book(), ExportPulse::GetTPIsFromDetector(), MDQ_Amplitude(), MDQ_Amplitude_eor(), MDQ_DigitizerOverflow(), MDQ_IslandCounter(), MDQ_IslandCounter_eor(), MDQ_IslandLength(), MDQ_IslandLength_eor(), MDQ_IslandRate(), MDQ_IslandTimestamp(), MDQ_IslandTimestamp_eor(), MDQ_muScTDiff(), MDQ_muScTDiff_eor(), MDQ_PulseShapes(), MDQ_TDCCheck(), MExpectedIslands(), MFastSlowCorrelator(), EventNavigator::MirrorRawInputFormat(), MMuSCTimeDifferences(), MMuSCTimeDifferences_init(), MNumberIslands(), module_event_caen(), module_event_sort_and_stitch(), MPulseLengths(), TemplateCreator::ProcessEntry(), PulseCandidateFinder_InvestigateParameters::ProcessEntry(), MakeAnalysedPulses::ProcessEntry(), MakeTemplate::ProcessEntry(), PlotTPI_PedestalAndNoise::ProcessEntry(), GeSpectrum::ProcessEntry(), FastSlowCompare::ProcessEntry(), SimpleHistograms::ProcessEntry(), MyModule::ProcessEntry(), IslandLength::ProcessEntry(), and IslandAmplitude::ProcessEntry().