Belle II Software development
|
This class is the interface between TSim/basf2 TSF module and the firmware simulation core of XSim/ISim. More...
#include <CDCTriggerTSFFirmwareModule.h>
Public Types | |
enum | EModulePropFlags { c_Input = 1 , c_Output = 2 , c_ParallelProcessingCertified = 4 , c_HistogramManager = 8 , c_InternalSerializer = 16 , c_TerminateInAllProcesses = 32 , c_DontCollectStatistics = 64 } |
Each module can be tagged with property flags, which indicate certain features of the module. More... | |
typedef ModuleCondition::EAfterConditionPath | EAfterConditionPath |
Forward the EAfterConditionPath definition from the ModuleCondition. | |
Public Member Functions | |
CDCTriggerTSFFirmwareModule () | |
Constructor. | |
void | initialize () override |
spawn child process for workers, open pipes to pass data | |
void | terminate () override |
close the pipes and wait for children to die. | |
void | event () override |
Things to do for each event. | |
virtual std::vector< std::string > | getFileNames (bool outputFiles) |
Return a list of output filenames for this modules. | |
virtual void | beginRun () |
Called when entering a new run. | |
virtual void | endRun () |
This method is called if the current run ends. | |
const std::string & | getName () const |
Returns the name of the module. | |
const std::string & | getType () const |
Returns the type of the module (i.e. | |
const std::string & | getPackage () const |
Returns the package this module is in. | |
const std::string & | getDescription () const |
Returns the description of the module. | |
void | setName (const std::string &name) |
Set the name of the module. | |
void | setPropertyFlags (unsigned int propertyFlags) |
Sets the flags for the module properties. | |
LogConfig & | getLogConfig () |
Returns the log system configuration. | |
void | setLogConfig (const LogConfig &logConfig) |
Set the log system configuration. | |
void | setLogLevel (int logLevel) |
Configure the log level. | |
void | setDebugLevel (int debugLevel) |
Configure the debug messaging level. | |
void | setAbortLevel (int abortLevel) |
Configure the abort log level. | |
void | setLogInfo (int logLevel, unsigned int logInfo) |
Configure the printed log information for the given level. | |
void | if_value (const std::string &expression, const std::shared_ptr< Path > &path, EAfterConditionPath afterConditionPath=EAfterConditionPath::c_End) |
Add a condition to the module. | |
void | if_false (const std::shared_ptr< Path > &path, EAfterConditionPath afterConditionPath=EAfterConditionPath::c_End) |
A simplified version to add a condition to the module. | |
void | if_true (const std::shared_ptr< Path > &path, EAfterConditionPath afterConditionPath=EAfterConditionPath::c_End) |
A simplified version to set the condition of the module. | |
bool | hasCondition () const |
Returns true if at least one condition was set for the module. | |
const ModuleCondition * | getCondition () const |
Return a pointer to the first condition (or nullptr, if none was set) | |
const std::vector< ModuleCondition > & | getAllConditions () const |
Return all set conditions for this module. | |
bool | evalCondition () const |
If at least one condition was set, it is evaluated and true returned if at least one condition returns true. | |
std::shared_ptr< Path > | getConditionPath () const |
Returns the path of the last true condition (if there is at least one, else reaturn a null pointer). | |
Module::EAfterConditionPath | getAfterConditionPath () const |
What to do after the conditional path is finished. | |
std::vector< std::shared_ptr< Path > > | getAllConditionPaths () const |
Return all condition paths currently set (no matter if the condition is true or not). | |
bool | hasProperties (unsigned int propertyFlags) const |
Returns true if all specified property flags are available in this module. | |
bool | hasUnsetForcedParams () const |
Returns true and prints error message if the module has unset parameters which the user has to set in the steering file. | |
const ModuleParamList & | getParamList () const |
Return module param list. | |
template<typename T > | |
ModuleParam< T > & | getParam (const std::string &name) const |
Returns a reference to a parameter. | |
bool | hasReturnValue () const |
Return true if this module has a valid return value set. | |
int | getReturnValue () const |
Return the return value set by this module. | |
std::shared_ptr< PathElement > | clone () const override |
Create an independent copy of this module. | |
std::shared_ptr< boost::python::list > | getParamInfoListPython () const |
Returns a python list of all parameters. | |
Static Public Member Functions | |
static void | exposePythonAPI () |
Exposes methods of the Module class to Python. | |
Static Public Attributes | |
static constexpr int | m_nSubModules = 5 |
number of TSF to simulate | |
static constexpr std::array< int, 9 > | nMergers = {10, 10, 12, 14, 16, 18, 20, 22, 24} |
number of mergers in each super layer | |
static constexpr std::array< int, m_nSubModules > | nAxialMergers = {10, 12, 16, 20, 24} |
number of mergers in axial super layers | |
static constexpr int | nTrackers = 4 |
number of trackers | |
static constexpr int | mergerWidth = 256 |
merger output data width | |
static constexpr int | width_out = 429 |
width of output data width | |
static constexpr int | nWiresInMerger = 80 |
number of wire/cell in a single merger unit | |
static constexpr int | nCellsInLayer = 16 |
Number of wire/cells in a single layer per merger unit. | |
static constexpr int | nSegmentsInMerger = 16 |
number of track segments in a single merger unit | |
static constexpr size_t | timeWidth = 4 |
bit width for priority time and fast time | |
static constexpr int | m_nClockPerEvent = 44 |
how many clocks to simulate per event | |
static constexpr int | clockPeriod = 16 |
data clock period (32ns) in unit of 2ns | |
Protected Types | |
using | outputVector = std::array< char, width_out > |
output vector | |
using | outputArray = std::array< outputVector, nTrackers > |
output array | |
using | signalBus = std::array< outputArray, m_nSubModules > |
signal bus | |
using | signalBitStream = Bitstream< signalBus > |
signal bit stream | |
using | mergerVector = std::bitset< mergerWidth > |
Merger vector. | |
using | mergerOutput = std::vector< mergerVector > |
Merger output. | |
using | mergerOutArray = std::array< mergerOutput, m_nSubModules > |
Merger output array. | |
using | inputVector = std::array< char, mergerWidth > |
input array | |
using | inputFromMerger = std::vector< inputVector > |
input array from Merger | |
using | inputToTSFArray = std::array< inputFromMerger, m_nSubModules > |
input array to TSF | |
using | streamPair = std::array< FILE *, 2 > |
file handlers of pipes | |
using | timeVec = std::bitset< timeWidth > |
element of data structure to hold merger output | |
template<size_t nEdges> | |
using | mergerStructElement = std::tuple< std::array< timeVec, nSegmentsInMerger >, std::array< timeVec, nSegmentsInMerger >, std::array< timeVec, nEdges >, std::array< std::bitset< nWiresInMerger >, 1 >, std::array< std::bitset< nSegmentsInMerger >, 1 > > |
data structure to hold merger output <priority time (4 bits x 16), fast time (4 bits x 16), edge timing (4 bits x 3 or 5), hitmap (80 bits x 1), 2nd priority hit (16 bit x 1)> | |
template<size_t nEdges> | |
using | mergerStruct = std::vector< mergerStructElement< nEdges > > |
data structure to hold merger output | |
using | registeredStructElement = std::array< std::bitset< nCellsInLayer >, 3 > |
record when a time slow has been registered by a hit <priority time, fast time, edge timing> | |
using | registeredStruct = std::vector< registeredStructElement > |
vector of registeredStructElement | |
using | priorityHitInMerger = std::map< unsigned, int > |
priority hits map in Merger | |
using | priorityHitStructInSL = std::vector< priorityHitInMerger > |
priority hits map in Merger for a SL | |
using | priorityHitStructInClock = std::map< unsigned, priorityHitStructInSL > |
priority hits map in Merger for a clock | |
using | priorityHitStruct = std::array< priorityHitStructInClock, m_nClockPerEvent > |
all priority hits map in Merger | |
using | WireSet = std::vector< short > |
Wire set. | |
using | TSMap = std::unordered_map< short, WireSet > |
TS map. | |
using | edgeMap = std::unordered_map< unsigned short, timeVec * > |
edge wire list | |
using | cellList = std::vector< unsigned short > |
cell list | |
using | edgeList = std::unordered_map< unsigned short, std::vector< unsigned short > > |
edge wire list | |
Protected Member Functions | |
template<int iSL> | |
char * | getData (inputToTSFArray) |
get the XSI compliant format from the bits format TSF input | |
void | write (const char *message, FILE *outstream) |
write TSF input signals to the worker | |
outputArray | read (FILE *instream) |
write TSF output signals from the worker | |
CDCTrigger::Priority | priority (int index) |
write TSF input signals to the worker | |
unsigned short | trgTime (int index, int iFirstHit) |
Get the trigger time of the CDC hit. | |
unsigned short | mergerCellID (int index) |
Get the cell ID in the merger. | |
unsigned short | mergerNumber (int index) |
Get the merger unit ID in a super layer. | |
WireSet | segmentID (int iHit) |
Get the list of associated track segments with a hit. | |
std::bitset< 4 > | timeStamp (int index, int iFirstHit) |
Get the trigger time stamp of a hit. | |
void | computeEdges () |
Compute the map from merger cell ID to all its related edge fields. | |
void | initializeMerger () |
Get CDC hits from the DataStore and distribute them to clocks. | |
void | simulateMerger (unsigned iclock) |
Simulate 1 clock of merger. | |
template<CDCTrigger::MergerOut field, size_t width> | |
void | pack (inputVector::reverse_iterator &rInput, unsigned number, mergerStructElement< 5 > &output) |
Pack the merger output data structure to TSF input vector. | |
bool | notHit (CDCTrigger::MergerOut field, unsigned iTS, registeredStructElement ®) |
Whether a time field in a merger has been hit in the clock cycle. | |
void | registerHit (CDCTrigger::MergerOut field, unsigned iTS, registeredStructElement ®) |
Register the timing field so that later hits won't overwrite it. | |
void | saveFirmwareOutput () |
save firmware output | |
void | saveFastOutput (short iclock) |
save fast TSIM output | |
void | setSecondPriority (unsigned priTS, unsigned iHit, timeVec hitTime, unsigned lr, mergerStructElement< 5 > &mergerData, registeredStructElement ®isteredCell, priorityHitInMerger &priorityHit) |
set 2nd priority info | |
virtual void | def_initialize () |
Wrappers to make the methods without "def_" prefix callable from Python. | |
virtual void | def_beginRun () |
Wrapper method for the virtual function beginRun() that has the implementation to be used in a call from Python. | |
virtual void | def_event () |
Wrapper method for the virtual function event() that has the implementation to be used in a call from Python. | |
virtual void | def_endRun () |
This method can receive that the current run ends as a call from the Python side. | |
virtual void | def_terminate () |
Wrapper method for the virtual function terminate() that has the implementation to be used in a call from Python. | |
void | setDescription (const std::string &description) |
Sets the description of the module. | |
void | setType (const std::string &type) |
Set the module type. | |
template<typename T > | |
void | addParam (const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue) |
Adds a new parameter to the module. | |
template<typename T > | |
void | addParam (const std::string &name, T ¶mVariable, const std::string &description) |
Adds a new enforced parameter to the module. | |
void | setReturnValue (int value) |
Sets the return value for this module as integer. | |
void | setReturnValue (bool value) |
Sets the return value for this module as bool. | |
void | setParamList (const ModuleParamList ¶ms) |
Replace existing parameter list. | |
Protected Attributes | |
std::string | m_hitCollectionName |
Name of the StoreArray containing the input CDC hits. | |
std::string | m_outputCollectionName |
Name of the StoreArray holding the found TS hits. | |
std::string | m_outputBitstreamNameTo2D |
Name of the StoreArray holding the raw bit content to 2D trackers. | |
std::string | m_outputBitstreamNameToETF |
Name of the StoreArray holding the raw bit content to ETF. | |
Belle2::StoreArray< CDCHit > | m_cdcHits |
CDCHit array. | |
StoreArray< signalBitStream > | m_bitsTo2D |
bitstream of TSF output to 2D tracker | |
StoreArray< CDCTriggerSegmentHit > | m_tsHits |
unpacked track segment hit | |
bool | m_mergerOnly |
flag to only simulation merger and not TSF | |
bool | m_simulateCC |
flag to simulate front-end clock counter | |
std::vector< bool > | m_stubLUT |
list of flags to run a TSF firmware simulation with dummy L/R LUT (to speed up loading) | |
int | m_debugLevel = 0 |
debug level specified in the steering file | |
int | m_TDCCountForT0 = 4988 |
TDC count value from T0. | |
bool | m_allPositiveTime = true |
switch If true, the trigger time of the hit with largest TDC count becomes 0. | |
std::string | lib_extension = ".so" |
extension of lib | |
std::string | cwd = getcurrentdir() |
current diretory | |
std::string | design_libname_pre = cwd + "/xsim.dir/tsf" |
path to the simulation snapshot | |
std::string | design_libname_post = "/xsimk" + lib_extension |
path to the simulation snapshot | |
std::string | simengine_libname = "librdi_simulator_kernel" + lib_extension |
path to the simulation engine | |
std::string | wdbName_pre = "tsf" |
wdb name prefix | |
std::string | wdbName_post = ".wdb" |
wdb name extension | |
std::array< pid_t, m_nSubModules > | m_pid |
'1' in XSI VHDL simulation | |
mergerOutArray | outputFromMerger |
bits format of merger output / TSF input | |
inputToTSFArray | inputToTSF |
XSI compliant format of input to TSF. | |
std::array< outputArray, m_nSubModules > | outputToTracker |
array holding TSF output data | |
std::array< streamPair, m_nSubModules > | stream |
array holding file handlers of pipes | |
std::array< std::array< int, 2 >, m_nSubModules > | inputFileDescriptor |
array holding file descriptors of pipes | |
std::array< std::array< int, 2 >, m_nSubModules > | outputFileDescriptor |
array holding file descriptors of pipes | |
std::istream * | ins = nullptr |
data stream | |
std::map< unsigned, mergerStruct< 5 > > | dataAcrossClocks |
data structure to hold merger output | |
priorityHitStruct | m_priorityHit |
list keeping the index of priority hit of a TS for making fastsim ts hit object | |
std::vector< std::vector< int > > | iAxialHitInClock |
CDC hit ID in each clock. | |
std::array< TSMap, 2 > | m_tsMap |
map from cell ID to TS ID, for inner and outer Merger | |
std::array< cellList, 5 > | innerInvEdge |
list of cell ID related to edge timing | |
std::array< cellList, 3 > | outerInvEdge |
list of cell ID related to edge timing | |
std::array< edgeList, 2 > | m_edge |
map from cell ID to related edge ID | |
int | m_iFirstHit = std::numeric_limits<int>::quiet_NaN() |
ID of the earlist CDC hit in an event. | |
Private Member Functions | |
std::list< ModulePtr > | getModules () const override |
no submodules, return empty list | |
std::string | getPathString () const override |
return the module name. | |
void | setParamPython (const std::string &name, const boost::python::object &pyObj) |
Implements a method for setting boost::python objects. | |
void | setParamPythonDict (const boost::python::dict &dictionary) |
Implements a method for reading the parameter values from a boost::python dictionary. | |
Private Attributes | |
std::string | m_name |
The name of the module, saved as a string (user-modifiable) | |
std::string | m_type |
The type of the module, saved as a string. | |
std::string | m_package |
Package this module is found in (may be empty). | |
std::string | m_description |
The description of the module. | |
unsigned int | m_propertyFlags |
The properties of the module as bitwise or (with |) of EModulePropFlags. | |
LogConfig | m_logConfig |
The log system configuration of the module. | |
ModuleParamList | m_moduleParamList |
List storing and managing all parameter of the module. | |
bool | m_hasReturnValue |
True, if the return value is set. | |
int | m_returnValue |
The return value. | |
std::vector< ModuleCondition > | m_conditions |
Module condition, only non-null if set. | |
This class is the interface between TSim/basf2 TSF module and the firmware simulation core of XSim/ISim.
Definition at line 52 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
cell list
Definition at line 299 of file CDCTriggerTSFFirmwareModule.h.
|
inherited |
Forward the EAfterConditionPath definition from the ModuleCondition.
|
protected |
edge wire list
Definition at line 314 of file CDCTriggerTSFFirmwareModule.h.
edge wire list
Definition at line 297 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
input array from Merger
Definition at line 201 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
input array to TSF
Definition at line 203 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
input array
Definition at line 199 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
Merger output array.
Definition at line 194 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
Merger output.
Definition at line 192 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
data structure to hold merger output
Definition at line 266 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
data structure to hold merger output <priority time (4 bits x 16), fast time (4 bits x 16), edge timing (4 bits x 3 or 5), hitmap (80 bits x 1), 2nd priority hit (16 bit x 1)>
Definition at line 258 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
Merger vector.
Definition at line 190 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
output array
Definition at line 132 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
output vector
Definition at line 130 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
priority hits map in Merger
Definition at line 277 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
all priority hits map in Merger
Definition at line 283 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
priority hits map in Merger for a clock
Definition at line 281 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
priority hits map in Merger for a SL
Definition at line 279 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
vector of registeredStructElement
Definition at line 274 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
record when a time slow has been registered by a hit <priority time, fast time, edge timing>
Definition at line 272 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
signal bit stream
Definition at line 137 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
signal bus
Definition at line 135 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
file handlers of pipes
Definition at line 215 of file CDCTriggerTSFFirmwareModule.h.
element of data structure to hold merger output
Definition at line 250 of file CDCTriggerTSFFirmwareModule.h.
TS map.
Definition at line 292 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
Wire set.
Definition at line 290 of file CDCTriggerTSFFirmwareModule.h.
|
inherited |
Each module can be tagged with property flags, which indicate certain features of the module.
Enumerator | |
---|---|
c_Input | This module is an input module (reads data). |
c_Output | This module is an output module (writes data). |
c_ParallelProcessingCertified | This module can be run in parallel processing mode safely (All I/O must be done through the data store, in particular, the module must not write any files.) |
c_HistogramManager | This module is used to manage histograms accumulated by other modules. |
c_InternalSerializer | This module is an internal serializer/deserializer for parallel processing. |
c_TerminateInAllProcesses | When using parallel processing, call this module's terminate() function in all processes(). This will also ensure that there is exactly one process (single-core if no parallel modules found) or at least one input, one main and one output process. |
c_DontCollectStatistics | No statistics is collected for this module. |
Definition at line 77 of file Module.h.
Constructor.
Definition at line 40 of file CDCTriggerTSFFirmwareModule.cc.
|
virtual |
Definition at line 76 of file CDCTriggerTSFFirmwareModule.cc.
|
inlinevirtualinherited |
Called when entering a new run.
Called at the beginning of each run, the method gives you the chance to change run dependent constants like alignment parameters, etc.
This method can be implemented by subclasses.
Reimplemented in ARICHBackgroundModule, BeamabortModule, BgoModule, CaveModule, ClawModule, CLAWSModule, DosiModule, FANGSModule, He3tubeModule, MicrotpcModule, Ph1bpipeModule, Ph1sustrModule, PindiodeModule, PlumeModule, QcsmonitorModule, SrsensorModule, GetEventFromSocketModule, CalibrationCollectorModule, EventsOfDoomBusterModule, CosmicsAlignmentValidationModule, EnergyBiasCorrectionModule, ChargedPidMVAModule, ChargedPidMVAMulticlassModule, CurlTaggerModule, LowEnergyPi0IdentificationExpertModule, LowEnergyPi0VetoExpertModule, ParticleVertexFitterModule, PhotonEfficiencySystematicsModule, TagVertexModule, TreeFitterModule, arichBtestModule, ARICHDigitizerModule, ARICHDQMModule, ARICHRateCalModule, ARICHReconstructorModule, B2BIIMCParticlesMonitorModule, B2BIIConvertBeamParamsModule, B2BIIConvertMdstModule, B2BIIFixMdstModule, B2BIIMdstInputModule, BelleMCOutputModule, BeamBkgGeneratorModule, BeamBkgHitRateMonitorModule, BeamBkgMixerModule, BeamBkgTagSetterModule, BGOverlayInputModule, AnalysisPhase1StudyModule, NtuplePhase1_v6Module, ReprocessorModule, BeamabortStudyModule, BeamDigitizerModule, BgoDigitizerModule, BgoStudyModule, ClawDigitizerModule, ClawStudyModule, ClawsDigitizerModule, ClawsStudyModule, CsiDigitizer_v2Module, CsIDigitizerModule, CsiModule, CsiStudy_v2Module, CsIStudyModule, DosiDigitizerModule, DosiStudyModule, FANGSDigitizerModule, FANGSStudyModule, He3DigitizerModule, He3tubeStudyModule, MicrotpcStudyModule, TpcDigitizerModule, PinDigitizerModule, PindiodeStudyModule, PlumeDigitizerModule, QcsmonitorDigitizerModule, QcsmonitorStudyModule, CDCCosmicAnalysisModule, CDCCRTestModule, cdcDQM7Module, CDCDQMModule, CDCPackerModule, CDCRecoTrackFilterModule, CDCUnpackerModule, DAQPerfModule, RxSocketModule, TxSocketModule, DqmHistoManagerModule, MonitorDataModule, TrackAnaModule, Ds2SampleModule, ReceiveEventModule, HLTDQM2ZMQModule, ElapsedTimeModule, DeSerializerPXDModule, GenRawSendModule, SerializerModule, CertifyParallelModule, Ds2RawModule, Ds2RbufModule, EvReductionModule, FastRbuf2DsModule, Raw2DsModule, RawInputModule, Rbuf2DsModule, Rbuf2RbufModule, Ds2RawFileModule, PartialSeqRootReaderModule, SeqRootMergerModule, StorageDeserializerModule, StorageSerializerModule, IPDQMModule, PhysicsObjectsDQMModule, PhysicsObjectsMiraBelleBhabhaModule, PhysicsObjectsMiraBelleDst2Module, PhysicsObjectsMiraBelleDstModule, PhysicsObjectsMiraBelleHadronModule, PhysicsObjectsMiraBelleModule, ECLBackgroundModule, ECLChargedPIDModule, ECLChargedPIDDataAnalysisModule, ECLChargedPIDDataAnalysisValidationModule, ECLChargedPIDMVAModule, ECLClusterPSDModule, ECLCovarianceMatrixModule, ECLCRFinderModule, ECLDataAnalysisModule, ECLDigitCalibratorModule, ECLDigitizerModule, ECLDigitizerPureCsIModule, EclDisplayModule, ECLDQMModule, ECLDQMConnectedRegionsModule, ECLDQMEXTENDEDModule, ECLDQMOutOfTimeDigitsModule, ECLFinalizerModule, ECLHitDebugModule, ECLLocalMaximumFinderModule, ECLLocalRunCalibratorModule, ECLLOMModule, ECLPackerModule, ECLShowerCorrectorModule, ECLShowerShapeModule, ECLSplitterN1Module, ECLSplitterN2Module, ECLUnpackerModule, ECLWaveformFitModule, HistoModule, SubEventModule, SwitchDataStoreModule, EventInfoPrinterModule, EventLimiterModule, IoVDependentConditionModule, ProgressModule, RandomBarrierModule, GearboxModule, HistoManagerModule, StatisticsSummaryModule, SeqRootInputModule, SeqRootOutputModule, RxModule, TxModule, EvtGenDecayModule, EvtGenInputModule, OverrideGenerationFlagsModule, KKGenInputModule, CreateFieldMapModule, ExportGeometryModule, SoftwareTriggerModule, SoftwareTriggerHLTDQMModule, StatisticsTimingHLTDQMModule, BKLMAnaModule, BKLMDigitAnalyzerModule, BKLMSimHistogrammerModule, BKLMTrackingModule, EKLMDataCheckerModule, KLMClusterAnaModule, KLMClusterEfficiencyModule, KLMClustersReconstructorModule, KLMDigitizerModule, KLMDigitTimeShifterModule, KLMDQMModule, KLMDQM2Module, KLMPackerModule, KLMReconstructorModule, KLMScintillatorSimulatorModule, KLMUnpackerModule, MVAExpertModule, MVAMultipleExpertsModule, MVAPrototypeModule, AWESOMEBasicModule, PXDBackgroundModule, PXDRawDQMChipsModule, PXDClustersFromTracksModule, PXDPerformanceModule, PXDClusterizerModule, Convert2RawDetModule, CDCDedxDQMModule, CDCDedxValidationModule, EventT0DQMModule, EventT0ValidationModule, DataWriterModule, ECLExpertModule, KLMExpertModule, KlongValidationModule, KLMMuonIDDNNExpertModule, FullSimModule, MaterialScanModule, SVDBackgroundModule, SVDClusterCalibrationsMonitorModule, SVDHotStripFinderModule, SVDLatencyCalibrationModule, SVDLocalCalibrationsCheckModule, SVDLocalCalibrationsMonitorModule, SVDPositionErrorScaleFactorImporterModule, SVDTimeCalibrationsMonitorModule, SVDDQMHitTimeModule, svdDumpModule, SVDPackerModule, SVDB4CommissioningPlotsModule, SVDClusterEvaluationModule, SVDClusterEvaluationTrueInfoModule, SVDClusterFilterModule, SVDMaxStripTTreeModule, SVDOccupancyAnalysisModule, SVDPerformanceModule, SVDPerformanceTTreeModule, SVDShaperDigitsFromTracksModule, SVDClusterizerModule, SVDCoGTimeEstimatorModule, SVDDataFormatCheckModule, SVDMissingAPVsClusterCreatorModule, SVDRecoDigitCreatorModule, SVD3SamplesEmulatorModule, SVDDigitizerModule, SVDEventInfoSetterModule, SVDTriggerQualityGeneratorModule, SVDSpacePointCreatorModule, SVDTimeGroupingModule, SVDUnpackerModule, TOPBackgroundModule, TOPBunchFinderModule, TOPChannelMaskerModule, TOPChannelT0MCModule, TOPDigitizerModule, TOPTriggerDigitizerModule, TOPDoublePulseGeneratorModule, TOPDQMModule, TOPGainEfficiencyCalculatorModule, TOPLaserHitSelectorModule, TOPInterimFENtupleModule, TOPLaserCalibratorModule, TOPMCTrackMakerModule, TOPModuleT0CalibratorModule, TOPNtupleModule, TOPPackerModule, TOPRawDigitConverterModule, TOPTBCComparatorModule, TOPTimeBaseCalibratorModule, TOPTimeRecalibratorModule, TOPUnpackerModule, TOPWaveformFeatureExtractorModule, TOPXTalkChargeShareSetterModule, DQMHistoModuleBase, SVDEventT0EstimatorModule, ExtModule, FlipQualityModule, BeamSpotMonitorModule, KinkFinderModule, MCV0MatcherModule, MCTrackCandClassifierModule, MuidModule, PXDROIFinderModule, SVDROIFinderAnalysisModule, SVDROIFinderModule, SPTCmomentumSeedRetrieverModule, SPTCvirtualIPRemoverModule, TrackCreatorModule, TrackFinderMCTruthRecoTracksModule, EffPlotsModule, HitXPModule, TrackingPerformanceEvaluationModule, V0findingPerformanceEvaluationModule, TrackQETrainingDataCollectorModule, TrackQualityEstimatorMVAModule, SecMapTrainerBaseModule, SecMapTrainerVXDTFModule, TrackFinderVXDAnalizerModule, VXDSimpleClusterizerModule, QualityEstimatorVXDModule, VXDQETrainingDataCollectorModule, VXDQualityEstimatorMVAModule, SectorMapBootstrapModule, SegmentNetworkProducerModule, TrackFinderVXDBasicPathFinderModule, TrackFinderVXDCellOMatModule, VXDTFTrainingDataCollectorModule, FindletModule< AFindlet >, FindletModule< HitBasedT0Extractor >, FindletModule< CKFToSVDSeedFindlet >, FindletModule< CKFToSVDFindlet >, FindletModule< CosmicsTrackMergerFindlet >, FindletModule< DATCONFPGAFindlet >, FindletModule< MCVXDCDCTrackMergerFindlet >, FindletModule< vxdHoughTracking::SVDHoughTracking >, FindletModule< CKFToCDCFindlet >, FindletModule< CKFToCDCFromEclFindlet >, FindletModule< CKFToPXDFindlet >, FindletModule< AsicBackgroundLibraryCreator >, FindletModule< CDCTrackingEventLevelMdstInfoFillerFromHitsFindlet >, FindletModule< CDCTrackingEventLevelMdstInfoFillerFromSegmentsFindlet >, FindletModule< AxialSegmentPairCreator >, FindletModule< AxialStraightTrackFinder >, FindletModule< AxialTrackCreatorMCTruth >, FindletModule< AxialTrackCreatorSegmentHough >, FindletModule< AxialTrackFinderHough >, FindletModule< AxialTrackFinderLegendre >, FindletModule< ClusterBackgroundDetector >, FindletModule< ClusterPreparer >, FindletModule< ClusterRefiner< BridgingWireHitRelationFilter > >, FindletModule< FacetCreator >, FindletModule< HitReclaimer >, FindletModule< MonopoleAxialTrackFinderLegendre >, FindletModule< MonopoleStereoHitFinder >, FindletModule< MonopoleStereoHitFinderQuadratic >, FindletModule< SegmentCreatorFacetAutomaton >, FindletModule< SegmentCreatorMCTruth >, FindletModule< SegmentFinderFacetAutomaton >, FindletModule< SegmentFitter >, FindletModule< SegmentLinker >, FindletModule< SegmentOrienter >, FindletModule< SegmentPairCreator >, FindletModule< SegmentRejecter >, FindletModule< SegmentTrackCombiner >, FindletModule< SegmentTripleCreator >, FindletModule< StereoHitFinder >, FindletModule< SuperClusterCreator >, FindletModule< TrackCombiner >, FindletModule< TrackCreatorSegmentPairAutomaton >, FindletModule< TrackCreatorSegmentTripleAutomaton >, FindletModule< TrackCreatorSingleSegments >, FindletModule< TrackExporter >, FindletModule< TrackFinderAutomaton >, FindletModule< TrackFinderCosmics >, FindletModule< TrackFinder >, FindletModule< TrackFinderSegmentPairAutomaton >, FindletModule< TrackFinderSegmentTripleAutomaton >, FindletModule< TrackFlightTimeAdjuster >, FindletModule< TrackLinker >, FindletModule< TrackOrienter >, FindletModule< TrackQualityAsserter >, FindletModule< TrackQualityEstimator >, FindletModule< TrackRejecter >, FindletModule< WireHitBackgroundDetector >, FindletModule< WireHitCreator >, FindletModule< WireHitPreparer >, CDCTriggerNeuroDQMModule, CDCTriggerNeuroDQMOnlineModule, CDCTriggerNDFinderModule, CDCTriggerTSFModule, TRGCDCModule, TRGCDCETFUnpackerModule, TRGCDCT2DDQMModule, TRGCDCT3DConverterModule, TRGCDCT3DDQMModule, TRGCDCT3DUnpackerModule, TRGCDCTSFDQMModule, TRGCDCTSFUnpackerModule, TRGCDCTSStreamModule, CDCTriggerUnpackerModule, MCMatcherTRGECLModule, TRGECLFAMModule, TRGECLModule, TRGECLBGTCHitModule, TRGECLDQMModule, TRGECLEventTimingDQMModule, TRGECLQAMModule, TRGECLRawdataAnalysisModule, TRGECLTimingCalModule, TRGECLUnpackerModule, TRGGDLModule, TRGEFFDQMModule, TRGGDLDQMModule, TRGGDLDSTModule, TRGGDLSummaryModule, TRGGDLUnpackerModule, TRGGRLMatchModule, TRGGRLModule, TRGGRLProjectsModule, TRGGRLDQMModule, TRGGRLUnpackerModule, KLMTriggerModule, TRGTOPDQMModule, TRGTOPTRD2TTSConverterModule, TRGTOPUnpackerModule, TRGTOPUnpackerWaveformModule, TRGTOPWaveformPlotterModule, TRGRAWDATAModule, VXDMisalignmentModule, DQMHistAnalysisARICHModule, DQMHistAnalysisCDCDedxModule, DQMHistAnalysisCDCEpicsModule, DQMHistAnalysisCDCMonObjModule, DQMHistAnalysisDAQMonObjModule, DQMHistAnalysisECLModule, DQMHistAnalysisECLConnectedRegionsModule, DQMHistAnalysisECLShapersModule, DQMHistAnalysisECLSummaryModule, DQMHistAnalysisEpicsExampleModule, DQMHistAnalysisEventT0EfficiencyModule, DQMHistAnalysisEventT0TriggerJitterModule, DQMHistAnalysisExampleModule, DQMHistAnalysisExampleFlagsModule, DQMHistAnalysisHLTModule, DQMHistAnalysisInput2Module, DQMHistAnalysisInputPVSrvModule, DQMHistAnalysisInputRootFileModule, DQMHistAnalysisInputTestModule, DQMHistAnalysisKLMModule, DQMHistAnalysisKLM2Module, DQMHistAnalysisMiraBelleModule, DQMHistAnalysisOutputMonObjModule, DQMHistAnalysisOutputRelayMsgModule, DQMHistAnalysisPeakModule, DQMHistAnalysisPXDERModule, DQMHistAnalysisPXDFitsModule, DQMHistAnalysisSVDClustersOnTrackModule, DQMHistAnalysisSVDDoseModule, DQMHistAnalysisSVDEfficiencyModule, DQMHistAnalysisSVDGeneralModule, DQMHistAnalysisSVDOccupancyModule, DQMHistAnalysisSVDOnMiraBelleModule, DQMHistAnalysisSVDUnpackerModule, DQMHistAnalysisTOPModule, DQMHistAnalysisTrackingAbortModule, DQMHistAnalysisTrackingHLTModule, DQMHistAnalysisTRGECLModule, DQMHistAutoCanvasModule, DQMHistComparitorModule, DQMHistDeltaHistoModule, DQMHistReferenceModule, DQMHistSnapshotsModule, DAQMonitorModule, DelayDQMModule, V0ObjectsDQMModule, ECLDQMInjectionModule, PyModule, PXDBgTupleProducerModule, PXDMCBgTupleProducerModule, PXDDAQDQMModule, PXDDQMClustersModule, PXDDQMCorrModule, PXDDQMEfficiencyModule, PXDDQMEfficiencySelftrackModule, PXDDQMExpressRecoModule, PXDGatedDHCDQMModule, PXDGatedModeDQMModule, PXDInjectionDQMModule, PXDRawDQMCorrModule, PXDRawDQMModule, PXDROIDQMModule, PXDTrackClusterDQMModule, PXDDigitizerModule, PXDPackerModule, PXDUnpackerModule, TTDDQMModule, DetectorOccupanciesDQMModule, SVDDQMClustersOnTrackModule, SVDDQMDoseModule, SVDDQMExpressRecoModule, SVDDQMInjectionModule, SVDUnpackerDQMModule, PXDclusterFilterModule, PXDdigiFilterModule, PXDROIFinderAnalysisModule, TrackingAbortDQMModule, VXDDQMExpressRecoModule, vxdDigitMaskingModule, DQMHistAnalysisDeltaEpicsMonObjExampleModule, DQMHistAnalysisDeltaTestModule, DQMHistAnalysisEpicsOutputModule, DQMHistAnalysisPhysicsModule, DQMHistAnalysisPXDChargeModule, DQMHistAnalysisPXDCMModule, DQMHistAnalysisPXDDAQModule, DQMHistAnalysisPXDEffModule, DQMHistAnalysisPXDInjectionModule, DQMHistAnalysisPXDReductionModule, DQMHistAnalysisPXDTrackChargeModule, DQMHistAnalysisRooFitExampleModule, DQMHistAnalysisRunNrModule, DQMHistAnalysisTRGModule, DQMHistInjectionModule, and DQMHistOutputToEPICSModule.
Definition at line 147 of file Module.h.
|
overridevirtualinherited |
Create an independent copy of this module.
Note that parameters are shared, so changing them on a cloned module will also affect the original module.
Implements PathElement.
Definition at line 179 of file Module.cc.
|
protected |
Compute the map from merger cell ID to all its related edge fields.
Definition at line 192 of file CDCTriggerTSFFirmwareModule.cc.
|
inlineprotectedvirtualinherited |
Wrapper method for the virtual function beginRun() that has the implementation to be used in a call from Python.
Reimplemented in PyModule.
Definition at line 426 of file Module.h.
|
inlineprotectedvirtualinherited |
This method can receive that the current run ends as a call from the Python side.
For regular C++-Modules that forwards the call to the regular endRun() method.
Reimplemented in PyModule.
Definition at line 439 of file Module.h.
|
inlineprotectedvirtualinherited |
|
inlineprotectedvirtualinherited |
Wrappers to make the methods without "def_" prefix callable from Python.
Overridden in PyModule. Wrapper method for the virtual function initialize() that has the implementation to be used in a call from Python.
Reimplemented in PyModule.
Definition at line 420 of file Module.h.
|
inlineprotectedvirtualinherited |
Wrapper method for the virtual function terminate() that has the implementation to be used in a call from Python.
Reimplemented in PyModule.
Definition at line 445 of file Module.h.
|
inlinevirtualinherited |
This method is called if the current run ends.
Use this method to store information, which should be aggregated over one run.
This method can be implemented by subclasses.
Reimplemented in BeamabortModule, BgoModule, CaveModule, ClawModule, CLAWSModule, DosiModule, FANGSModule, He3tubeModule, MicrotpcModule, Ph1bpipeModule, Ph1sustrModule, PindiodeModule, PlumeModule, QcsmonitorModule, SrsensorModule, GetEventFromSocketModule, CalibrationCollectorModule, AlignDQMModule, CosmicsAlignmentValidationModule, CurlTaggerModule, LowEnergyPi0IdentificationExpertModule, LowEnergyPi0VetoExpertModule, arichBtestModule, ARICHDQMModule, B2BIIMCParticlesMonitorModule, B2BIIConvertMdstModule, B2BIIMdstInputModule, BelleMCOutputModule, BeamBkgGeneratorModule, BeamBkgHitRateMonitorModule, BeamBkgMixerModule, BeamBkgTagSetterModule, BGOverlayInputModule, AnalysisPhase1StudyModule, NtuplePhase1_v6Module, ReprocessorModule, BeamabortStudyModule, BeamDigitizerModule, BgoDigitizerModule, BgoStudyModule, ClawDigitizerModule, ClawStudyModule, ClawsDigitizerModule, ClawsStudyModule, CsiDigitizer_v2Module, CsIDigitizerModule, CsiModule, CsiStudy_v2Module, CsIStudyModule, DosiDigitizerModule, DosiStudyModule, FANGSDigitizerModule, FANGSStudyModule, He3DigitizerModule, He3tubeStudyModule, MicrotpcStudyModule, TpcDigitizerModule, TPCStudyModule, PinDigitizerModule, PindiodeStudyModule, PlumeDigitizerModule, QcsmonitorDigitizerModule, QcsmonitorStudyModule, CDCCosmicAnalysisModule, CDCCRTestModule, cdcDQM7Module, CDCDQMModule, CDCPackerModule, CDCRecoTrackFilterModule, CDCUnpackerModule, DAQPerfModule, RxSocketModule, TxSocketModule, DqmHistoManagerModule, MonitorDataModule, TrackAnaModule, Ds2SampleModule, ReceiveEventModule, HLTDQM2ZMQModule, HLTDs2ZMQModule, ElapsedTimeModule, DeSerializerPXDModule, GenRawSendModule, Root2RawModule, SerializerModule, CertifyParallelModule, Ds2RawModule, Ds2RbufModule, EvReductionModule, FastRbuf2DsModule, Raw2DsModule, RawInputModule, Rbuf2DsModule, Rbuf2RbufModule, Ds2RawFileModule, PartialSeqRootReaderModule, SeqRootMergerModule, StorageDeserializerModule, StorageRootOutputModule, StorageSerializerModule, PhysicsObjectsDQMModule, PhysicsObjectsMiraBelleBhabhaModule, PhysicsObjectsMiraBelleDst2Module, PhysicsObjectsMiraBelleDstModule, PhysicsObjectsMiraBelleHadronModule, PhysicsObjectsMiraBelleModule, ECLBackgroundModule, ECLChargedPIDModule, ECLChargedPIDDataAnalysisModule, ECLChargedPIDDataAnalysisValidationModule, ECLClusterPSDModule, ECLCovarianceMatrixModule, ECLCRFinderModule, ECLDataAnalysisModule, ECLDigitCalibratorModule, ECLDigitizerModule, ECLDigitizerPureCsIModule, EclDisplayModule, ECLDQMModule, ECLDQMEXTENDEDModule, ECLFinalizerModule, ECLHitDebugModule, ECLLocalMaximumFinderModule, ECLLocalRunCalibratorModule, ECLLOMModule, ECLPackerModule, ECLShowerCorrectorModule, ECLShowerShapeModule, ECLSplitterN1Module, ECLSplitterN2Module, ECLUnpackerModule, ECLWaveformFitModule, HistoModule, SubEventModule, SwitchDataStoreModule, EventInfoPrinterModule, RandomBarrierModule, HistoManagerModule, StatisticsSummaryModule, SeqRootInputModule, SeqRootOutputModule, RxModule, TxModule, ZMQTxInputModule, ZMQTxWorkerModule, EvtGenDecayModule, OverrideGenerationFlagsModule, BKLMAnaModule, BKLMDigitAnalyzerModule, BKLMSimHistogrammerModule, BKLMTrackingModule, EKLMDataCheckerModule, KLMClusterEfficiencyModule, KLMClustersReconstructorModule, KLMDigitizerModule, KLMDQMModule, KLMDQM2Module, KLMPackerModule, KLMReconstructorModule, KLMScintillatorSimulatorModule, KLMUnpackerModule, AWESOMEBasicModule, PXDBackgroundModule, PXDClustersFromTracksModule, PXDPerformanceModule, Convert2RawDetModule, PrintDataModule, PrintEventRateModule, Root2BinaryModule, CDCDedxDQMModule, CDCDedxValidationModule, EventT0ValidationModule, DataWriterModule, KlongValidationModule, KLMMuonIDDNNExpertModule, FullSimModule, SVDBackgroundModule, SVDClusterCalibrationsMonitorModule, SVDHotStripFinderModule, SVDLatencyCalibrationModule, SVDLocalCalibrationsMonitorModule, SVDPositionErrorScaleFactorImporterModule, SVDTimeCalibrationsMonitorModule, svdDumpModule, SVDPackerModule, SVDB4CommissioningPlotsModule, SVDClusterEvaluationModule, SVDClusterEvaluationTrueInfoModule, SVDClusterFilterModule, SVDOccupancyAnalysisModule, SVDPerformanceModule, SVDShaperDigitsFromTracksModule, SVDClusterizerModule, SVDCoGTimeEstimatorModule, SVDDataFormatCheckModule, SVDRecoDigitCreatorModule, SVD3SamplesEmulatorModule, SVDTriggerQualityGeneratorModule, SVDUnpackerModule, TOPBackgroundModule, TOPChannelT0MCModule, TOPTriggerDigitizerModule, TOPDoublePulseGeneratorModule, TOPGainEfficiencyCalculatorModule, TOPLaserHitSelectorModule, TOPInterimFENtupleModule, TOPLaserCalibratorModule, TOPMCTrackMakerModule, TOPNtupleModule, TOPPackerModule, TOPRawDigitConverterModule, TOPTBCComparatorModule, TOPTimeBaseCalibratorModule, TOPUnpackerModule, TOPWaveformFeatureExtractorModule, TOPWaveformQualityPlotterModule, TOPXTalkChargeShareSetterModule, ExtModule, GenfitVisModule, MCV0MatcherModule, MCTrackCandClassifierModule, MuidModule, MCSlowPionPXDROICreatorModule, PXDROIFinderModule, SVDROIDQMModule, SVDROIFinderAnalysisModule, SVDROIFinderModule, RT2SPTCConverterModule, SPTCmomentumSeedRetrieverModule, SPTCvirtualIPRemoverModule, TrackFinderMCTruthRecoTracksModule, EffPlotsModule, HitXPModule, TrackingPerformanceEvaluationModule, V0findingPerformanceEvaluationModule, SecMapTrainerBaseModule, SecMapTrainerVXDTFModule, TrackFinderVXDAnalizerModule, VXDSimpleClusterizerModule, NoKickCutsEvalModule, SectorMapBootstrapModule, VXDTFTrainingDataCollectorModule, FindletModule< AFindlet >, FindletModule< HitBasedT0Extractor >, FindletModule< CKFToSVDSeedFindlet >, FindletModule< CKFToSVDFindlet >, FindletModule< CosmicsTrackMergerFindlet >, FindletModule< DATCONFPGAFindlet >, FindletModule< MCVXDCDCTrackMergerFindlet >, FindletModule< vxdHoughTracking::SVDHoughTracking >, FindletModule< CKFToCDCFindlet >, FindletModule< CKFToCDCFromEclFindlet >, FindletModule< CKFToPXDFindlet >, FindletModule< AsicBackgroundLibraryCreator >, FindletModule< CDCTrackingEventLevelMdstInfoFillerFromHitsFindlet >, FindletModule< CDCTrackingEventLevelMdstInfoFillerFromSegmentsFindlet >, FindletModule< AxialSegmentPairCreator >, FindletModule< AxialStraightTrackFinder >, FindletModule< AxialTrackCreatorMCTruth >, FindletModule< AxialTrackCreatorSegmentHough >, FindletModule< AxialTrackFinderHough >, FindletModule< AxialTrackFinderLegendre >, FindletModule< ClusterBackgroundDetector >, FindletModule< ClusterPreparer >, FindletModule< ClusterRefiner< BridgingWireHitRelationFilter > >, FindletModule< FacetCreator >, FindletModule< HitReclaimer >, FindletModule< MonopoleAxialTrackFinderLegendre >, FindletModule< MonopoleStereoHitFinder >, FindletModule< MonopoleStereoHitFinderQuadratic >, FindletModule< SegmentCreatorFacetAutomaton >, FindletModule< SegmentCreatorMCTruth >, FindletModule< SegmentFinderFacetAutomaton >, FindletModule< SegmentFitter >, FindletModule< SegmentLinker >, FindletModule< SegmentOrienter >, FindletModule< SegmentPairCreator >, FindletModule< SegmentRejecter >, FindletModule< SegmentTrackCombiner >, FindletModule< SegmentTripleCreator >, FindletModule< StereoHitFinder >, FindletModule< SuperClusterCreator >, FindletModule< TrackCombiner >, FindletModule< TrackCreatorSegmentPairAutomaton >, FindletModule< TrackCreatorSegmentTripleAutomaton >, FindletModule< TrackCreatorSingleSegments >, FindletModule< TrackExporter >, FindletModule< TrackFinderAutomaton >, FindletModule< TrackFinderCosmics >, FindletModule< TrackFinder >, FindletModule< TrackFinderSegmentPairAutomaton >, FindletModule< TrackFinderSegmentTripleAutomaton >, FindletModule< TrackFlightTimeAdjuster >, FindletModule< TrackLinker >, FindletModule< TrackOrienter >, FindletModule< TrackQualityAsserter >, FindletModule< TrackQualityEstimator >, FindletModule< TrackRejecter >, FindletModule< WireHitBackgroundDetector >, FindletModule< WireHitCreator >, FindletModule< WireHitPreparer >, CDCTriggerNeuroDQMModule, CDCTriggerNeuroDQMOnlineModule, CDCTriggerNDFinderModule, TRGCDCModule, TRGCDCETFUnpackerModule, TRGCDCT2DDQMModule, TRGCDCT3DConverterModule, TRGCDCT3DDQMModule, TRGCDCT3DUnpackerModule, TRGCDCTSFDQMModule, TRGCDCTSFUnpackerModule, TRGCDCTSStreamModule, MCMatcherTRGECLModule, TRGECLFAMModule, TRGECLModule, TRGECLBGTCHitModule, TRGECLDQMModule, TRGECLQAMModule, TRGECLRawdataAnalysisModule, TRGECLTimingCalModule, TRGECLUnpackerModule, TRGGDLModule, TRGEFFDQMModule, TRGGDLDQMModule, TRGGDLDSTModule, TRGGDLSummaryModule, TRGGDLUnpackerModule, TRGGRLMatchModule, TRGGRLModule, TRGGRLProjectsModule, TRGGRLDQMModule, TRGGRLUnpackerModule, KLMTriggerModule, TRGTOPDQMModule, TRGTOPTRD2TTSConverterModule, TRGTOPUnpackerModule, TRGTOPUnpackerWaveformModule, TRGTOPWaveformPlotterModule, TRGRAWDATAModule, DQMHistAnalysisARICHModule, DQMHistAnalysisARICHMonObjModule, DQMHistAnalysisCDCDedxModule, DQMHistAnalysisCDCEpicsModule, DQMHistAnalysisCDCMonObjModule, DQMHistAnalysisDAQMonObjModule, DQMHistAnalysisECLModule, DQMHistAnalysisECLConnectedRegionsModule, DQMHistAnalysisECLOutOfTimeDigitsModule, DQMHistAnalysisECLShapersModule, DQMHistAnalysisECLSummaryModule, DQMHistAnalysisEpicsExampleModule, DQMHistAnalysisExampleModule, DQMHistAnalysisExampleFlagsModule, DQMHistAnalysisHLTMonObjModule, DQMHistAnalysisInput2Module, DQMHistAnalysisInputPVSrvModule, DQMHistAnalysisInputTestModule, DQMHistAnalysisKLMModule, DQMHistAnalysisKLM2Module, DQMHistAnalysisMiraBelleModule, DQMHistAnalysisMonObjModule, DQMHistAnalysisOutputFileModule, DQMHistAnalysisOutputMonObjModule, DQMHistAnalysisOutputRelayMsgModule, DQMHistAnalysisPXDFitsModule, DQMHistAnalysisSVDClustersOnTrackModule, DQMHistAnalysisSVDDoseModule, DQMHistAnalysisSVDEfficiencyModule, DQMHistAnalysisSVDGeneralModule, DQMHistAnalysisSVDOccupancyModule, DQMHistAnalysisSVDOnMiraBelleModule, DQMHistAnalysisSVDUnpackerModule, DQMHistAnalysisTOPModule, DQMHistAnalysisTRGECLModule, DQMHistAnalysisTRGEFFModule, DQMHistAnalysisTRGGDLModule, DQMHistComparitorModule, DQMHistDeltaHistoModule, DQMHistReferenceModule, DQMHistSnapshotsModule, PyModule, SVDUnpackerDQMModule, TrackSetEvaluatorHopfieldNNDEVModule, vxdDigitMaskingModule, DQMHistAnalysisDeltaEpicsMonObjExampleModule, DQMHistAnalysisDeltaTestModule, DQMHistAnalysisEpicsOutputModule, DQMHistAnalysisPhysicsModule, DQMHistAnalysisPXDChargeModule, DQMHistAnalysisPXDTrackChargeModule, DQMHistAnalysisRooFitExampleModule, DQMHistAnalysisTRGModule, and DQMHistOutputToEPICSModule.
Definition at line 166 of file Module.h.
|
inherited |
If at least one condition was set, it is evaluated and true returned if at least one condition returns true.
If no condition or result value was defined, the method returns false. Otherwise, the condition is evaluated and true returned, if at least one condition returns true. To speed up the evaluation, the condition strings were already parsed in the method if_value().
Definition at line 96 of file Module.cc.
|
overridevirtual |
Things to do for each event.
It gets the CDCHits from DataStore, simulate the Merger output, pass them to the firmware simulation process, and collect TSF firmware response.
Reimplemented from Module.
Definition at line 647 of file CDCTriggerTSFFirmwareModule.cc.
|
staticinherited |
Exposes methods of the Module class to Python.
Definition at line 325 of file Module.cc.
|
inherited |
What to do after the conditional path is finished.
(defaults to c_End if no condition is set)
Definition at line 133 of file Module.cc.
|
inherited |
|
inlineinherited |
Return all set conditions for this module.
|
inlineinherited |
|
inherited |
Returns the path of the last true condition (if there is at least one, else reaturn a null pointer).
Definition at line 113 of file Module.cc.
|
protected |
get the XSI compliant format from the bits format TSF input
Definition at line 207 of file CDCTriggerTSFFirmwareModule.cc.
|
inlineinherited |
Returns the description of the module.
Definition at line 202 of file Module.h.
|
inlinevirtualinherited |
Return a list of output filenames for this modules.
This will be called when basf2 is run with "--dry-run" if the module has set either the c_Input or c_Output properties.
If the parameter outputFiles
is false (for modules with c_Input) the list of input filenames should be returned (if any). If outputFiles
is true (for modules with c_Output) the list of output files should be returned (if any).
If a module has sat both properties this member is called twice, once for each property.
The module should return the actual list of requested input or produced output filenames (including handling of input/output overrides) so that the grid system can handle input/output files correctly.
This function should return the same value when called multiple times. This is especially important when taking the input/output overrides from Environment as they get consumed when obtained so the finalized list of output files should be stored for subsequent calls.
Reimplemented in RootInputModule, StorageRootOutputModule, and RootOutputModule.
Definition at line 134 of file Module.h.
|
inlineinherited |
|
inlineoverrideprivatevirtualinherited |
no submodules, return empty list
Implements PathElement.
Definition at line 506 of file Module.h.
|
inlineinherited |
Returns the name of the module.
This can be changed via e.g. set_name() in the steering file to give more useful names if there is more than one module of the same type.
For identifying the type of a module, using getType() (or type() in Python) is recommended.
Definition at line 187 of file Module.h.
|
inlineinherited |
|
inherited |
Returns a python list of all parameters.
Each item in the list consists of the name of the parameter, a string describing its type, a python list of all default values and the description of the parameter.
Definition at line 279 of file Module.cc.
|
inlineinherited |
|
overrideprivatevirtualinherited |
return the module name.
Implements PathElement.
Definition at line 192 of file Module.cc.
|
inlineinherited |
Return the return value set by this module.
This value is only meaningful if hasReturnValue() is true
Definition at line 381 of file Module.h.
|
inherited |
Returns the type of the module (i.e.
class name minus 'Module')
|
inlineinherited |
|
inherited |
Returns true if all specified property flags are available in this module.
propertyFlags | Ored EModulePropFlags which should be compared with the module flags. |
|
inlineinherited |
|
inherited |
Returns true and prints error message if the module has unset parameters which the user has to set in the steering file.
Definition at line 166 of file Module.cc.
|
inherited |
A simplified version to add a condition to the module.
Please note that successive calls of this function will add more than one condition to the module. If more than one condition results in true, only the last of them will be used.
Please be careful: Avoid creating cyclic paths, e.g. by linking a condition to a path which is processed before the path where this module is located in.
It is equivalent to the if_value() method, using the expression "<1". This method is meant to be used together with the setReturnValue(bool value) method.
path | Shared pointer to the Path which will be executed if the return value is false. |
afterConditionPath | What to do after executing 'path'. |
|
inherited |
A simplified version to set the condition of the module.
Please note that successive calls of this function will add more than one condition to the module. If more than one condition results in true, only the last of them will be used.
Please be careful: Avoid creating cyclic paths, e.g. by linking a condition to a path which is processed before the path where this module is located in.
It is equivalent to the if_value() method, using the expression ">=1". This method is meant to be used together with the setReturnValue(bool value) method.
path | Shared pointer to the Path which will be executed if the return value is true. |
afterConditionPath | What to do after executing 'path'. |
|
inherited |
Add a condition to the module.
Please note that successive calls of this function will add more than one condition to the module. If more than one condition results in true, only the last of them will be used.
See https://xwiki.desy.de/xwiki/rest/p/a94f2 or ModuleCondition for a description of the syntax.
Please be careful: Avoid creating cyclic paths, e.g. by linking a condition to a path which is processed before the path where this module is located in.
expression | The expression of the condition. |
path | Shared pointer to the Path which will be executed if the condition is evaluated to true. |
afterConditionPath | What to do after executing 'path'. |
|
overridevirtual |
spawn child process for workers, open pipes to pass data
Reimplemented from Module.
Definition at line 120 of file CDCTriggerTSFFirmwareModule.cc.
|
protected |
Get CDC hits from the DataStore and distribute them to clocks.
Within each clock, faster hit has a smaller index
Definition at line 276 of file CDCTriggerTSFFirmwareModule.cc.
|
protected |
Get the cell ID in the merger.
index | index of the CDC hit in question |
Definition at line 235 of file CDCTriggerTSFFirmwareModule.cc.
|
protected |
Get the merger unit ID in a super layer.
index | index of the CDC hit in question |
Definition at line 243 of file CDCTriggerTSFFirmwareModule.cc.
|
protected |
Whether a time field in a merger has been hit in the clock cycle.
field | one of (priority, fastest, edge) time |
iTS | index of the track segment or edge |
reg | record of the timing fields in merger |
Definition at line 331 of file CDCTriggerTSFFirmwareModule.cc.
|
protected |
Pack the merger output data structure to TSF input vector.
template with field as the type of output to be packed and width as the bit width of a single output unit
rInput | iterator of the TSF input vector |
number | total number of the output units in a merger unit |
output | merger output data structre |
Definition at line 518 of file CDCTriggerTSFFirmwareModule.cc.
|
protected |
write TSF input signals to the worker
index | index of CDC hit |
Definition at line 79 of file CDCTriggerTSFFirmwareModule.cc.
|
protected |
write TSF output signals from the worker
instream | input file descriptor |
Definition at line 97 of file CDCTriggerTSFFirmwareModule.cc.
|
protected |
Register the timing field so that later hits won't overwrite it.
field | one of (priority, fastest, edge) time |
iTS | index of the track segment or edge |
reg | record of the timing fields in merger |
Definition at line 336 of file CDCTriggerTSFFirmwareModule.cc.
|
protected |
save fast TSIM output
Definition at line 540 of file CDCTriggerTSFFirmwareModule.cc.
|
protected |
save firmware output
Definition at line 533 of file CDCTriggerTSFFirmwareModule.cc.
|
protected |
Get the list of associated track segments with a hit.
iHit | index of the CDC hit in question |
Definition at line 252 of file CDCTriggerTSFFirmwareModule.cc.
|
inherited |
Configure the abort log level.
Definition at line 67 of file Module.cc.
|
inherited |
Configure the debug messaging level.
Definition at line 61 of file Module.cc.
|
protectedinherited |
Sets the description of the module.
description | A description of the module. |
|
inlineinherited |
Set the log system configuration.
Definition at line 230 of file Module.h.
|
inherited |
Configure the printed log information for the given level.
logLevel | The log level (one of LogConfig::ELogLevel) |
logInfo | What kind of info should be printed? ORed combination of LogConfig::ELogInfo flags. |
Definition at line 73 of file Module.cc.
|
inherited |
Configure the log level.
|
inlineinherited |
|
inlineprotectedinherited |
Replace existing parameter list.
Definition at line 501 of file Module.h.
|
privateinherited |
Implements a method for setting boost::python objects.
The method supports the following types: list, dict, int, double, string, bool The conversion of the python object to the C++ type and the final storage of the parameter value is done in the ModuleParam class.
name | The unique name of the parameter. |
pyObj | The object which should be converted and stored as the parameter value. |
Definition at line 234 of file Module.cc.
|
privateinherited |
Implements a method for reading the parameter values from a boost::python dictionary.
The key of the dictionary has to be the name of the parameter and the value has to be of one of the supported parameter types.
dictionary | The python dictionary from which the parameter values are read. |
Definition at line 249 of file Module.cc.
|
inherited |
Sets the flags for the module properties.
propertyFlags | bitwise OR of EModulePropFlags |
|
protectedinherited |
Sets the return value for this module as bool.
The bool value is saved as an integer with the convention 1 meaning true and 0 meaning false. The value can be used in the steering file to divide the analysis chain into several paths.
value | The value of the return value. |
|
protectedinherited |
Sets the return value for this module as integer.
The value can be used in the steering file to divide the analysis chain into several paths.
value | The value of the return value. |
|
protected |
set 2nd priority info
Definition at line 341 of file CDCTriggerTSFFirmwareModule.cc.
|
protectedinherited |
Set the module type.
Only for use by internal modules (which don't use the normal REG_MODULE mechanism).
|
protected |
Simulate 1 clock of merger.
iclock | index of data clock |
Definition at line 364 of file CDCTriggerTSFFirmwareModule.cc.
|
overridevirtual |
close the pipes and wait for children to die.
Reimplemented from Module.
Definition at line 179 of file CDCTriggerTSFFirmwareModule.cc.
|
protected |
Get the trigger time stamp of a hit.
index | index of the CDC hit in question |
iFirstHit | index of the first hit |
Definition at line 230 of file CDCTriggerTSFFirmwareModule.cc.
|
protected |
Get the trigger time of the CDC hit.
index | index of the CDC hit in question |
iFirstHit | index of the first hit |
Definition at line 220 of file CDCTriggerTSFFirmwareModule.cc.
|
protected |
write TSF input signals to the worker
message | words to write |
outstream | output file descriptor |
Definition at line 90 of file CDCTriggerTSFFirmwareModule.cc.
|
staticconstexpr |
data clock period (32ns) in unit of 2ns
Definition at line 111 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
current diretory
Definition at line 169 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
data structure to hold merger output
Definition at line 268 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
path to the simulation snapshot
Definition at line 173 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
path to the simulation snapshot
Definition at line 171 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
CDC hit ID in each clock.
Definition at line 287 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
list of cell ID related to edge timing
Definition at line 301 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
array holding file descriptors of pipes
Definition at line 220 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
XSI compliant format of input to TSF.
Definition at line 205 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
data stream
Definition at line 243 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
extension of lib
Definition at line 167 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
switch If true, the trigger time of the hit with largest TDC count becomes 0.
Otherwise, m_TDCCountForT0 becomes 0 (as in the fast TSIM).
Definition at line 164 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
bitstream of TSF output to 2D tracker
Definition at line 140 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
CDCHit array.
Definition at line 127 of file CDCTriggerTSFFirmwareModule.h.
|
privateinherited |
|
protected |
debug level specified in the steering file
Definition at line 155 of file CDCTriggerTSFFirmwareModule.h.
|
privateinherited |
|
protected |
map from cell ID to related edge ID
Definition at line 316 of file CDCTriggerTSFFirmwareModule.h.
|
privateinherited |
|
protected |
Name of the StoreArray containing the input CDC hits.
Definition at line 115 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
ID of the earlist CDC hit in an event.
Definition at line 319 of file CDCTriggerTSFFirmwareModule.h.
|
privateinherited |
|
protected |
flag to only simulation merger and not TSF
Definition at line 146 of file CDCTriggerTSFFirmwareModule.h.
|
privateinherited |
|
privateinherited |
|
staticconstexpr |
how many clocks to simulate per event
Definition at line 108 of file CDCTriggerTSFFirmwareModule.h.
|
staticconstexpr |
number of TSF to simulate
Definition at line 78 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
Name of the StoreArray holding the raw bit content to 2D trackers.
Definition at line 121 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
Name of the StoreArray holding the raw bit content to ETF.
Definition at line 124 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
Name of the StoreArray holding the found TS hits.
Definition at line 118 of file CDCTriggerTSFFirmwareModule.h.
|
privateinherited |
|
protected |
'1' in XSI VHDL simulation
'0' in XSI VHDL simulation array holding child process ID
Definition at line 187 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
list keeping the index of priority hit of a TS for making fastsim ts hit object
Definition at line 285 of file CDCTriggerTSFFirmwareModule.h.
|
privateinherited |
|
protected |
flag to simulate front-end clock counter
Definition at line 149 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
list of flags to run a TSF firmware simulation with dummy L/R LUT (to speed up loading)
Definition at line 152 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
TDC count value from T0.
Definition at line 158 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
unpacked track segment hit
Definition at line 143 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
map from cell ID to TS ID, for inner and outer Merger
Definition at line 294 of file CDCTriggerTSFFirmwareModule.h.
|
privateinherited |
|
staticconstexpr |
merger output data width
Definition at line 90 of file CDCTriggerTSFFirmwareModule.h.
|
staticconstexpr |
number of mergers in axial super layers
Definition at line 84 of file CDCTriggerTSFFirmwareModule.h.
|
staticconstexpr |
Number of wire/cells in a single layer per merger unit.
Definition at line 99 of file CDCTriggerTSFFirmwareModule.h.
|
staticconstexpr |
number of mergers in each super layer
Definition at line 81 of file CDCTriggerTSFFirmwareModule.h.
|
staticconstexpr |
number of track segments in a single merger unit
Definition at line 102 of file CDCTriggerTSFFirmwareModule.h.
|
staticconstexpr |
number of trackers
Definition at line 87 of file CDCTriggerTSFFirmwareModule.h.
|
staticconstexpr |
number of wire/cell in a single merger unit
Definition at line 96 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
list of cell ID related to edge timing
Definition at line 309 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
array holding file descriptors of pipes
Definition at line 222 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
bits format of merger output / TSF input
Definition at line 196 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
array holding TSF output data
Definition at line 208 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
path to the simulation engine
Definition at line 175 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
array holding file handlers of pipes
Definition at line 217 of file CDCTriggerTSFFirmwareModule.h.
|
staticconstexpr |
bit width for priority time and fast time
Definition at line 105 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
wdb name extension
Definition at line 179 of file CDCTriggerTSFFirmwareModule.h.
|
protected |
wdb name prefix
Definition at line 177 of file CDCTriggerTSFFirmwareModule.h.
|
staticconstexpr |
width of output data width
Definition at line 93 of file CDCTriggerTSFFirmwareModule.h.