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.

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  }

References B2GTnPMonitor_cfi::item, crabWrapper::key, DiDispStaMuonMonitor_cfi::pt, and runTheMatrix::ret.

Referenced by L1EGammaEECalibrator::L1EGammaEECalibrator().

◆ compare_cluster_pt()

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

Definition at line 14 of file L1EGammaEEProducer.cc.

14  {
15  return cl1->pt() > cl2->pt();
16  }

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

Referenced by L1EGammaEEProducer::produce().

runTheMatrix.ret
ret
prodAgent to be discontinued
Definition: runTheMatrix.py:355
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
GetRecoTauVFromDQM_MC_cff.cl2
cl2
Definition: GetRecoTauVFromDQM_MC_cff.py:44
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition: LeafCandidate.h:146
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
crabWrapper.key
key
Definition: crabWrapper.py:19