CMS 3D CMS Logo

Classes | Typedefs | Functions
l1tp2 Namespace Reference

Classes

class  CaloCrystalCluster
 
class  CaloJet
 
class  CaloTower
 
class  ParametricCalibration
 

Typedefs

typedef std::vector< l1tp2::CaloCrystalClusterCaloCrystalClusterCollection
 
typedef std::vector< l1tp2::CaloJetCaloJetsCollection
 
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

◆ CaloCrystalClusterCollection

Definition at line 150 of file CaloCrystalCluster.h.

◆ CaloJetsCollection

Definition at line 57 of file CaloJet.h.

◆ CaloTowerCollection

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

Definition at line 83 of file CaloTower.h.

Function Documentation

◆ as_vector()

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, crabWrapper::key, DiDispStaMuonMonitor_cfi::pt, 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  }
ret
prodAgent to be discontinued

◆ compare_cluster_pt()

bool l1tp2::compare_cluster_pt ( const l1t::HGCalMulticluster cl1,
const l1t::HGCalMulticluster cl2 
)

Definition at line 13 of file L1EGammaEEProducer.cc.

References GetRecoTauVFromDQM_MC_cff::cl2, and reco::LeafCandidate::pt().

Referenced by L1EGammaEEProducer::produce().

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