9 #include "Api/PandoraApi.h" 11 #include "Pandora/Algorithm.h" 12 #include "Pandora/AlgorithmTool.h" 13 #include "Pandora/Pandora.h" 224 #define LAR_ALGORITHM_LIST(d) \ 225 d("LArMuonLeadingEventValidation", MuonLeadingEventValidationAlgorithm) \ 226 d("LArElectronInitialRegionRefinement", ElectronInitialRegionRefinementAlgorithm) \ 227 d("LArNeutrinoEventValidation", NeutrinoEventValidationAlgorithm) \ 228 d("LArTestBeamEventValidation", TestBeamEventValidationAlgorithm) \ 229 d("LArTestBeamHierarchyEventValidation", TestBeamHierarchyEventValidationAlgorithm) \ 230 d("LArHierarchyMonitoring", HierarchyMonitoringAlgorithm) \ 231 d("LArHierarchyValidation", HierarchyValidationAlgorithm) \ 232 d("LArPfoValidation", PfoValidationAlgorithm) \ 233 d("LArMCParticleMonitoring", MCParticleMonitoringAlgorithm) \ 234 d("LArVertexMonitoring", VertexMonitoringAlgorithm) \ 235 d("LArVisualMonitoring", VisualMonitoringAlgorithm) \ 236 d("LArVisualParticleMonitoring", VisualParticleMonitoringAlgorithm) \ 237 d("LArEventReading", EventReadingAlgorithm) \ 238 d("LArEventWriting", EventWritingAlgorithm) \ 239 d("LArCheatingClusterCharacterisation", CheatingClusterCharacterisationAlgorithm) \ 240 d("LArCheatingClusterCreation", CheatingClusterCreationAlgorithm) \ 241 d("LArCheatingCosmicRayIdentification", CheatingCosmicRayIdentificationAlg) \ 242 d("LArCheatingCosmicRayShowerMatching", CheatingCosmicRayShowerMatchingAlg) \ 243 d("LArCheatingNeutrinoCreation", CheatingNeutrinoCreationAlgorithm) \ 244 d("LArCheatingNeutrinoDaughterVertices", CheatingNeutrinoDaughterVerticesAlgorithm) \ 245 d("LArCheatingPfoCharacterisation", CheatingPfoCharacterisationAlgorithm) \ 246 d("LArCheatingPfoCreation", CheatingPfoCreationAlgorithm) \ 247 d("LArCheatingCosmicRayRemoval", CheatingCosmicRayRemovalAlgorithm) \ 248 d("LArCheatingVertexCreation", CheatingVertexCreationAlgorithm) \ 249 d("LArCheatingVertexSelection", CheatingVertexSelectionAlgorithm) \ 250 d("LArPcaShowerParticleBuilding", PcaShowerParticleBuildingAlgorithm) \ 251 d("LArMaster", MasterAlgorithm) \ 252 d("LArPostProcessing", PostProcessingAlgorithm) \ 253 d("LArPreProcessing", PreProcessingAlgorithm) \ 254 d("LArSlicing", SlicingAlgorithm) \ 255 d("LArStreaming", StreamingAlgorithm) \ 256 d("LArTrackParticleBuilding", TrackParticleBuildingAlgorithm) \ 257 d("LArNeutrinoCreation", NeutrinoCreationAlgorithm) \ 258 d("LArNeutrinoDaughterVertices", NeutrinoDaughterVerticesAlgorithm) \ 259 d("LArNeutrinoHierarchy", NeutrinoHierarchyAlgorithm) \ 260 d("LArNeutrinoProperties", NeutrinoPropertiesAlgorithm) \ 261 d("LArTestBeamParticleCreation", TestBeamParticleCreationAlgorithm) \ 262 d("LArCosmicRayShowerMatching", CosmicRayShowerMatchingAlgorithm) \ 263 d("LArCosmicRayTrackMatching", CosmicRayTrackMatchingAlgorithm) \ 264 d("LArCosmicRayTrackRecovery", CosmicRayTrackRecoveryAlgorithm) \ 265 d("LArCosmicRayVertexBuilding", CosmicRayVertexBuildingAlgorithm) \ 266 d("LArDeltaRayIdentification", DeltaRayIdentificationAlgorithm) \ 267 d("LArDeltaRayMatching", DeltaRayMatchingAlgorithm) \ 268 d("LArDeltaRayParent", DeltaRayParentAlgorithm) \ 269 d("LArThreeViewDeltaRayMatching", ThreeViewDeltaRayMatchingAlgorithm) \ 270 d("LArTwoViewDeltaRayMatching", TwoViewDeltaRayMatchingAlgorithm) \ 271 d("LArOneViewDeltaRayMatching", OneViewDeltaRayMatchingAlgorithm) \ 272 d("LArUnattachedDeltaRays", UnattachedDeltaRaysAlgorithm) \ 273 d("LArThreeDHitCreation", ThreeDHitCreationAlgorithm) \ 274 d("LArThreeDLongitudinalTracks", ThreeViewLongitudinalTracksAlgorithm) \ 275 d("LArRecursivePfoMopUp", RecursivePfoMopUpAlgorithm) \ 276 d("LArSlidingConePfoMopUp", SlidingConePfoMopUpAlgorithm) \ 277 d("LArShowerHierarchyMopUp", ShowerHierarchyMopUpAlgorithm) \ 278 d("LArShowerPfoMopUp", ShowerPfoMopUpAlgorithm) \ 279 d("LArVertexBasedPfoMopUp", VertexBasedPfoMopUpAlgorithm) \ 280 d("LArParticleRecovery", ParticleRecoveryAlgorithm) \ 281 d("LArVertexBasedPfoRecovery", VertexBasedPfoRecoveryAlgorithm) \ 282 d("LArThreeDRemnants", ThreeViewRemnantsAlgorithm) \ 283 d("LArThreeDShowers", ThreeViewShowersAlgorithm) \ 284 d("LArThreeDTrackFragments", ThreeViewTrackFragmentsAlgorithm) \ 285 d("LArThreeDTransverseTracks", ThreeViewTransverseTracksAlgorithm) \ 286 d("LArTwoViewTransverseTracks", TwoViewTransverseTracksAlgorithm) \ 287 d("LArCutClusterCharacterisation", CutClusterCharacterisationAlgorithm) \ 288 d("LArCutPfoCharacterisation", CutPfoCharacterisationAlgorithm) \ 289 d("LArShowerGrowing", ShowerGrowingAlgorithm) \ 290 d("LArBdtPfoCharacterisation", BdtPfoCharacterisationAlgorithm) \ 291 d("LArSvmPfoCharacterisation", SvmPfoCharacterisationAlgorithm) \ 292 d("LArCrossGapsAssociation", CrossGapsAssociationAlgorithm) \ 293 d("LArCrossGapsExtension", CrossGapsExtensionAlgorithm) \ 294 d("LArHitWidthClusterMerging", HitWidthClusterMergingAlgorithm) \ 295 d("LArLongitudinalAssociation", LongitudinalAssociationAlgorithm) \ 296 d("LArLongitudinalExtension", LongitudinalExtensionAlgorithm) \ 297 d("LArSimpleClusterGrowing", SimpleClusterGrowingAlgorithm) \ 298 d("LArSimpleClusterMerging", SimpleClusterMergingAlgorithm) \ 299 d("LArTransverseAssociation", TransverseAssociationAlgorithm) \ 300 d("LArTransverseExtension", TransverseExtensionAlgorithm) \ 301 d("LArSimpleClusterCreation", SimpleClusterCreationAlgorithm) \ 302 d("LArTrackClusterCreation", TrackClusterCreationAlgorithm) \ 303 d("LArClusteringParent", ClusteringParentAlgorithm) \ 304 d("LArBoundedClusterMopUp", BoundedClusterMopUpAlgorithm) \ 305 d("LArConeClusterMopUp", ConeClusterMopUpAlgorithm) \ 306 d("LArIsolatedClusterMopUp", IsolatedClusterMopUpAlgorithm) \ 307 d("LArNearbyClusterMopUp", NearbyClusterMopUpAlgorithm) \ 308 d("LArSlidingConeClusterMopUp", SlidingConeClusterMopUpAlgorithm) \ 309 d("LArCosmicRayExtension", CosmicRayExtensionAlgorithm) \ 310 d("LArCosmicRaySplitting", CosmicRaySplittingAlgorithm) \ 311 d("LArDeltaRayExtension", DeltaRayExtensionAlgorithm) \ 312 d("LArDeltaRayGrowing", DeltaRayGrowingAlgorithm) \ 313 d("LArTrackMergeRefinement", TrackMergeRefinementAlgorithm) \ 314 d("LArBranchSplitting", BranchSplittingAlgorithm) \ 315 d("LArCrossedTrackSplitting", CrossedTrackSplittingAlgorithm) \ 316 d("LArDeltaRaySplitting", DeltaRaySplittingAlgorithm) \ 317 d("LArKinkSplitting", KinkSplittingAlgorithm) \ 318 d("LArLayerSplitting", LayerSplittingAlgorithm) \ 319 d("LArOvershootSplitting", OvershootSplittingAlgorithm) \ 320 d("LArTrackConsolidation", TrackConsolidationAlgorithm) \ 321 d("LArVertexSplitting", VertexSplittingAlgorithm) \ 322 d("LArTwoDParticleCreation", TwoDParticleCreationAlgorithm) \ 323 d("LArInteractionSelection", InteractionSelectionAlgorithm) \ 324 d("LArListChanging", ListChangingAlgorithm) \ 325 d("LArListDeletion", ListDeletionAlgorithm) \ 326 d("LArListMerging", ListMergingAlgorithm) \ 327 d("LArPfoHitCleaning", PfoHitCleaningAlgorithm) \ 328 d("LArListPruning", ListPruningAlgorithm) \ 329 d("LArCandidateVertexCreation", CandidateVertexCreationAlgorithm) \ 330 d("LArEnergyKickVertexSelection", EnergyKickVertexSelectionAlgorithm) \ 331 d("LArHitAngleVertexSelection", HitAngleVertexSelectionAlgorithm) \ 332 d("LArBdtVertexSelection", BdtVertexSelectionAlgorithm) \ 333 d("LArSvmVertexSelection", SvmVertexSelectionAlgorithm) \ 334 d("LArVertexRefinement", VertexRefinementAlgorithm) 336 #define LAR_ALGORITHM_TOOL_LIST(d) \ 337 d("LArConnectionRegionFeatureTool", ConnectionRegionFeatureTool) \ 338 d("LArShowerRegionFeatureTool", ShowerRegionFeatureTool) \ 339 d("LArAmbiguousRegionFeatureTool", AmbiguousRegionFeatureTool) \ 340 d("LArInitialRegionFeatureTool", InitialRegionFeatureTool) \ 341 d("LArPeakDirectionFinder", PeakDirectionFinderTool) \ 342 d("LArProtoShowerMatching", ProtoShowerMatchingTool) \ 343 d("LArShowerSpineFinder", ShowerSpineFinderTool) \ 344 d("LArShowerStartFinder", ShowerStartFinderTool) \ 345 d("LArBdtBeamParticleId", BdtBeamParticleIdTool) \ 346 d("LArBeamParticleId", BeamParticleIdTool) \ 347 d("LArCosmicRayTagging", CosmicRayTaggingTool) \ 348 d("LArBdtNeutrinoId", BdtNeutrinoIdTool) \ 349 d("LArSvmNeutrinoId", SvmNeutrinoIdTool) \ 350 d("LArSimpleNeutrinoId", SimpleNeutrinoIdTool) \ 351 d("LArStitchingCosmicRayMerging", StitchingCosmicRayMergingTool) \ 352 d("LArCosmicRayTaggingMonitoring", CosmicRayTaggingMonitoringTool) \ 353 d("LArShowerTensorVisualization", ShowerTensorVisualizationTool) \ 354 d("LArTransverseMatrixVisualization", TransverseMatrixVisualizationTool) \ 355 d("LArTransverseTensorVisualization", TransverseTensorVisualizationTool) \ 356 d("LArAmbiguousDeltaRay", AmbiguousDeltaRayTool) \ 357 d("LArCosmicRayRemoval", CosmicRayRemovalTool) \ 358 d("LArDeltaRayRemoval", DeltaRayRemovalTool) \ 359 d("LArDeltaRayMerge", DeltaRayMergeTool) \ 360 d("LArTwoViewAmbiguousDeltaRay", TwoViewAmbiguousDeltaRayTool) \ 361 d("LArTwoViewCosmicRayRemoval", TwoViewCosmicRayRemovalTool) \ 362 d("LArUnambiguousDeltaRay", UnambiguousDeltaRayTool) \ 363 d("LArCheatingBeamParticleId", CheatingBeamParticleIdTool) \ 364 d("LArCheatingBeamParticleSliceSelection", CheatingBeamParticleSliceSelectionTool) \ 365 d("LArCheatingEventSlicing", CheatingEventSlicingTool) \ 366 d("LArCheatingCosmicRayTagging", CheatingCosmicRayTaggingTool) \ 367 d("LArCheatingNeutrinoId", CheatingNeutrinoIdTool) \ 368 d("LArCheatingNeutrinoSliceSelection", CheatingNeutrinoSliceSelectionTool) \ 369 d("LArBranchAssociatedPfos", BranchAssociatedPfosTool) \ 370 d("LArEndAssociatedPfos", EndAssociatedPfosTool) \ 371 d("LArEventSlicing", EventSlicingTool) \ 372 d("LArVertexAssociatedPfos", VertexAssociatedPfosTool) \ 373 d("LArClearShowers", ClearShowersTool) \ 374 d("LArSimpleShowers", SimpleShowersTool) \ 375 d("LArSplitShowers", SplitShowersTool) \ 376 d("LArClearTrackFragments", ClearTrackFragmentsTool) \ 377 d("LArClearLongitudinalTrackHits", ClearLongitudinalTrackHitsTool) \ 378 d("LArClearTransverseTrackHits", ClearTransverseTrackHitsTool) \ 379 d("LArDeltaRayShowerHits", DeltaRayShowerHitsTool) \ 380 d("LArMultiValuedLongitudinalTrackHits", MultiValuedLongitudinalTrackHitsTool) \ 381 d("LArMultiValuedTransverseTrackHits", MultiValuedTransverseTrackHitsTool) \ 382 d("LArThreeViewShowerHits", ThreeViewShowerHitsTool) \ 383 d("LArTwoViewShowerHits", TwoViewShowerHitsTool) \ 384 d("LArClearLongitudinalTracks", ClearLongitudinalTracksTool) \ 385 d("LArMatchedEndPoints", MatchedEndPointsTool) \ 386 d("LArClearRemnants", ClearRemnantsTool) \ 387 d("LArConnectedRemnants", ConnectedRemnantsTool) \ 388 d("LArMopUpRemnants", MopUpRemnantsTool) \ 389 d("LArClearTracks", ClearTracksTool) \ 390 d("LArLongTracks", LongTracksTool) \ 391 d("LArMissingTrack", MissingTrackTool) \ 392 d("LArMissingTrackSegment", MissingTrackSegmentTool) \ 393 d("LArOvershootTracks", OvershootTracksTool) \ 394 d("LArTracksCrossingGaps", TracksCrossingGapsTool) \ 395 d("LArTrackSplitting", TrackSplittingTool) \ 396 d("LArUndershootTracks", UndershootTracksTool) \ 397 d("LArTwoViewClearTracks", TwoViewClearTracksTool) \ 398 d("LArTwoViewLongTracks", TwoViewLongTracksTool) \ 399 d("LArTwoViewSimpleTracks", TwoViewSimpleTracksTool) \ 400 d("LArTwoViewThreeDKink", TwoViewThreeDKinkTool) \ 401 d("LArEnergyKickFeature", EnergyKickFeatureTool) \ 402 d("LArEnergyDepositionAsymmetryFeature", EnergyDepositionAsymmetryFeatureTool) \ 403 d("LArGlobalAsymmetryFeature", GlobalAsymmetryFeatureTool) \ 404 d("LArLocalAsymmetryFeature", LocalAsymmetryFeatureTool) \ 405 d("LArRPhiFeature", RPhiFeatureTool) \ 406 d("LArShowerAsymmetryFeature", ShowerAsymmetryFeatureTool) \ 407 d("LArTwoDShowerFitFeatureTool", TwoDShowerFitFeatureTool) \ 408 d("LArTwoDLinearFitFeatureTool", TwoDLinearFitFeatureTool) \ 409 d("LArThreeDLinearFitFeatureTool", ThreeDLinearFitFeatureTool) \ 410 d("LArTwoDVertexDistanceFeatureTool", TwoDVertexDistanceFeatureTool) \ 411 d("LArThreeDVertexDistanceFeatureTool", ThreeDVertexDistanceFeatureTool) \ 412 d("LArThreeDChargeFeatureTool", ThreeDChargeFeatureTool) \ 413 d("LArThreeDPCAFeatureTool", ThreeDPCAFeatureTool) \ 414 d("LArThreeDOpeningAngleFeatureTool", ThreeDOpeningAngleFeatureTool) \ 415 d("LArPfoHierarchyFeatureTool", PfoHierarchyFeatureTool) \ 416 d("LArConeChargeFeatureTool", ConeChargeFeatureTool) 418 #define LAR_PARTICLE_ID_LIST(d) \ 419 d("LArMuonId", LArParticleIdPlugins::LArMuonId) 421 #define FACTORY Factory 429 #define LAR_CONTENT_CREATE_ALGORITHM_FACTORY(a, b) \ 430 class b##FACTORY : public pandora::AlgorithmFactory \ 433 pandora::Algorithm *CreateAlgorithm() const {return new b;}; \ 440 #define LAR_CONTENT_CREATE_ALGORITHM_TOOL_FACTORY(a, b) \ 441 class b##FACTORY : public pandora::AlgorithmToolFactory \ 444 pandora::AlgorithmTool *CreateAlgorithmTool() const {return new b;}; \ 454 #define LAR_CONTENT_REGISTER_ALGORITHM(a, b) \ 456 const pandora::StatusCode statusCode(PandoraApi::RegisterAlgorithmFactory(pandora, a, new lar_content::b##FACTORY)); \ 457 if (pandora::STATUS_CODE_SUCCESS != statusCode) \ 461 #define LAR_CONTENT_REGISTER_ALGORITHM_TOOL(a, b) \ 463 const pandora::StatusCode statusCode(PandoraApi::RegisterAlgorithmToolFactory(pandora, a, new lar_content::b##FACTORY)); \ 464 if (pandora::STATUS_CODE_SUCCESS != statusCode) \ 472 return pandora::STATUS_CODE_SUCCESS;
477 #define LAR_CONTENT_REGISTER_PARTICLE_ID(a, b) \ 479 const pandora::StatusCode statusCode(PandoraApi::RegisterParticleIdPlugin(pandora, a, new lar_content::b)); \ 480 if (pandora::STATUS_CODE_SUCCESS != statusCode) \ 487 return pandora::STATUS_CODE_SUCCESS;
Header file for the mva pfo characterisation algorithm class.
Header file for the one viw delta ray matching algorithm.
Header file for the cheating cosmic ray removal algorithm class.
Header file for the clustering parent algorithm class.
Header file for the cosmic ray identification cheater class.
Header file for the longitudinal association algorithm class.
Header file for the electron initial region refinement algorithm class.
Header file for the event writing algorithm class.
Header file for the neutrino event validation algorithm.
Header file for the cut based pfo characterisation algorithm class.
Header file for the cut based cluster characterisation algorithm class.
Header file for the track merge refinement class.
Header file for the mc particle monitoring algorithm.
#define LAR_CONTENT_CREATE_ALGORITHM_FACTORY(a, b)
Header file for the cosmic ray splitting algorithm class.
Header file for the sliding cone cluster mop up algorithm class.
#define LAR_ALGORITHM_TOOL_LIST(d)
Header file for the cosmic-ray extension algorithm class.
Header file for the pfo validation algorithm.
Header file for the overshoot splitting algorithm class.
Header file for the hit width cluster merging algorithm class.
Header file for the vertex splitting algorithm class.
Header file for the cross gaps association algorithm class.
Header file for the bounded cluster mop up algorithm class.
Header file for the crossed track splitting algorithm class.
#define LAR_PARTICLE_ID_LIST(d)
Header file for the mva vertex selection algorithm class.
#define LAR_CONTENT_REGISTER_ALGORITHM_TOOL(a, b)
Header file for the neutrino daughter vertices algorithm class.
Header file for the lar particle id plugins class.
Header file for the shower hierarchy mop up algorithm class.
#define LAR_ALGORITHM_LIST(d)
Header file for the cheating cluster characterisation algorithm class.
Header file for the cosmic-ray vertex building algorithm class.
Header file for the 3D track building algorithm class.
Header file for the list merging algorithm class.
Header file for the test beam hierarchy event validation algorithm.
Header file for the test beam slice selection tool class.
Header file for the track consolidation algorithm class.
Header file for the cosmic ray shower matching cheater class.
Header file for the simple cluster growing algorithm class.
Header file for the cosmic ray shower matching algorithm class.
Header file for the three dimensional hit creation algorithm class.
Header file for the list pruning algorithm class.
Header file for the geometry helper class.
Header file for the candidate vertex creation algorithm class.
Header file for the cone cluster mop up algorithm class.
Header file for the simple cluster merging algorithm class.
Header file for the cheating cluster creation algorithm class.
Header file for the beam particle id tool class.
Header file for the cheating vertex creation algorithm class.
Header file for the neutrino creation algorithm class.
Header file for the delta ray extension algorithm class.
Header file for the cheating beam particle id tool class.
Header file for the cluster creation algorithm class.
Header file for the beam particle id tool class.
Header file for the master algorithm class.
Header file for the delta ray splitting algorithm class.
Header file for the cheating pfo characterisation algorithm class.
Header file for the list changing algorithm class.
Header file for the post processing algorithm class.
Header file for the energy kick vertex selection algorithm class.
Header file for the post processing algorithm class.
Header file for the particle visualisation algorithm.
static pandora::StatusCode RegisterBasicPlugins(const pandora::Pandora &pandora)
Register the basic lar content plugins with pandora.
Header file for the neutrino properties algorithm class.
Header file for the cheating neutrino daughter vertices algorithm class.
Header file for the three view transverse tracks algorithm class.
Header file for the cheating cluster creation algorithm class.
#define LAR_CONTENT_REGISTER_ALGORITHM(a, b)
Header file for the cheating vertex selection algorithm class.
Header file for the unattached delta rays algorithm class.
Header file for the delta ray matching algorithm class.
Header file for the two view transverse tracks algorithm class.
Header file for the sliding cone pfo mop up algorithm class.
Header file for the three view fragments algorithm base class.
Header file for the particle visualisation algorithm.
Header file for the neutrino hierarchy algorithm class.
Header file for the branch splitting algorithm class.
Header file for the isolated cluster mop up algorithm class.
static pandora::StatusCode RegisterAlgorithms(const pandora::Pandora &pandora)
Register all the lar content algorithms and tools with pandora.
#define LAR_CONTENT_REGISTER_PARTICLE_ID(a, b)
Header file for the hit angle vertex selection algorithm class.
#define LAR_CONTENT_CREATE_ALGORITHM_TOOL_FACTORY(a, b)
Header file for the shower growing algorithm class.
Header file for the pfo hit cleaning algorithm class.
Header file for the event reading algorithm class.
Header file for the particle visualisation algorithm.
Header file for the transverse extension algorithm class.
Header file for the track recovery algorithm class.
Header file for the shower pfo mop up algorithm class.
Header file for the three view longitudinal tracks algorithm class.
Header file detailing content for use with particle flow reconstruction at liquid argon time projecti...
Header file for the test beam event validation algorithm.
Header file for the visual monitoring algorithm class.
Header file for the two dimensional particle creation algorithm class.
Header file for the muon leading event validation algorithm.
Header file for the longitudinal extension algorithm class.
Header file for the cheating neutrino creation algorithm class.
Header file for the nearby cluster mop up algorithm class.
Header file for the transverse association algorithm class.
Header file for the master algorithm class.
Header file for the test beam particle creation algorithm class.
Header file for the vertex-based particle recovery algorithm.
Header file for the neutrino event creation algorithm class.
Header file for the delta ray parent class.
Header file for the kink splitting algorithm class.
Header file for the pre processing algorithm class.
Header file for the delta ray identification algorithm class.
Header file for the vertex refinement algorithm class.
Header file for the hierarchy validation algorithm.
Header file for the cluster creation algorithm class.
Header file for the three view showers algorithm class.
Header file for the vertex based pfo mop up algorithm class.
Header file for the cosmic ray longitudinal track recovery algorithm class.
Header file for the list deletion algorithm class.
Header file for the cross gaps extension algorithm class.
Header file for the three view remnants algorithm class.
Header file for the cosmic ray track matching algorithm class.