31 void Start(hipo::banklist& banks)
override;
32 void Run(hipo::banklist& banks)
const override;
42 struct calo_row_data {
68 bool PidPurityPhotonFilter(
float const E,
float const Epcal,
float const theta)
const;
77 bool Filter(hipo::bank
const &particleBank, hipo::bank
const &caloBank, std::map<int, PhotonGBTFilter::calo_row_data> calo_map,
int const row,
int const runnum)
const;
84 bool ClassifyPhoton(std::vector<float>
const &input_data,
int const runnum)
const;
90 std::map<int, PhotonGBTFilter::calo_row_data> GetCaloMap(hipo::bank
const &bank)
const;
96 ROOT::Math::XYZVector GetParticleCaloVector(PhotonGBTFilter::calo_row_data calo_row)
const;
101 std::function<double(std::vector<float>
const &)> getModelFunction(
int runnum)
const;
104 hipo::banklist::size_type b_particle;
105 hipo::banklist::size_type b_calorimeter;
106 hipo::banklist::size_type b_config;
109 double o_threshold = 0.78;
115 static std::map<std::tuple<int, int, int>, std::function<double(std::vector<float>
const &)>>
const modelMap;