CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Typedefs | Functions
l1tp2 Namespace Reference

Classes

class  CaloCrystalCluster
 
class  CaloJet
 
class  CaloTower
 
class  ParametricCalibration
 

Typedefs

typedef std::vector
< l1tp2::CaloCrystalCluster
CaloCrystalClusterCollection
 
typedef std::vector
< l1tp2::CaloJet
CaloJetsCollection
 
typedef std::vector< CaloTowerCaloTowerCollection
 

Functions

std::vector< float > as_vector (boost::property_tree::ptree const &pt, boost::property_tree::ptree::key_type const &key)
 
bool compare_cluster_pt (const l1t::HGCalMulticluster *cl1, const l1t::HGCalMulticluster *cl2)
 

Typedef Documentation

Definition at line 150 of file CaloCrystalCluster.h.

Definition at line 57 of file CaloJet.h.

typedef std::vector<CaloTower> l1tp2::CaloTowerCollection

Definition at line 83 of file CaloTower.h.

Function Documentation

std::vector<float> l1tp2::as_vector ( boost::property_tree::ptree const &  pt,
boost::property_tree::ptree::key_type const &  key 
)

Definition at line 9 of file L1EGammaEECalibrator.cc.

References B2GTnPMonitor_cfi::item, and runTheMatrix::ret.

Referenced by L1EGammaEECalibrator::L1EGammaEECalibrator().

10  {
11  std::vector<float> ret;
12  for (const auto& item : pt.get_child(key))
13  ret.push_back(item.second.get_value<float>());
14  return ret;
15  }
tuple ret
prodAgent to be discontinued
tuple key
prepare the HTCondor submission files and eventually submit them
bool l1tp2::compare_cluster_pt ( const l1t::HGCalMulticluster cl1,
const l1t::HGCalMulticluster cl2 
)

Definition at line 14 of file L1EGammaEEProducer.cc.

References reco::LeafCandidate::pt().

Referenced by L1EGammaEEProducer::produce().

14  {
15  return cl1->pt() > cl2->pt();
16  }
double pt() const final
transverse momentum