Skip to content

Commit

Permalink
InclusiveKinematicseSigma -> InclusiveKinematicsESigma (#1572)
Browse files Browse the repository at this point in the history
This helps to highlight a difference to electron $\Sigma$ method vs
$\Sigma$ method to avoid confusion (there were questions on mattermost).
  • Loading branch information
veprbl authored Aug 16, 2024
1 parent 4446cb9 commit 4a2e46e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
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

0 comments on commit 4a2e46e

Please sign in to comment.