1 #ifndef RecoParticleFlow_PFProducer_interface_MLPFModel
2 #define RecoParticleFlow_PFProducer_interface_MLPFModel
27 static constexpr
unsigned int IDX_ETA = 8;
28 static constexpr
unsigned int IDX_PHI = 9;
34 static const std::vector<int>
pdgid_encoding = {0, 1, 2, 11, 13, 22, 130, 211};
56 int argMax(std::vector<float>
const& vec);
63 const std::vector<const reco::PFBlockElement*> elems,
64 size_t ielem_originator);
Abstract base class for a PFBlock element (track, cluster...)
static constexpr unsigned int IDX_ETA
static constexpr unsigned int NUM_CLASS
std::array< float, NUM_ELEMENT_FEATURES > getElementProperties(const reco::PFBlockElement &orig)
static constexpr unsigned int NUM_OUTPUTS
int argMax(std::vector< float > const &vec)
static constexpr unsigned int NUM_ELEMENT_FEATURES
static constexpr unsigned int IDX_ENERGY
static constexpr int BATCH_SIZE
const std::vector< const reco::PFBlockElement * > getPFElements(const reco::PFBlockCollection &blocks)
static constexpr unsigned int IDX_PHI
static constexpr unsigned int IDX_CHARGE
std::vector< PFBlock > PFBlockCollection
collection of PFBlock objects
static const std::map< int, int > elem_type_encoding
void setCandidateRefs(reco::PFCandidate &cand, const std::vector< const reco::PFBlockElement * > elems, size_t ielem_originator)
float normalize(float in)
Particle reconstructed by the particle flow algorithm.
static const std::vector< int > pdgid_encoding
reco::PFCandidate makeCandidate(int pred_pid, int pred_charge, float pred_e, float pred_eta, float pred_phi)
static constexpr int LSH_BIN_SIZE
static constexpr int NUM_MAX_ELEMENTS_BATCH