Skip to content

Commit

Permalink
Fixed some errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MarianaT27 committed Jul 2, 2024
1 parent e576c70 commit f41b895
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 24 deletions.
1 change: 0 additions & 1 deletion src/iguana/algorithms/clas12/LeptonIDFilter/Algorithm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include <cmath>
#include <Math/Vector4D.h>
#include <TMVA/Reader.h>

namespace iguana::clas12 {

Expand Down
49 changes: 26 additions & 23 deletions src/iguana/algorithms/clas12/LeptonIDFilter/Algorithm.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,31 @@
#pragma once

#include "iguana/algorithms/Algorithm.h"
#include <TMVA/Reader.h>

///Struct to store variables
struct LeptonIDVars {
/// @brief momentum
double P;
/// @brief Theta angle
double Theta;
/// @brief Phi angle
double Phi;
/// @brief Sampling fraction on the PCAL
double SFpcal;
/// @brief Sampling fraction on the ECIN
double SFecin;
/// @brief Sampling fraction on the ECOUT
double SFecout;
/// @brief Second-momenta of PCAL
double m2pcal;
/// @brief Second-momenta of ECIN
double m2ecin;
/// @brief Second-momenta of ECOUT
double m2ecout;
/// @brief Score
double score;
};

namespace iguana::clas12 {
///
Expand Down Expand Up @@ -55,29 +80,7 @@ namespace iguana::clas12 {


private:
///Struct to store variables
struct LeptonIDVars {
/// @brief momentum
double P;
/// @brief Theta angle
double Theta;
/// @brief Phi angle
double Phi;
/// @brief Sampling fraction on the PCAL
double SFpcal;
/// @brief Sampling fraction on the ECIN
double SFecin;
/// @brief Sampling fraction on the ECOUT
double SFecout;
/// @brief Second-momenta of PCAL
double m2pcal;
/// @brief Second-momenta of ECIN
double m2ecin;
/// @brief Second-momenta of ECOUT
double m2ecout;
/// @brief Score
double score;
};


/// `hipo::banklist`
hipo::banklist::size_type b_particle;
Expand Down

0 comments on commit f41b895

Please sign in to comment.