Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-07-02 08:32:53

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