|
virtual void | def_initialize () |
| Wrappers to make the methods without "def_" prefix callable from Python. More...
|
|
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. More...
|
|
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. More...
|
|
void | setType (const std::string &type) |
| Set the module type. More...
|
|
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. More...
|
|
template<typename T > |
void | addParam (const std::string &name, T ¶mVariable, const std::string &description) |
| Adds a new enforced parameter to the module. More...
|
|
void | setReturnValue (int value) |
| Sets the return value for this module as integer. More...
|
|
void | setReturnValue (bool value) |
| Sets the return value for this module as bool. More...
|
|
void | setParamList (const ModuleParamList ¶ms) |
| Replace existing parameter list.
|
|
The SVD B4CommissioningPlots Module.
Definition at line 47 of file SVDB4CommissioningPlotsModule.h.
bool evalCondition |
( |
| ) |
const |
|
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().
- Returns
- True if at least one condition and return value exists and at least one condition expression was evaluated to true.
Definition at line 96 of file Module.cc.
virtual std::vector<std::string> getFileNames |
( |
bool |
outputFiles | ) |
|
|
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 RootOutputModule, StorageRootOutputModule, and RootInputModule.
Definition at line 134 of file Module.h.
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.
- Parameters
-
path | Shared pointer to the Path which will be executed if the return value is false. |
afterConditionPath | What to do after executing 'path'. |
Definition at line 85 of file Module.cc.
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.
- Parameters
-
path | Shared pointer to the Path which will be executed if the return value is true. |
afterConditionPath | What to do after executing 'path'. |
Definition at line 90 of file Module.cc.
virtual void terminate |
( |
void |
| ) |
|
|
inlinevirtualinherited |
This method is called at the end of the event processing.
This method is called only once after the event processing finished. Use this method for cleaning up, closing files, etc.
This method can be implemented by subclasses.
Reimplemented in ROIDQMModule, DQMHistOutputToEPICSModule, DQMHistInjectionModule, DQMHistAnalysisTRGModule, DQMHistAnalysisRunNrModule, DQMHistAnalysisRooFitExampleModule, DQMHistAnalysisPXDTrackChargeModule, DQMHistAnalysisPXDReductionModule, DQMHistAnalysisPXDEffModule, DQMHistAnalysisPXDCMModule, DQMHistAnalysisPXDChargeModule, DQMHistAnalysisDeltaTestModule, DQMHistAnalysisDeltaEpicsMonObjExampleModule, ROISenderModule, PXDROIFinderAnalysisModule, SVDDQMExpressRecoModule, SVDDQMClustersOnTrackModule, PXDUnpackerOTModule, PXDUnpackerOldModule, PXDUnpackerModule, PXDReadRawONSENModule, PXDReadRawBonnDAQMatchedModule, PXDReadRawBonnDAQModule, PXDPackerModule, PXDPackerErrModule, PXDDQMTrackRawNtupleModule, PXDDQMEfficiencyNtupleSelftrackModule, PXDDQMEfficiencyNtupleModule, PXDMCBgTupleProducerModule, PXDBgTupleProducerModule, PyModule, DQMHistSnapshotsModule, DQMHistDeltaHistoModule, DQMHistComparitorModule, DQMHistAnalysisTRGGDLModule, DQMHistAnalysisTRGECLModule, DQMHistAnalysisTOPModule, DQMHistAnalysisSVDOnMiraBelleModule, DQMHistAnalysisSVDGeneralModule, DQMHistAnalysisSVDEfficiencyModule, DQMHistAnalysisPXDFitsModule, DQMHistAnalysisOutputRelayMsgModule, DQMHistAnalysisOutputMonObjModule, DQMHistAnalysisOutputFileModule, DQMHistAnalysisMonObjModule, DQMHistAnalysisMiraBelleModule, DQMHistAnalysisKLMModule, DQMHistAnalysisInputTestModule, DQMHistAnalysisInputPVSrvModule, DQMHistAnalysisHLTMonObjModule, DQMHistAnalysisHLTModule, DQMHistAnalysisExampleFlagsModule, DQMHistAnalysisExampleModule, DQMHistAnalysisEventT0TriggerJitterModule, DQMHistAnalysisEventT0EfficiencyModule, DQMHistAnalysisEpicsExampleModule, DQMHistAnalysisECLSummaryModule, DQMHistAnalysisECLShapersModule, DQMHistAnalysisECLOutOfTimeDigitsModule, DQMHistAnalysisECLConnectedRegionsModule, DQMHistAnalysisECLModule, DQMHistAnalysisDAQMonObjModule, DQMHistAnalysisCDCMonObjModule, DQMHistAnalysisCDCDedxModule, DQMHistAnalysisARICHMonObjModule, DQMHistAnalysisARICHModule, VXDMisalignmentModule, TRGRAWDATAModule, TRGTOPWaveformPlotterModule, TRGTOPUnpackerWaveformModule, TRGTOPUnpackerModule, TRGTOPTRD2TTSConverterModule, TRGTOPDQMModule, KLMTriggerModule, TRGGRLUnpackerModule, GRLNeuroTrainerModule, GRLNeuroModule, TRGGRLDQMModule, TRGGRLProjectsModule, TRGGRLModule, TRGGRLMatchModule, TRGGDLUnpackerModule, TRGGDLSummaryModule, TRGGDLDSTModule, TRGGDLDQMModule, TRGGDLModule, TRGECLUnpackerModule, TRGECLTimingCalModule, TRGECLRawdataAnalysisModule, TRGECLQAMModule, TRGECLDQMModule, TRGECLBGTCHitModule, TRGECLModule, TRGECLFAMModule, MCMatcherTRGECLModule, CDCTriggerUnpackerModule, TRGCDCTSStreamModule, TRGCDCTSFUnpackerModule, TRGCDCTSFDQMModule, TRGCDCT3DUnpackerModule, TRGCDCT3DDQMModule, TRGCDCT3DConverterModule, TRGCDCT2DDQMModule, TRGCDCETFUnpackerModule, TRGCDCModule, CDCTriggerTSFModule, CDCTriggerTSFFirmwareModule, CDCTriggerNeuroIDHistModule, CDCTriggerNeuroDataModule, CDCTriggerNDFinderModule, CDCTrigger2DFinderModule, CDCTriggerHoughETFModule, CDCTriggerNeuroDQMOnlineModule, CDCTriggerNeuroDQMModule, FindletModule< AFindlet >, FindletModule< TrackFinderAutomaton >, FindletModule< FacetCreator >, FindletModule< CKFToCDCFromEclFindlet >, FindletModule< AxialTrackCreatorMCTruth >, FindletModule< AxialStraightTrackFinder >, FindletModule< CKFToCDCFindlet >, FindletModule< CKFToSVDSeedFindlet >, FindletModule< SegmentLinker >, FindletModule< TrackCreatorSegmentTripleAutomaton >, FindletModule< TrackCreatorSegmentPairAutomaton >, FindletModule< SegmentOrienter >, FindletModule< SegmentCreatorFacetAutomaton >, FindletModule< TrackFinderSegmentTripleAutomaton >, FindletModule< SegmentFinderFacetAutomaton >, FindletModule< CKFToSVDFindlet >, FindletModule< TrackRejecter >, FindletModule< SegmentCreatorMCTruth >, FindletModule< TrackFinderCosmics >, FindletModule< TrackExporter >, FindletModule< SuperClusterCreator >, FindletModule< AsicBackgroundLibraryCreator >, FindletModule< HitBasedT0Extractor >, FindletModule< TrackFinderSegmentPairAutomaton >, FindletModule< ClusterPreparer >, FindletModule< AxialTrackFinderHough >, FindletModule< CosmicsTrackMergerFindlet >, FindletModule< TrackOrienter >, FindletModule< TrackLinker >, FindletModule< TrackFinder >, FindletModule< SegmentPairCreator >, FindletModule< MonopoleAxialTrackFinderLegendre >, FindletModule< HitReclaimer >, FindletModule< ClusterRefiner< BridgingWireHitRelationFilter > >, FindletModule< AxialTrackFinderLegendre >, FindletModule< AxialTrackCreatorSegmentHough >, FindletModule< TrackQualityEstimator >, FindletModule< StereoHitFinder >, FindletModule< CKFToPXDFindlet >, FindletModule< WireHitPreparer >, FindletModule< TrackFlightTimeAdjuster >, FindletModule< TrackCreatorSingleSegments >, FindletModule< SegmentRejecter >, FindletModule< SegmentFitter >, FindletModule< SegmentTripleCreator >, FindletModule< SegmentTrackCombiner >, FindletModule< vxdHoughTracking::SVDHoughTracking >, FindletModule< MCVXDCDCTrackMergerFindlet >, FindletModule< TrackCombiner >, FindletModule< MonopoleStereoHitFinder >, FindletModule< DATCONFPGAFindlet >, FindletModule< WireHitBackgroundDetector >, FindletModule< AxialSegmentPairCreator >, FindletModule< WireHitCreator >, FindletModule< TrackQualityAsserter >, FindletModule< MonopoleStereoHitFinderQuadratic >, FindletModule< ClusterBackgroundDetector >, FindletModule< CDCTrackingEventLevelMdstInfoFillerFindlet >, VXDTFTrainingDataCollectorModule, SPTC2RTConverterModule, SegmentNetworkAnalyzerModule, NoKickCutsEvalModule, MLSegmentNetworkProducerModule, FastBDTClassifierTrainingModule, FastBDTClassifierAnalyzerModule, VXDQETrainingDataCollectorModule, TrackFinderVXDAnalizerModule, SecMapTrainerVXDTFModule, SecMapTrainerBaseModule, V0FinderModule, TrackQETrainingDataCollectorModule, V0findingPerformanceEvaluationModule, TrackingPerformanceEvaluationModule, HitXPModule, FillTrackFitNtupleModule, EffPlotsModule, StudyMaterialEffectsModule, CollectorTestModule, TrackFilterModule, SVDROIFinderModule, SVDROIFinderAnalysisModule, SVDROIFinderAnalysisDataModule, StandardTrackingPerformanceModule, TCConvertersTestModule, SPTCRefereeModule, SPTC2GFTCConverterModule, SpacePointCreatorTestModule, SpacePoint2TrueHitConnectorModule, RT2SPTCConverterModule, PhaseSpaceAnalysisModule, GFTC2SPTCConverterModule, CurlingTrackCandSplitterModule, ROIReadTestModule, MuidModule, MCTrackCandClassifierModule, MCV0MatcherModule, Chi2MCTrackMatcherModule, BeamSpotMonitorModule, GenfitVisModule, ExtModule, TOPXTalkChargeShareSetterModule, TOPWaveformFeatureExtractorModule, TOPUnpackerModule, TOPTimeBaseCalibratorModule, TOPTBCComparatorModule, TOPRingPlotterModule, TOPRawDigitConverterModule, TOPPDFCheckerModule, TOPPackerModule, TOPNtupleModule, TOPModuleT0CalibratorModule, TOPMCTrackMakerModule, TOPLLScannerModule, TOPLaserCalibratorModule, TOPInterimFENtupleModule, TOPLaserHitSelectorModule, TOPGainEfficiencyCalculatorModule, TOPDoublePulseGeneratorModule, TOPTriggerDigitizerModule, TOPCosmicT0FinderModule, TOPCommonT0CalibratorModule, TOPChannelT0MCModule, TOPChannelT0CalibratorModule, TOPBunchFinderModule, TOPBackgroundModule, TOPAlignerModule, SVDSpacePointQICalibrationModule, SVDSpacePointCreatorModule, SVDTriggerQualityGeneratorModule, SVDDigitizerModule, SVD3SamplesEmulatorModule, SVDDataFormatCheckModule, SVDCoGTimeEstimatorModule, SVDShaperDigitsFromTracksModule, SVDPerformanceTTreeModule, SVDMaxStripTTreeModule, SVDEventT0PerformanceTTreeModule, SVDClusterFilterModule, SVDClusterEvaluationTrueInfoModule, SVDPackerModule, svdDumpModule, SVDCrossTalkFinderModule, SVDClusterQualityEstimatorModule, SVDClusterQualityEstimatorCalibrationModule, SVDChargeSharingAnalysisModule, SVDHotStripFinderModule, SVDChannelMappingModule, SVDBackgroundModule, FullSimTimingModule, FullSimModule, VXDDedxPIDModule, PIDNtupleModule, MdstPIDModule, KlongValidationModule, KLMExpertModule, ECLExpertModule, DataWriterModule, HitLevelInfoWriterModule, CDCDedxValidationModule, CDCDedxSkimCDSTModule, CDCDedxSkimModule, CDCDedxScanModule, CDCDedxPIDModule, CDCDedxDQMModule, CDCDedxCorrectionModule, Root2BinaryModule, Convert2RawDetModule, CheckErrorEventModule, PXDSpacePointCreatorModule, PXDPerformanceModule, PXDClustersFromTracksModule, PXDBackgroundModule, AWESOMEBasicModule, MVAMultipleExpertsModule, MVAExpertModule, MasterClassModule, KLMUnpackerModule, KLMScintillatorSimulatorModule, KLMReconstructorModule, KLMPackerModule, KLMDQM2Module, KLMDQMModule, KLMDigitizerModule, KLMClustersReconstructorModule, KLMClusterEfficiencyModule, EKLMDataCheckerModule, BKLMTrackingModule, BKLMSimHistogrammerModule, BKLMDigitAnalyzerModule, BKLMAnaModule, SoftwareTriggerResultPrinterModule, SoftwareTriggerModule, GeometryModule, TrepsInputModule, TeeggInputModule, PhokharaInputModule, KoralWInputModule, KKGenInputModule, RemoveMCParticlesModule, OverrideGenerationFlagsModule, HepevtOutputModule, GeneratorPreselectionModule, GeneratedVertexDisplacerModule, HepMCOutputModule, HepMCInputModule, FragmentationModule, EvtGenDecayModule, CRYInputModule, BHWideInputModule, BBBremInputModule, BabayagaNLOInputModule, AafhInputModule, ZMQTxWorkerModule, ZMQTxInputModule, ZMQRxWorkerModule, ZMQRxOutputModule, TxModule, RxModule, AsyncWrapper, SeqRootOutputModule, SeqRootInputModule, RootOutputModule, RootInputModule, ProfileModule, HistoManagerModule, RandomBarrierModule, ProgressBarModule, SwitchDataStoreModule, SubEventModule, MergeDataStoreModule, HistoModule, ECLWaveformFitModule, eclWaveformCalibCollectorModule, ECLUnpackerModule, ECLTrimShowersAndDigitsModule, ECLTRGInformationModule, ECLTrackClusterMatchingPerformanceModule, ECLTrackClusterMatchingParametrizationExpertModule, ECLTrackClusterMatchingModule, ECLSplitterN2Module, ECLSplitterN1Module, ECLShowerShapeModule, ECLShowerCorrectorModule, ECLShowerCalibratorModule, ECLPackerModule, ECLMatchingPerformanceExpertModule, ECLLOMModule, ECLLocalMaximumFinderModule, ECLHitDebugModule, ECLFinalizerModule, ECLFillCellIdMappingModule, ECLDQMEXTENDEDModule, ECLDQMModule, EclDisplayModule, ECLDigitizerPureCsIModule, ECLDigitizerModule, ECLDigitCalibratorModule, ECLDigiStudyModule, ECLDataAnalysisModule, EclCovMatrixNtupleModule, ECLCRFinderModule, ECLCovarianceMatrixModule, ECLCompressBGOverlayModule, ECLClusterPSDModule, ECLChargedPIDDataAnalysisValidationModule, ECLChargedPIDDataAnalysisModule, ECLChargedPIDModule, ECLBackgroundModule, PhysicsObjectsMiraBelleModule, PhysicsObjectsMiraBelleHadronModule, PhysicsObjectsMiraBelleDstModule, PhysicsObjectsMiraBelleDst2Module, PhysicsObjectsMiraBelleBhabhaModule, PhysicsObjectsDQMModule, DQMHistAnalysisInputModule, DisplayModule, StorageSerializerModule, StorageRootOutputModule, StorageDeserializerModule, SeqRootMergerModule, PartialSeqRootReaderModule, Ds2RawFileModule, Rbuf2RbufModule, Rbuf2DsModule, RawInputModule, Raw2DsModule, FastRbuf2DsModule, EvReductionModule, Ds2RbufModule, Ds2RawModule, CertifyParallelModule, SerializerModule, Root2RawModule, MonitorDataCOPPERModule, GenRawSendModule, DeSerializerPXDModule, DeSerializerModule, ElapsedTimeModule, HLTDs2ZMQModule, HLTDQM2ZMQModule, ReceiveEventModule, Ds2SampleModule, TrackAnaModule, MonitorDataModule, DqmHistoManagerModule, TxSocketModule, RxSocketModule, DAQPerfModule, CDCUnpackerModule, CDCRecoTrackFilterModule, CDCPackerModule, CDCInitialT0DeterminationModule, ScanCDCGeoModule, CDCDQMModule, cdcDQM7Module, CDCDigitizerModule, CDCCRTestModule, CDCCrossTalkAdderModule, CDCCosmicAnalysisModule, QcsmonitorStudyModule, QcsmonitorDigitizerModule, PlumeDigitizerModule, PindiodeStudyModule, PinDigitizerModule, TPCStudyModule, TpcDigitizerModule, MicrotpcStudyModule, He3tubeStudyModule, He3DigitizerModule, FANGSStudyModule, FANGSDigitizerModule, DosiStudyModule, DosiDigitizerModule, CsIStudyModule, CsiStudy_v2Module, CsiModule, CsIDigitizerModule, CsiDigitizer_v2Module, ClawsStudyModule, ClawsDigitizerModule, ClawStudyModule, ClawDigitizerModule, BgoStudyModule, BgoDigitizerModule, BeamDigitizerModule, BeamabortStudyModule, ReprocessorModule, NtuplePhase1_v6Module, AnalysisPhase1StudyModule, BGOverlayInputModule, BeamBkgTagSetterModule, BeamBkgMixerModule, BeamBkgHitRateMonitorModule, BeamBkgGeneratorModule, BelleMCOutputModule, B2BIIMdstInputModule, B2BIIFixMdstModule, B2BIIConvertMdstModule, B2BIIMCParticlesMonitorModule, arichToNtupleModule, ARICHNtupleModule, arichBtestModule, VariablesToNtupleModule, VariablesToHistogramModule, VariablesToEventBasedTreeModule, TreeFitterModule, SkimFilterModule, RemoveParticlesNotInListsModule, ParticleWeightingLookUpCreatorModule, ParticleStatsModule, ParticleMomentumUpdaterModule, ParticleMCDecayStringModule, ParticleMassUpdaterModule, ParticleLoaderModule, ParticleKinematicFitterModule, LowEnergyPi0VetoExpertModule, LowEnergyPi0IdentificationExpertModule, FlavorTaggerInfoFillerModule, EventKinematicsModule, CurlTaggerModule, CosmicsAlignmentValidationModule, CalibrationCollectorModule, GetEventFromSocketModule, SrsensorModule, QcsmonitorModule, PlumeModule, PindiodeModule, Ph1sustrModule, Ph1bpipeModule, MicrotpcModule, He3tubeModule, FANGSModule, DosiModule, CLAWSModule, ClawModule, CaveModule, BgoModule, BeamabortModule, and ARICHBackgroundModule.
Definition at line 176 of file Module.h.