Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InclusiveKinematicseSigma -> InclusiveKinematicsESigma #1572

Merged
merged 1 commit into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@

#include "Beam.h"
#include "Boost.h"
#include "InclusiveKinematicseSigma.h"
#include "InclusiveKinematicsESigma.h"

using ROOT::Math::PxPyPzEVector;

namespace eicrecon {

void InclusiveKinematicseSigma::init() { }
void InclusiveKinematicsESigma::init() { }

void InclusiveKinematicseSigma::process(
const InclusiveKinematicseSigma::Input& input,
const InclusiveKinematicseSigma::Output& output) const {
void InclusiveKinematicsESigma::process(
const InclusiveKinematicsESigma::Input& input,
const InclusiveKinematicsESigma::Output& output) const {

const auto [mcparts, escat, hfs] = input;
auto [kinematics] = output;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@

namespace eicrecon {

using InclusiveKinematicseSigmaAlgorithm = algorithms::Algorithm<
using InclusiveKinematicsESigmaAlgorithm = algorithms::Algorithm<
algorithms::Input<edm4hep::MCParticleCollection, edm4eic::ReconstructedParticleCollection,
edm4eic::HadronicFinalStateCollection>,
algorithms::Output<edm4eic::InclusiveKinematicsCollection>>;

class InclusiveKinematicseSigma : public InclusiveKinematicseSigmaAlgorithm {
class InclusiveKinematicsESigma : public InclusiveKinematicsESigmaAlgorithm {

public:
InclusiveKinematicseSigma(std::string_view name)
: InclusiveKinematicseSigmaAlgorithm{
InclusiveKinematicsESigma(std::string_view name)
: InclusiveKinematicsESigmaAlgorithm{
name,
{"MCParticles", "scatteredElectron", "hadronicFinalState"},
{"inclusiveKinematics"},
Expand Down
8 changes: 4 additions & 4 deletions src/global/reco/reco.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "algorithms/reco/InclusiveKinematicsElectron.h"
#include "algorithms/reco/InclusiveKinematicsJB.h"
#include "algorithms/reco/InclusiveKinematicsSigma.h"
#include "algorithms/reco/InclusiveKinematicseSigma.h"
#include "algorithms/reco/InclusiveKinematicsESigma.h"
#endif
#include "extensions/jana/JOmniFactoryGeneratorT.h"
#include "factories/meta/CollectionCollector_factory.h"
Expand Down Expand Up @@ -158,15 +158,15 @@ void InitPlugin(JApplication *app) {
app
));

app->Add(new JOmniFactoryGeneratorT<InclusiveKinematicsReconstructed_factory<InclusiveKinematicseSigma>>(
"InclusiveKinematicseSigma",
app->Add(new JOmniFactoryGeneratorT<InclusiveKinematicsReconstructed_factory<InclusiveKinematicsESigma>>(
"InclusiveKinematicsESigma",
{
"MCParticles",
"ScatteredElectronsTruth",
"HadronicFinalState"
},
{
"InclusiveKinematicseSigma"
"InclusiveKinematicsESigma"
},
app
));
Expand Down
2 changes: 1 addition & 1 deletion src/services/io/podio/JEventProcessorPODIO.cc
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ JEventProcessorPODIO::JEventProcessorPODIO() {
"InclusiveKinematicsJB",
"InclusiveKinematicsML",
"InclusiveKinematicsSigma",
"InclusiveKinematicseSigma",
"InclusiveKinematicsESigma",
"InclusiveKinematicsElectron",
"InclusiveKinematicsTruth",
"GeneratedJets",
Expand Down
Loading