QwAnalysis
|
Compton data analysis. More...
#include <iostream>
#include <boost/random.hpp>
#include <TROOT.h>
#include <TFile.h>
#include <TTree.h>
#include "QwLog.h"
#include "QwRootFile.h"
#include "QwOptionsParity.h"
#include "QwEventBuffer.h"
#include "QwEPICSEvent.h"
#include "QwHelicity.h"
#include "QwHelicityPattern.h"
#include "QwHistogramHelper.h"
#include "QwSubsystemArrayParity.h"
#include "QwScaler.h"
#include "QwBeamLine.h"
#include "QwComptonPhotonDetector.h"
#include "QwComptonElectronDetector.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
Compton data analysis.
Definition in file QwCompton.cc.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Change some default settings for use by the Compton analyzer
Fill the search paths for the parameter files; this sets a static variable within the QwParameterFile class which will be used by all instances. The "scratch" directory should be first.
Set the command line arguments and the configuration filename
Define the command line options
Message logging facilities
Create the event buffer
Start loop over all runs
Begin processing for the first run
Set the current event number for parameter file lookup
Create an EPICS event
Load the detectors from file
Create the helicity pattern
Start loop over events
Definition at line 103 of file QwCompton.cc.
References QwHelicityPattern::AccumulateRunningBurstSum(), QwParameterFile::AppendToSearchPath(), QwSubsystemArrayParity::ApplySingleEventCuts(), QwHelicityPattern::CalculateAsymmetry(), QwHelicityPattern::CalculateBurstAverage(), QwHelicityPattern::CalculateRunningAverage(), QwHelicityPattern::CalculateRunningBurstAverage(), QwSubsystemArrayParity::CheckForEndOfBurst(), QwHelicityPattern::ClearBurstSum(), QwHelicityPattern::ClearEventData(), QwHelicityPattern::ClearRunningSum(), QwRootFile::Close(), QwEventBuffer::CloseStream(), QwRootFile::ConstructHistograms(), QwRootFile::ConstructIndices(), QwRootFile::ConstructTreeBranches(), DefineOptionsParity(), QwLog::endl(), QwEventBuffer::FillEPICSData(), QwRootFile::FillHistograms(), QwEventBuffer::FillSubsystemConfigurationData(), QwEventBuffer::FillSubsystemData(), QwRootFile::FillTree(), QwRootFile::FillTreeBranches(), QwHelicityPattern::GetBurstAsymmetry(), QwHelicityPattern::GetBurstDifference(), QwHelicityPattern::GetBurstYield(), getenv_safe_string(), QwEventBuffer::GetEventNumber(), QwEventBuffer::GetNextEvent(), QwEventBuffer::GetRunLabel(), QwEventBuffer::GetRunNumber(), gQwHists, gQwLog, gQwOptions, QwHelicityPattern::IsBurstSumEnabled(), QwHelicityPattern::IsCompletePattern(), QwHelicityPattern::IsEndOfBurst(), QwEventBuffer::IsEPICSEvent(), QwHelicityPattern::IsGoodAsymmetry(), QwEventBuffer::IsPhysicsEvent(), QwEventBuffer::IsROCConfigurationEvent(), QwHelicityPattern::IsRunningSumEnabled(), QwHelicityPattern::LoadEventData(), QwHistogramHelper::LoadHistParamsFromFile(), QwEventBuffer::OpenNextStream(), QwRootFile::PrintDirs(), QwEventBuffer::PrintRunTimes(), QwRootFile::PrintTrees(), QwSubsystemArray::ProcessEvent(), QwEPICSEvent::ProcessOptions(), QwHelicityPattern::ProcessOptions(), QwEventBuffer::ProcessOptions(), QwLog::ProcessOptions(), QwSubsystemArray::ProcessOptions(), QwError, QwMessage, MQwCodaControlEvent::ReportRunSummary(), QwOptions::SetCommandLine(), QwParameterFile::SetCurrentRunNumber(), QwEventBuffer::SetDefaultDataFileStem(), QwRootFile::SetDefaultRootFileStem(), QwRootFile::Write(), and QwRootFile::WriteParamFileList().