Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-16 08:17:02

0001 // SPDX-License-Identifier: LGPL-3.0-or-later
0002 // Copyright (C) 2024 Alex Jentsch, Jihee Kim, Brian Page
0003 //
0004 
0005 #pragma once
0006 
0007 #include <algorithms/algorithm.h>
0008 #include <edm4hep/MCParticleCollection.h>
0009 #include <string>
0010 #include <string_view>
0011 
0012 #include "UndoAfterBurnerConfig.h"
0013 #include "algorithms/interfaces/WithPodConfig.h"
0014 
0015 namespace eicrecon {
0016 
0017 using UndoAfterBurnerAlgorithm =
0018     algorithms::Algorithm<algorithms::Input<edm4hep::MCParticleCollection>,
0019                           algorithms::Output<edm4hep::MCParticleCollection>>;
0020 
0021 class UndoAfterBurner : public UndoAfterBurnerAlgorithm,
0022                         public WithPodConfig<UndoAfterBurnerConfig> {
0023 
0024 public:
0025   UndoAfterBurner(std::string_view name)
0026       : UndoAfterBurnerAlgorithm{
0027             name,
0028             {"inputMCParticles"},
0029             {"outputMCParticles"},
0030             "Apply boosts and rotations to remove crossing angle and beam effects."} {}
0031 
0032   void init();
0033   void process(const Input&, const Output&) const final;
0034 
0035 private:
0036 };
0037 } // namespace eicrecon