1 #ifndef RecoParticleFlow_PFProducer_interface_MLPFModel 2 #define RecoParticleFlow_PFProducer_interface_MLPFModel 43 static const std::vector<int>
pdgid_encoding = {0, 211, 130, 1, 2, 22, 11, 13};
65 int argMax(std::vector<float>
const& vec);
78 const std::vector<const reco::PFBlockElement*> elems,
79 size_t ielem_originator);
Abstract base class for a PFBlock element (track, cluster...)
static constexpr unsigned int IDX_ETA
std::array< float, NUM_ELEMENT_FEATURES > getElementProperties(const reco::PFBlockElement &orig)
int argMax(std::vector< float > const &vec)
static constexpr unsigned int NUM_ELEMENT_FEATURES
static constexpr unsigned int IDX_PT
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 NUM_OUTPUT_FEATURES
static constexpr unsigned int IDX_CHARGE
std::vector< PFBlock > PFBlockCollection
collection of PFBlock objects
reco::PFCandidate makeCandidate(int pred_pid, int pred_charge, float pred_pt, float pred_eta, float pred_sin_phi, float pred_cos_phi, float pred_e)
static const std::map< int, int > elem_type_encoding
static constexpr unsigned int IDX_CLASS
static constexpr unsigned int IDX_SIN_PHI
float normalize(float in)
Particle reconstructed by the particle flow algorithm.
static constexpr unsigned int IDX_COS_PHI
static constexpr float PI_MASS
static const std::vector< int > pdgid_encoding
void setCandidateRefs(reco::PFCandidate &cand, const std::vector< const reco::PFBlockElement *> elems, size_t ielem_originator)
static constexpr int LSH_BIN_SIZE
static constexpr int NUM_MAX_ELEMENTS_BATCH