CMS 3D CMS Logo

LowPtGsfElectronSeedHeavyObjectCache.h
Go to the documentation of this file.
1 #ifndef RecoEgamma_EgammaElectronProducers_LowPtGsfElectronSeedHeavyObjectCache_h
2 #define RecoEgamma_EgammaElectronProducers_LowPtGsfElectronSeedHeavyObjectCache_h
3 
7 #include <vector>
8 
9 namespace reco {
10  class BeamSpot;
11  class PreId;
12 } // namespace reco
13 
14 namespace lowptgsfeleseed {
15 
17  public:
19 
20  std::vector<std::string> modelNames() const { return names_; }
21 
22  bool eval(const std::string& name,
25  double rho,
26  const reco::BeamSpot& spot,
27  noZS::EcalClusterLazyTools& ecalTools) const;
28 
29  private:
30  std::vector<std::string> names_;
31  std::vector<std::unique_ptr<const GBRForest> > models_;
32  std::vector<double> thresholds_;
33  };
34 } // namespace lowptgsfeleseed
35 
36 #endif // RecoEgamma_EgammaElectronProducers_LowPtGsfElectronSeedHeavyObjectCache_h
align::BeamSpot
Definition: StructureType.h:95
hcal
Definition: ConfigurationDatabase.cc:13
EcalClusterLazyTools.h
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
reco::PreId
Definition: PreId.h:13
ecal
Definition: ElectronicsMappingGPU.h:13
GBRForest.h
lowptgsfeleseed::HeavyObjectCache::names_
std::vector< std::string > names_
Definition: LowPtGsfElectronSeedHeavyObjectCache.h:30
reco::BeamSpot
Definition: BeamSpot.h:21
lowptgsfeleseed::HeavyObjectCache::eval
bool eval(const std::string &name, reco::PreId &ecal, reco::PreId &hcal, double rho, const reco::BeamSpot &spot, noZS::EcalClusterLazyTools &ecalTools) const
Definition: LowPtGsfElectronSeedHeavyObjectCache.cc:41
EcalClusterLazyToolsT
Definition: EcalClusterLazyTools.h:137
edm::ParameterSet
Definition: ParameterSet.h:47
lowptgsfeleseed::HeavyObjectCache::models_
std::vector< std::unique_ptr< const GBRForest > > models_
Definition: LowPtGsfElectronSeedHeavyObjectCache.h:31
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
lowptgsfeleseed::HeavyObjectCache::HeavyObjectCache
HeavyObjectCache(const edm::ParameterSet &)
Definition: LowPtGsfElectronSeedHeavyObjectCache.cc:18
lowptgsfeleseed::HeavyObjectCache
Definition: LowPtGsfElectronSeedHeavyObjectCache.h:16
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
lowptgsfeleseed::HeavyObjectCache::modelNames
std::vector< std::string > modelNames() const
Definition: LowPtGsfElectronSeedHeavyObjectCache.h:20
ParameterSet.h
lowptgsfeleseed
Definition: LowPtGsfElectronFeatures.h:14
lowptgsfeleseed::HeavyObjectCache::thresholds_
std::vector< double > thresholds_
Definition: LowPtGsfElectronSeedHeavyObjectCache.h:32