QwAnalysis
|
Parity mock data generator, test code. More...
#include <iostream>
#include <boost/random.hpp>
#include "QwLog.h"
#include "QwBeamLine.h"
#include "QwOptionsParity.h"
#include "QwEventBuffer.h"
#include "QwHelicity.h"
#include "QwHelicityPattern.h"
#include "QwMainCerenkovDetector.h"
#include "QwLumi.h"
#include "QwScanner.h"
#include "QwSubsystemArrayParity.h"
Go to the source code of this file.
Macros | |
#define | NVARS 3 |
Functions | |
std::string | stringify (int i) |
int | main (int argc, char *argv[]) |
Variables | |
static const int | kMultiplet = 4 |
static const bool | kBeamTrips = true |
static const bool | kDebug = false |
Parity mock data generator, test code.
Definition in file QwMockDataGenerator.cc.
#define NVARS 3 |
Definition at line 29 of file QwMockDataGenerator.cc.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 48 of file QwMockDataGenerator.cc.
References VQwBCM::AddRandomEventDriftParameters(), QwParameterFile::AppendToSearchPath(), QwSubsystemArray::ClearEventData(), QwEventBuffer::CloseDataFile(), DefineOptionsParity(), Qw::e, QwEventBuffer::EncodeEndEvent(), QwEventBuffer::EncodeGoEvent(), QwEventBuffer::EncodePrestartEvent(), QwEventBuffer::EncodeSubsystemData(), QwLog::endl(), QwBeamLine::GetBCM(), QwBeamLine::GetBPMStripline(), getenv_safe_string(), QwHelicity::GetHelicityActual(), QwHelicity::GetHelicityDelayed(), QwOptions::GetIntValuePairFirst(), QwOptions::GetIntValuePairLast(), QwHelicity::GetRandomSeedActual(), QwHelicity::GetRandomSeedDelayed(), QwSubsystemArrayParity::GetSubsystemByName(), gQwOptions, Qw::hour, Qw::Hz, kBeamTrips, kDebug, kMultiplet, Qw::ms, NVARS, QwEventBuffer::OpenDataFile(), QwSubsystemArray::ProcessOptions(), QwMessage, QwWarning, QwSubsystemArray::RandomizeEventData(), MQwCodaControlEvent::ReportRunSummary(), MQwCodaControlEvent::ResetControlParameters(), QwHelicity::RunPredictor(), Qw::sec, QwOptions::SetCommandLine(), QwOptions::SetConfigFile(), QwHelicity::SetEventPatternPhase(), QwHelicity::SetFirstBits(), QwMainCerenkovDetector::SetRandomEventAsymmetry(), VQwBCM::SetRandomEventAsymmetry(), QwLumi::SetRandomEventAsymmetry(), QwMainCerenkovDetector::SetRandomEventParameters(), VQwBCM::SetRandomEventParameters(), QwLumi::SetRandomEventParameters(), and VQwBPM::SetRandomEventParameters().
|
inline |
Definition at line 42 of file QwMockDataGenerator.cc.
|
static |
Definition at line 36 of file QwMockDataGenerator.cc.
Referenced by main().
|
static |
Definition at line 39 of file QwMockDataGenerator.cc.
Referenced by main().
|
static |
Definition at line 33 of file QwMockDataGenerator.cc.
Referenced by main().