Go to the documentation of this file. 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);
static constexpr unsigned int IDX_ENERGY
float normalize(float in)
static constexpr unsigned int IDX_CHARGE
static constexpr int LSH_BIN_SIZE
reco::PFCandidate makeCandidate(int pred_pid, int pred_charge, float pred_e, float pred_eta, float pred_phi)
static const std::map< int, int > elem_type_encoding
static constexpr unsigned int NUM_CLASS
void setCandidateRefs(reco::PFCandidate &cand, const std::vector< const reco::PFBlockElement * > elems, size_t ielem_originator)
static constexpr int NUM_MAX_ELEMENTS_BATCH
std::array< float, NUM_ELEMENT_FEATURES > getElementProperties(const reco::PFBlockElement &orig)
std::vector< PFBlock > PFBlockCollection
collection of PFBlock objects
static constexpr unsigned int NUM_ELEMENT_FEATURES
static constexpr int BATCH_SIZE
static const std::vector< int > pdgid_encoding
const std::vector< const reco::PFBlockElement * > getPFElements(const reco::PFBlockCollection &blocks)
Abstract base class for a PFBlock element (track, cluster...)
static constexpr unsigned int IDX_ETA
static constexpr unsigned int NUM_OUTPUTS
static constexpr unsigned int IDX_PHI
Particle reconstructed by the particle flow algorithm.
int argMax(std::vector< float > const &vec)