9 #include "Api/PandoraApi.h" 11 #include "Pandora/Algorithm.h" 12 #include "Pandora/AlgorithmTool.h" 13 #include "Pandora/Pandora.h" 215 #define LAR_ALGORITHM_LIST(d) \ 216 d("LArMuonLeadingEventValidation", MuonLeadingEventValidationAlgorithm) \ 217 d("LArNeutrinoEventValidation", NeutrinoEventValidationAlgorithm) \ 218 d("LArTestBeamEventValidation", TestBeamEventValidationAlgorithm) \ 219 d("LArTestBeamHierarchyEventValidation", TestBeamHierarchyEventValidationAlgorithm) \ 220 d("LArHierarchyMonitoring", HierarchyMonitoringAlgorithm) \ 221 d("LArHierarchyValidation", HierarchyValidationAlgorithm) \ 222 d("LArPfoValidation", PfoValidationAlgorithm) \ 223 d("LArMCParticleMonitoring", MCParticleMonitoringAlgorithm) \ 224 d("LArVisualMonitoring", VisualMonitoringAlgorithm) \ 225 d("LArVisualParticleMonitoring", VisualParticleMonitoringAlgorithm) \ 226 d("LArEventReading", EventReadingAlgorithm) \ 227 d("LArEventWriting", EventWritingAlgorithm) \ 228 d("LArCheatingClusterCharacterisation", CheatingClusterCharacterisationAlgorithm) \ 229 d("LArCheatingClusterCreation", CheatingClusterCreationAlgorithm) \ 230 d("LArCheatingCosmicRayIdentification", CheatingCosmicRayIdentificationAlg) \ 231 d("LArCheatingCosmicRayShowerMatching", CheatingCosmicRayShowerMatchingAlg) \ 232 d("LArCheatingNeutrinoCreation", CheatingNeutrinoCreationAlgorithm) \ 233 d("LArCheatingNeutrinoDaughterVertices", CheatingNeutrinoDaughterVerticesAlgorithm) \ 234 d("LArCheatingPfoCharacterisation", CheatingPfoCharacterisationAlgorithm) \ 235 d("LArCheatingPfoCreation", CheatingPfoCreationAlgorithm) \ 236 d("LArCheatingCosmicRayRemoval", CheatingCosmicRayRemovalAlgorithm) \ 237 d("LArCheatingVertexCreation", CheatingVertexCreationAlgorithm) \ 238 d("LArCheatingVertexSelection", CheatingVertexSelectionAlgorithm) \ 239 d("LArPcaShowerParticleBuilding", PcaShowerParticleBuildingAlgorithm) \ 240 d("LArMaster", MasterAlgorithm) \ 241 d("LArPostProcessing", PostProcessingAlgorithm) \ 242 d("LArPreProcessing", PreProcessingAlgorithm) \ 243 d("LArSlicing", SlicingAlgorithm) \ 244 d("LArStreaming", StreamingAlgorithm) \ 245 d("LArTrackParticleBuilding", TrackParticleBuildingAlgorithm) \ 246 d("LArNeutrinoCreation", NeutrinoCreationAlgorithm) \ 247 d("LArNeutrinoDaughterVertices", NeutrinoDaughterVerticesAlgorithm) \ 248 d("LArNeutrinoHierarchy", NeutrinoHierarchyAlgorithm) \ 249 d("LArNeutrinoProperties", NeutrinoPropertiesAlgorithm) \ 250 d("LArTestBeamParticleCreation", TestBeamParticleCreationAlgorithm) \ 251 d("LArCosmicRayShowerMatching", CosmicRayShowerMatchingAlgorithm) \ 252 d("LArCosmicRayTrackMatching", CosmicRayTrackMatchingAlgorithm) \ 253 d("LArCosmicRayTrackRecovery", CosmicRayTrackRecoveryAlgorithm) \ 254 d("LArCosmicRayVertexBuilding", CosmicRayVertexBuildingAlgorithm) \ 255 d("LArDeltaRayIdentification", DeltaRayIdentificationAlgorithm) \ 256 d("LArDeltaRayMatching", DeltaRayMatchingAlgorithm) \ 257 d("LArDeltaRayParent", DeltaRayParentAlgorithm) \ 258 d("LArThreeViewDeltaRayMatching", ThreeViewDeltaRayMatchingAlgorithm) \ 259 d("LArTwoViewDeltaRayMatching", TwoViewDeltaRayMatchingAlgorithm) \ 260 d("LArOneViewDeltaRayMatching", OneViewDeltaRayMatchingAlgorithm) \ 261 d("LArUnattachedDeltaRays", UnattachedDeltaRaysAlgorithm) \ 262 d("LArThreeDHitCreation", ThreeDHitCreationAlgorithm) \ 263 d("LArThreeDLongitudinalTracks", ThreeViewLongitudinalTracksAlgorithm) \ 264 d("LArRecursivePfoMopUp", RecursivePfoMopUpAlgorithm) \ 265 d("LArSlidingConePfoMopUp", SlidingConePfoMopUpAlgorithm) \ 266 d("LArShowerHierarchyMopUp", ShowerHierarchyMopUpAlgorithm) \ 267 d("LArShowerPfoMopUp", ShowerPfoMopUpAlgorithm) \ 268 d("LArVertexBasedPfoMopUp", VertexBasedPfoMopUpAlgorithm) \ 269 d("LArParticleRecovery", ParticleRecoveryAlgorithm) \ 270 d("LArVertexBasedPfoRecovery", VertexBasedPfoRecoveryAlgorithm) \ 271 d("LArThreeDRemnants", ThreeViewRemnantsAlgorithm) \ 272 d("LArThreeDShowers", ThreeViewShowersAlgorithm) \ 273 d("LArThreeDTrackFragments", ThreeViewTrackFragmentsAlgorithm) \ 274 d("LArThreeDTransverseTracks", ThreeViewTransverseTracksAlgorithm) \ 275 d("LArTwoViewTransverseTracks", TwoViewTransverseTracksAlgorithm) \ 276 d("LArCutClusterCharacterisation", CutClusterCharacterisationAlgorithm) \ 277 d("LArCutPfoCharacterisation", CutPfoCharacterisationAlgorithm) \ 278 d("LArShowerGrowing", ShowerGrowingAlgorithm) \ 279 d("LArBdtPfoCharacterisation", BdtPfoCharacterisationAlgorithm) \ 280 d("LArSvmPfoCharacterisation", SvmPfoCharacterisationAlgorithm) \ 281 d("LArCrossGapsAssociation", CrossGapsAssociationAlgorithm) \ 282 d("LArCrossGapsExtension", CrossGapsExtensionAlgorithm) \ 283 d("LArHitWidthClusterMerging", HitWidthClusterMergingAlgorithm) \ 284 d("LArLongitudinalAssociation", LongitudinalAssociationAlgorithm) \ 285 d("LArLongitudinalExtension", LongitudinalExtensionAlgorithm) \ 286 d("LArSimpleClusterGrowing", SimpleClusterGrowingAlgorithm) \ 287 d("LArSimpleClusterMerging", SimpleClusterMergingAlgorithm) \ 288 d("LArTransverseAssociation", TransverseAssociationAlgorithm) \ 289 d("LArTransverseExtension", TransverseExtensionAlgorithm) \ 290 d("LArSimpleClusterCreation", SimpleClusterCreationAlgorithm) \ 291 d("LArTrackClusterCreation", TrackClusterCreationAlgorithm) \ 292 d("LArClusteringParent", ClusteringParentAlgorithm) \ 293 d("LArBoundedClusterMopUp", BoundedClusterMopUpAlgorithm) \ 294 d("LArConeClusterMopUp", ConeClusterMopUpAlgorithm) \ 295 d("LArIsolatedClusterMopUp", IsolatedClusterMopUpAlgorithm) \ 296 d("LArNearbyClusterMopUp", NearbyClusterMopUpAlgorithm) \ 297 d("LArSlidingConeClusterMopUp", SlidingConeClusterMopUpAlgorithm) \ 298 d("LArCosmicRayExtension", CosmicRayExtensionAlgorithm) \ 299 d("LArCosmicRaySplitting", CosmicRaySplittingAlgorithm) \ 300 d("LArDeltaRayExtension", DeltaRayExtensionAlgorithm) \ 301 d("LArDeltaRayGrowing", DeltaRayGrowingAlgorithm) \ 302 d("LArTrackMergeRefinement", TrackMergeRefinementAlgorithm) \ 303 d("LArBranchSplitting", BranchSplittingAlgorithm) \ 304 d("LArCrossedTrackSplitting", CrossedTrackSplittingAlgorithm) \ 305 d("LArDeltaRaySplitting", DeltaRaySplittingAlgorithm) \ 306 d("LArKinkSplitting", KinkSplittingAlgorithm) \ 307 d("LArLayerSplitting", LayerSplittingAlgorithm) \ 308 d("LArOvershootSplitting", OvershootSplittingAlgorithm) \ 309 d("LArTrackConsolidation", TrackConsolidationAlgorithm) \ 310 d("LArVertexSplitting", VertexSplittingAlgorithm) \ 311 d("LArTwoDParticleCreation", TwoDParticleCreationAlgorithm) \ 312 d("LArListChanging", ListChangingAlgorithm) \ 313 d("LArListDeletion", ListDeletionAlgorithm) \ 314 d("LArListMerging", ListMergingAlgorithm) \ 315 d("LArPfoHitCleaning", PfoHitCleaningAlgorithm) \ 316 d("LArListPruning", ListPruningAlgorithm) \ 317 d("LArCandidateVertexCreation", CandidateVertexCreationAlgorithm) \ 318 d("LArEnergyKickVertexSelection", EnergyKickVertexSelectionAlgorithm) \ 319 d("LArHitAngleVertexSelection", HitAngleVertexSelectionAlgorithm) \ 320 d("LArBdtVertexSelection", BdtVertexSelectionAlgorithm) \ 321 d("LArSvmVertexSelection", SvmVertexSelectionAlgorithm) \ 322 d("LArVertexRefinement", VertexRefinementAlgorithm) 324 #define LAR_ALGORITHM_TOOL_LIST(d) \ 325 d("LArBdtBeamParticleId", BdtBeamParticleIdTool) \ 326 d("LArBeamParticleId", BeamParticleIdTool) \ 327 d("LArCosmicRayTagging", CosmicRayTaggingTool) \ 328 d("LArBdtNeutrinoId", BdtNeutrinoIdTool) \ 329 d("LArSvmNeutrinoId", SvmNeutrinoIdTool) \ 330 d("LArSimpleNeutrinoId", SimpleNeutrinoIdTool) \ 331 d("LArStitchingCosmicRayMerging", StitchingCosmicRayMergingTool) \ 332 d("LArCosmicRayTaggingMonitoring", CosmicRayTaggingMonitoringTool) \ 333 d("LArShowerTensorVisualization", ShowerTensorVisualizationTool) \ 334 d("LArTransverseMatrixVisualization", TransverseMatrixVisualizationTool) \ 335 d("LArTransverseTensorVisualization", TransverseTensorVisualizationTool) \ 336 d("LArAmbiguousDeltaRay", AmbiguousDeltaRayTool) \ 337 d("LArCosmicRayRemoval", CosmicRayRemovalTool) \ 338 d("LArDeltaRayRemoval", DeltaRayRemovalTool) \ 339 d("LArDeltaRayMerge", DeltaRayMergeTool) \ 340 d("LArTwoViewAmbiguousDeltaRay", TwoViewAmbiguousDeltaRayTool) \ 341 d("LArTwoViewCosmicRayRemoval", TwoViewCosmicRayRemovalTool) \ 342 d("LArUnambiguousDeltaRay", UnambiguousDeltaRayTool) \ 343 d("LArCheatingBeamParticleId", CheatingBeamParticleIdTool) \ 344 d("LArCheatingBeamParticleSliceSelection", CheatingBeamParticleSliceSelectionTool) \ 345 d("LArCheatingEventSlicing", CheatingEventSlicingTool) \ 346 d("LArCheatingCosmicRayTagging", CheatingCosmicRayTaggingTool) \ 347 d("LArCheatingNeutrinoId", CheatingNeutrinoIdTool) \ 348 d("LArCheatingNeutrinoSliceSelection", CheatingNeutrinoSliceSelectionTool) \ 349 d("LArBranchAssociatedPfos", BranchAssociatedPfosTool) \ 350 d("LArEndAssociatedPfos", EndAssociatedPfosTool) \ 351 d("LArEventSlicing", EventSlicingTool) \ 352 d("LArVertexAssociatedPfos", VertexAssociatedPfosTool) \ 353 d("LArClearShowers", ClearShowersTool) \ 354 d("LArSimpleShowers", SimpleShowersTool) \ 355 d("LArSplitShowers", SplitShowersTool) \ 356 d("LArClearTrackFragments", ClearTrackFragmentsTool) \ 357 d("LArClearLongitudinalTrackHits", ClearLongitudinalTrackHitsTool) \ 358 d("LArClearTransverseTrackHits", ClearTransverseTrackHitsTool) \ 359 d("LArDeltaRayShowerHits", DeltaRayShowerHitsTool) \ 360 d("LArMultiValuedLongitudinalTrackHits", MultiValuedLongitudinalTrackHitsTool) \ 361 d("LArMultiValuedTransverseTrackHits", MultiValuedTransverseTrackHitsTool) \ 362 d("LArThreeViewShowerHits", ThreeViewShowerHitsTool) \ 363 d("LArTwoViewShowerHits", TwoViewShowerHitsTool) \ 364 d("LArClearLongitudinalTracks", ClearLongitudinalTracksTool) \ 365 d("LArMatchedEndPoints", MatchedEndPointsTool) \ 366 d("LArClearRemnants", ClearRemnantsTool) \ 367 d("LArConnectedRemnants", ConnectedRemnantsTool) \ 368 d("LArMopUpRemnants", MopUpRemnantsTool) \ 369 d("LArClearTracks", ClearTracksTool) \ 370 d("LArLongTracks", LongTracksTool) \ 371 d("LArMissingTrack", MissingTrackTool) \ 372 d("LArMissingTrackSegment", MissingTrackSegmentTool) \ 373 d("LArOvershootTracks", OvershootTracksTool) \ 374 d("LArTracksCrossingGaps", TracksCrossingGapsTool) \ 375 d("LArTrackSplitting", TrackSplittingTool) \ 376 d("LArUndershootTracks", UndershootTracksTool) \ 377 d("LArTwoViewClearTracks", TwoViewClearTracksTool) \ 378 d("LArTwoViewLongTracks", TwoViewLongTracksTool) \ 379 d("LArTwoViewSimpleTracks", TwoViewSimpleTracksTool) \ 380 d("LArTwoViewThreeDKink", TwoViewThreeDKinkTool) \ 381 d("LArEnergyKickFeature", EnergyKickFeatureTool) \ 382 d("LArEnergyDepositionAsymmetryFeature", EnergyDepositionAsymmetryFeatureTool) \ 383 d("LArGlobalAsymmetryFeature", GlobalAsymmetryFeatureTool) \ 384 d("LArLocalAsymmetryFeature", LocalAsymmetryFeatureTool) \ 385 d("LArRPhiFeature", RPhiFeatureTool) \ 386 d("LArShowerAsymmetryFeature", ShowerAsymmetryFeatureTool) \ 387 d("LArTwoDLinearFitFeatureTool", TwoDLinearFitFeatureTool) \ 388 d("LArThreeDLinearFitFeatureTool", ThreeDLinearFitFeatureTool) \ 389 d("LArTwoDVertexDistanceFeatureTool", TwoDVertexDistanceFeatureTool) \ 390 d("LArThreeDVertexDistanceFeatureTool", ThreeDVertexDistanceFeatureTool) \ 391 d("LArThreeDChargeFeatureTool", ThreeDChargeFeatureTool) \ 392 d("LArThreeDPCAFeatureTool", ThreeDPCAFeatureTool) \ 393 d("LArThreeDOpeningAngleFeatureTool", ThreeDOpeningAngleFeatureTool) \ 394 d("LArPfoHierarchyFeatureTool", PfoHierarchyFeatureTool) 396 #define LAR_PARTICLE_ID_LIST(d) \ 397 d("LArMuonId", LArParticleIdPlugins::LArMuonId) 399 #define FACTORY Factory 407 #define LAR_CONTENT_CREATE_ALGORITHM_FACTORY(a, b) \ 408 class b##FACTORY : public pandora::AlgorithmFactory \ 411 pandora::Algorithm *CreateAlgorithm() const {return new b;}; \ 418 #define LAR_CONTENT_CREATE_ALGORITHM_TOOL_FACTORY(a, b) \ 419 class b##FACTORY : public pandora::AlgorithmToolFactory \ 422 pandora::AlgorithmTool *CreateAlgorithmTool() const {return new b;}; \ 432 #define LAR_CONTENT_REGISTER_ALGORITHM(a, b) \ 434 const pandora::StatusCode statusCode(PandoraApi::RegisterAlgorithmFactory(pandora, a, new lar_content::b##FACTORY)); \ 435 if (pandora::STATUS_CODE_SUCCESS != statusCode) \ 439 #define LAR_CONTENT_REGISTER_ALGORITHM_TOOL(a, b) \ 441 const pandora::StatusCode statusCode(PandoraApi::RegisterAlgorithmToolFactory(pandora, a, new lar_content::b##FACTORY)); \ 442 if (pandora::STATUS_CODE_SUCCESS != statusCode) \ 450 return pandora::STATUS_CODE_SUCCESS;
455 #define LAR_CONTENT_REGISTER_PARTICLE_ID(a, b) \ 457 const pandora::StatusCode statusCode(PandoraApi::RegisterParticleIdPlugin(pandora, a, new lar_content::b)); \ 458 if (pandora::STATUS_CODE_SUCCESS != statusCode) \ 465 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 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 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 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.