17#include "framework/core/Module.h"
18#include "trg/cdc/TRGCDC.h"
19#include "trg/cdc/SteppingAction.h"
49 virtual void event()
override;
52 virtual void endRun()
override;
60 std::string
version(
void)
const;
A module to simulate the CDC trigger.
int _curlBackStop
Curl back stop parameter. 0:do nothing, 1:stop curling. Default is 0.
bool _fileFitter3D
Switch for Fitter3D.root file.
bool _fFitter3Ds2DFitDrift
Switch to us wire 2D fit or drift 2D fit.
bool _fFitter3Ds2DFit
Switch to us 2D fit or Hough finder results.
std::string _configFilename
Config. file name.
int _trgCDCDataInputMode
Switch for TRG CDC input mode.
std::string _hFinderMappingFilePlus
Hough mapping file for charge plus.
std::string m_3DfitterCollectionName
Name of the StoreArray holding the tracks made by the 3D fitter.
int _debugLevel
Debug level.
int _finder3DMode
Sets mode of 3DFinder.
bool _fXtSimpleFitter3D
Switch for using simple x-t curve or non-linear x-t curve. 0: non-linear 1: simple.
std::string _outerTSLUTFilename
The filename of LUT for outer track segments.(tmp)
int _simulationMode
Mode for TRGCDC simulation. 0th bit : fast simulation switch, 1st bit : firmware simulation switch.
std::string _innerTSLUTFilename
The filename of LUT for the inner-most track segments.(tmp)
bool _fLogicLUTTSF
Switch for the Logic/LUT TSF.
TRGCDCSteppingAction * _sa
A pointer to a TRGCDCSteppingAction which stops curl backs.
int _fverETF
Switch for selecting ETF version.
bool _fileHough3D
Switch for Hough3D.root file.
bool _fileTSF
Switch for TSF.root file.
bool _fileETF
Switch for ETF.root file.
std::string _rootTRGCDCFilename
The filename of root file for TRGCDC.
int _hFinderPeakMin
Min. peak height for the Hough finder.
bool _fprintFirmETF
Switch for printing Firmware inputs for ETF.
std::string m_inputCollectionName
Name of the CDCHit StoreArray used as input.
bool _fileTRGCDC
Switch for TRGCDC.root file.
std::string m_2DfinderCollectionName
Name of the StoreArray holding the tracks made by the 2D finder.
int _firmwareSimulationMode
Switch for the firmware simulation. 0:do nothing, 1:do everything.
bool _perfect2DFinder
Switch to activate perfect 2D finder.
double _wireHitInefficiency
Parameter for Hit inefficiency.
TRGCDC * _cdc
A pointer to a TRGCDC;.
int _hFinderDoit
Hough finder doit version.
int _firmwareSimulationStop
Stop clock for the firmware simultion. (clock=cdcfe)
int _firmwareSimulationStart
Start clock for the firmware simultion. (clock=cdcfe)
int _fastSimulationMode
Switch for the fast simulation. 0:do everything, 1:stop after the track segment simulation....
bool _perfect3DFinder
Switch to activate perfect 3D finder.
std::string m_2DfitterCollectionName
Name of the StoreArray holding the tracks made by the 2D fitter.
std::string _rootFitter3DFilename
The filename of root file for Fitter3D.
bool _fFitter3Dsmclr
Switch for Fitter3D's MC L/R information.
std::vector< std::string > _returnValueModuleNames
returnValue module's name. Can be ["", "TSF", "ETF", "find2D", "fit2D", "find3D", "fit3D"]....
bool _fLRLUT
Switch for the LR LUT in Fitter3D.
std::string _hFinderMappingFileMinus
Hough mapping file for charge minus.
A class to control a track in G4.
The instance of TRGCDC is a singleton.
virtual void initialize() override
Initilizes TRGCDCModule.
virtual ~TRGCDCModule()
Destructor.
virtual void event() override
Called event by event.
virtual void endRun() override
Called when run ended.
virtual void terminate() override
Called when processing ended.
TRGCDCModule()
Constructor.
virtual void beginRun() override
Called when new run started.
std::string version(void) const
returns version of TRGCDCModule.
Abstract base class for different kinds of events.