rootana

Second stage of analysis in the AlCap framework. More...

Classes

class  TGlobalData
 This class holds all of the data created by alcapana analysis modules. More...
class  TPulseIsland
 A uniform format for data from many different detectors. More...
class  TSetupData
 Holds data relevent to each run. More...
class  TAnalysedPulse
 A TAnalysedPulse (TAP) is the product of the second level of analysis in the framework. More...
class  TAnalysedPulseMapWrapper
class  TVAnalysedPulseGenerator
 The intended ancestor of all TAnalysedPulse generators, used to create TAPs from TPIs. More...

Modules

 Modules
 

Analysis modules for rootana.


 Analyzed Pulse Generators
 

TAnalysedPulse generators used by rootana.


 Detector Pulse Generators
 

TDetectorPulse generators used by rootana.




Int_t Main_event_loop (TTree *dataTree, ARGUMENTS &arguments)

Detailed Description

Second stage of analysis in the AlCap framework.


Function Documentation

Int_t Main_event_loop ( TTree *  dataTree,
ARGUMENTS arguments 
)

rootana_main

Definition at line 180 of file main.cpp.

References TGlobalData::Clear(), EventNavigator::GetInputNEntries(), EventNavigator::GetRawData(), EventNavigator::Instance(), EventNavigator::MakeLoopSequence(), and LoopSequence::Run().

Referenced by main().

00181 {
00182   //Loop over tree entries and call histogramming modules.
00183   EventNavigator& enav = EventNavigator::Instance();
00184   Long64_t nEntries = enav.GetInputNEntries();
00185   std::cout << "Raw data tree contains " << nEntries 
00186             << " entries." << std::endl
00187             << "Processing file, which may take a while..."
00188             << std::endl;
00189 
00190   //set up the input data
00191   TGlobalData* raw_data = enav.GetRawData();
00192   if ( raw_data ){
00193     raw_data->Clear("C");
00194   }
00195   
00196   enav.MakeLoopSequence(arguments).Run();
00197   std::cout << "Finished processing data" << std::endl;
00198   return 0;
00199 }


Generated on 15 Jun 2016 for AlcapDAQ by  doxygen 1.6.1