1 #ifndef RecoEcal_EgammaCoreTools_DeepSCGraphEvaluation_h 2 #define RecoEcal_EgammaCoreTools_DeepSCGraphEvaluation_h 38 namespace DeepSCInputs {
55 std::vector<std::vector<std::vector<float>>>
clustersX;
56 std::vector<std::vector<std::vector<std::vector<float>>>>
hitsX;
58 std::vector<std::vector<bool>>
isSeed;
89 const std::vector<std::string>& availableInputs)
const;
std::vector< float > getScaledInputs(const DeepSCInputs::FeaturesMap &variables, const DeepSCInputs::InputConfigs &config) const
const DeepSCConfiguration cfg_
std::string collectionStrategy
std::string configFileWindowFeatures
DeepSCGraphEvaluation(const DeepSCConfiguration &)
DeepSCInputs::InputConfigs inputFeaturesClusters
static const std::vector< std::string > availableClusterInputs
static const std::vector< std::string > availableWindowInputs
DeepSCInputs::InputConfigs inputFeaturesWindows
std::string configFileHitsFeatures
void initTensorFlowGraphAndSession()
DeepSCInputs::InputConfigs readInputFeaturesConfig(std::string file, const std::vector< std::string > &availableInputs) const
std::string configFileClusterFeatures
DeepSCInputs::InputConfigs inputFeaturesHits
static const std::vector< std::string > availableHitsInputs
std::unique_ptr< tensorflow::GraphDef > graphDef_
tensorflow::Session * session_
std::vector< std::vector< float > > evaluate(const DeepSCInputs::Inputs &inputs) const