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