#include <FastL1Region.h>
Public Member Functions | |
double | CalcSumE () |
double | CalcSumEmE () |
double | CalcSumEmEt () |
double | CalcSumEt () |
double | CalcSumHadE () |
double | CalcSumHadEt () |
void | Dump () |
FastL1Region () | |
void | FillEMCrystals (const CaloTowerConstituentsMap *theTowerConstituentsMap, const CaloTopology *calotopo, const CaloGeometry *cGeom, const EcalRecHitCollection *ec0, const EcalRecHitCollection *ec1, FastL1RegionMap *m_RMap) |
void | FillTower (const CaloTower &t, int &tid, edm::ESHandle< CaloGeometry > &cGeom) |
void | FillTower_Scaled (const CaloTower &t, int &tid, bool doRCTTrunc, edm::ESHandle< CaloGeometry > &cGeom) |
void | FillTowerZero (const CaloTower &t, int &tid) |
FastL1BitInfo | getBitInfo () |
CaloTowerCollection | GetCaloTowers () |
int | GetEastId () |
double | GetEMCrystalEnergy (int itwr, int icell) |
bool | GetFGBit (int i) |
bool | GetHCFGBit (int i) |
bool | GetHOEBit (int i) |
int | GetId () |
int | GetiEta () |
int | GetiPhi () |
double | GetJetE () |
double | GetJetE3x3 () |
double | GetJetEt () |
double | GetJetEt3x3 () |
bool | GetMIPBit () |
int | GetNEId () |
int | GetNorthId () |
int | GetNWId () |
bool | GetQuietBit () |
std::pair< double, double > | getRegionCenterEtaPhi (const edm::EventSetup &c) |
int | GetSEId () |
int | GetSouthId () |
int | GetSWId () |
bool | GetTauBit () |
std::pair< int, int > | GetTowerNorthEtaPhi (int ieta, int iphi) |
int | GetWestId () |
int | HighestEmEtTowerID () |
int | HighestEtTowerID () |
int | HighestHadEtTowerID () |
void | SetDoBitInfo (bool doIt) |
void | SetEMCrystalEnergy (int itwr, int icell, double en) |
void | SetEtaPhiIndex (int eta, int phi, int ind) |
void | SetFGBit (int twrid, bool FGBIT) |
void | SetHCFGBit (int twrid, bool FGBIT) |
void | SetHOEBit (int twrid, bool FGBIT) |
void | SetJetE (double jE) |
void | SetJetE3x3 (double jE) |
void | SetJetEt (double jEt) |
void | SetJetEt3x3 (double jEt) |
void | SetParameters (L1Config) |
void | SetRegionBits (edm::Event const &e) |
void | SetRegionEnergy () |
void | SetTowerBits () |
double | SumE () |
double | SumEmE () |
double | SumEmEt () |
double | SumEt () |
double | SumHadE () |
double | SumHadEt () |
~FastL1Region () | |
Public Attributes | |
FastL1BitInfo | BitInfo |
bool | doBitInfo |
Private Member Functions | |
void | SetFGBit () |
void | SetHCFGBit () |
void | SetHOEBit () |
void | SetMIPBit () |
void | SetQuietBit () |
void | SetTauBit (edm::Event const &e) |
Private Attributes | |
L1Config | Config |
double | EMCrystalEnergy [16][25] |
bool | fgBit [16] |
bool | hcfgBit [16] |
bool | hOeBit [16] |
int | id |
int | ieta |
int | iphi |
double | jetE |
double | jetE3x3 |
double | jetEt |
double | jetEt3x3 |
bool | mipBit |
bool | quietBit |
double | sumE |
double | sumEt |
bool | tauBit |
CaloTowerCollection | Towers |
Description: Container class for L1 regions.
Implementation: <Notes on="" implementation>="">
Definition at line 110 of file FastL1Region.h.
FastL1Region::FastL1Region | ( | ) |
Definition at line 22 of file FastL1Region.cc.
References Config, L1Config::CrystalEBThreshold, L1Config::CrystalEEThreshold, L1Config::EMActiveLevel, EMCrystalEnergy, L1Config::EMLSB, L1Config::EMNoiseLevel, L1Config::EMSeedEnThreshold, fgBit, L1Config::FGEBThreshold, L1Config::FGEEThreshold, L1Config::HadActiveLevel, L1Config::HadNoiseLevel, hcfgBit, hOeBit, L1Config::hOeThreshold, i, ieta, iphi, j, jetE, jetEt, L1Config::JetLSB, L1Config::JetSeedEtThreshold, mipBit, L1Config::MuonNoiseLevel, L1Config::noFGThreshold, L1Config::noTauVetoLevel, quietBit, L1Config::QuietRegionThreshold, tauBit, L1Config::TowerEBScale, L1Config::TowerEBThreshold, L1Config::TowerEEScale, L1Config::TowerEEThreshold, L1Config::TowerEMLSB, L1Config::TowerHadLSB, L1Config::TowerHBScale, L1Config::TowerHBThreshold, L1Config::TowerHEScale, L1Config::TowerHEThreshold, and Towers.
FastL1Region::~FastL1Region | ( | ) |
Definition at line 84 of file FastL1Region.cc.
double FastL1Region::CalcSumE | ( | ) |
double FastL1Region::CalcSumEmE | ( | ) |
double FastL1Region::CalcSumEmEt | ( | ) |
double FastL1Region::CalcSumEt | ( | ) |
double FastL1Region::CalcSumHadE | ( | ) |
double FastL1Region::CalcSumHadEt | ( | ) |
void FastL1Region::Dump | ( | void | ) |
Definition at line 742 of file FastL1Region.cc.
References gather_cfg::cout, GetEastId(), GetId(), GetNEId(), GetNorthId(), GetNWId(), GetSEId(), GetSouthId(), GetSWId(), and GetWestId().
void FastL1Region::FillEMCrystals | ( | const CaloTowerConstituentsMap * | theTowerConstituentsMap, |
const CaloTopology * | calotopo, | ||
const CaloGeometry * | cGeom, | ||
const EcalRecHitCollection * | ec0, | ||
const EcalRecHitCollection * | ec1, | ||
FastL1RegionMap * | m_RMap | ||
) |
Definition at line 120 of file FastL1Region.cc.
References edm::SortedCollection< T, SORT >::begin(), Config, L1Config::CrystalEBThreshold, L1Config::CrystalEEThreshold, CaloTopology::east(), EMCrystalEnergy, L1Config::EMNoiseLevel, edm::SortedCollection< T, SORT >::end(), relval_parameters_module::energy, fgBit, L1Config::FGEEThreshold, GetiEta(), i, CaloTowerDetId::ieta(), EBDetId::ieta(), ieta, CaloTowerDetId::iphi(), EBDetId::iphi(), iphi, L1Config::noFGThreshold, CaloTopology::north(), SetTowerBits(), CaloTopology::south(), EBDetId::tower_ieta(), EBDetId::tower_iphi(), L1Config::TowerEEThreshold, CaloTowerConstituentsMap::towerOf(), Towers, and CaloTopology::west().
void FastL1Region::FillTower | ( | const CaloTower & | t, |
int & | tid, | ||
edm::ESHandle< CaloGeometry > & | cGeom | ||
) |
Definition at line 292 of file FastL1Region.cc.
References abs, Config, CaloTower::emEt(), reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), CaloTower::hadEt(), CaloTower::id(), CaloTower::outerEt(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), RCTEnergyTrunc(), L1Config::TowerEBThreshold, L1Config::TowerEEThreshold, L1Config::TowerEMLSB, L1Config::TowerHadLSB, L1Config::TowerHBThreshold, L1Config::TowerHEThreshold, and Towers.
void FastL1Region::FillTower_Scaled | ( | const CaloTower & | t, |
int & | tid, | ||
bool | doRCTTrunc, | ||
edm::ESHandle< CaloGeometry > & | cGeom | ||
) |
Definition at line 333 of file FastL1Region.cc.
References abs, Config, CaloTower::emEnergy(), CaloTower::emEt(), reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), CaloTower::hadEnergy(), CaloTower::hadEt(), CaloTower::id(), CaloTower::outerEt(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), RCTEnergyTrunc(), L1Config::TowerEBScale, L1Config::TowerEBThreshold, L1Config::TowerEEScale, L1Config::TowerEEThreshold, L1Config::TowerEMLSB, L1Config::TowerHadLSB, L1Config::TowerHBScale, L1Config::TowerHBThreshold, L1Config::TowerHEScale, L1Config::TowerHEThreshold, and Towers.
void FastL1Region::FillTowerZero | ( | const CaloTower & | t, |
int & | tid | ||
) |
|
inline |
|
inline |
int FastL1Region::GetEastId | ( | ) |
|
inline |
|
inline |
Definition at line 152 of file FastL1Region.h.
|
inline |
Definition at line 154 of file FastL1Region.h.
|
inline |
Definition at line 153 of file FastL1Region.h.
|
inline |
|
inline |
Definition at line 132 of file FastL1Region.h.
References ieta.
Referenced by FillEMCrystals(), and SetFGBit().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
int FastL1Region::GetNEId | ( | ) |
int FastL1Region::GetNorthId | ( | ) |
int FastL1Region::GetNWId | ( | ) |
|
inline |
std::pair< double, double > FastL1Region::getRegionCenterEtaPhi | ( | const edm::EventSetup & | c | ) |
Definition at line 723 of file FastL1Region.cc.
References PV3DBase< T, PVType, FrameType >::eta(), eta(), edm::EventSetup::get(), phi, PV3DBase< T, PVType, FrameType >::phi(), and Towers.
int FastL1Region::GetSEId | ( | ) |
int FastL1Region::GetSouthId | ( | ) |
int FastL1Region::GetSWId | ( | ) |
|
inline |
std::pair<int, int> FastL1Region::GetTowerNorthEtaPhi | ( | int | ieta, |
int | iphi | ||
) |
int FastL1Region::GetWestId | ( | ) |
int FastL1Region::HighestEmEtTowerID | ( | ) |
Definition at line 624 of file FastL1Region.cc.
References BitInfo, doBitInfo, i, FastL1BitInfo::setHighestEmEtTowerID(), and Towers.
int FastL1Region::HighestEtTowerID | ( | ) |
Definition at line 607 of file FastL1Region.cc.
References BitInfo, doBitInfo, i, FastL1BitInfo::setHighestEtTowerID(), and Towers.
int FastL1Region::HighestHadEtTowerID | ( | ) |
Definition at line 640 of file FastL1Region.cc.
References BitInfo, doBitInfo, i, FastL1BitInfo::setHighestHadEtTowerID(), and Towers.
|
inline |
|
inline |
|
inline |
Definition at line 129 of file FastL1Region.h.
References eta(), ieta, iphi, and phi.
void FastL1Region::SetFGBit | ( | int | twrid, |
bool | FGBIT | ||
) |
|
private |
Definition at line 467 of file FastL1Region.cc.
References Config, EMCrystalEnergy, L1Config::EMNoiseLevel, fgBit, L1Config::FGEBThreshold, GetiEta(), i, j, L1Config::noFGThreshold, L1Config::TowerEBThreshold, and Towers.
Referenced by SetTowerBits().
void FastL1Region::SetHCFGBit | ( | int | twrid, |
bool | FGBIT | ||
) |
Definition at line 456 of file FastL1Region.cc.
|
private |
Definition at line 430 of file FastL1Region.cc.
Referenced by SetTowerBits().
void FastL1Region::SetHOEBit | ( | int | twrid, |
bool | FGBIT | ||
) |
|
private |
Definition at line 408 of file FastL1Region.cc.
References Config, L1Config::EMNoiseLevel, L1Config::HadNoiseLevel, hOeBit, L1Config::hOeThreshold, i, and Towers.
Referenced by SetTowerBits().
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 439 of file FastL1Region.cc.
References hcfgBit, i, mipBit, and quietBit.
Referenced by SetRegionBits().
void FastL1Region::SetParameters | ( | L1Config | iconfig | ) |
Definition at line 90 of file FastL1Region.cc.
References Config.
|
private |
Definition at line 423 of file FastL1Region.cc.
References Config, quietBit, L1Config::QuietRegionThreshold, and SumEt().
Referenced by SetRegionBits().
void FastL1Region::SetRegionBits | ( | edm::Event const & | e | ) |
Definition at line 103 of file FastL1Region.cc.
References SetMIPBit(), SetQuietBit(), and SetTauBit().
void FastL1Region::SetRegionEnergy | ( | ) |
|
private |
Definition at line 529 of file FastL1Region.cc.
References BitInfo, Config, doBitInfo, L1Config::EMActiveLevel, L1Config::HadActiveLevel, i, FastL1BitInfo::setEmTauVeto(), FastL1BitInfo::setHadTauVeto(), FastL1BitInfo::setIsolationVeto(), FastL1BitInfo::setTauVeto(), tauBit, and Towers.
Referenced by SetRegionBits().
void FastL1Region::SetTowerBits | ( | ) |
Definition at line 111 of file FastL1Region.cc.
References SetFGBit(), SetHCFGBit(), and SetHOEBit().
Referenced by FillEMCrystals().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
FastL1BitInfo FastL1Region::BitInfo |
Definition at line 196 of file FastL1Region.h.
Referenced by getBitInfo(), HighestEmEtTowerID(), HighestEtTowerID(), HighestHadEtTowerID(), and SetTauBit().
|
private |
Definition at line 242 of file FastL1Region.h.
Referenced by FastL1Region(), FillEMCrystals(), FillTower(), FillTower_Scaled(), SetFGBit(), SetHOEBit(), SetParameters(), SetQuietBit(), and SetTauBit().
bool FastL1Region::doBitInfo |
Definition at line 195 of file FastL1Region.h.
Referenced by HighestEmEtTowerID(), HighestEtTowerID(), HighestHadEtTowerID(), SetDoBitInfo(), and SetTauBit().
|
private |
Definition at line 218 of file FastL1Region.h.
Referenced by FastL1Region(), FillEMCrystals(), GetEMCrystalEnergy(), SetEMCrystalEnergy(), and SetFGBit().
|
private |
Definition at line 235 of file FastL1Region.h.
Referenced by FastL1Region(), FillEMCrystals(), GetFGBit(), and SetFGBit().
|
private |
Definition at line 237 of file FastL1Region.h.
Referenced by FastL1Region(), GetHCFGBit(), and SetMIPBit().
|
private |
Definition at line 236 of file FastL1Region.h.
Referenced by FastL1Region(), GetHOEBit(), and SetHOEBit().
|
private |
Definition at line 227 of file FastL1Region.h.
Referenced by GetId(), and NodeCut.MatchId::match().
|
private |
Definition at line 228 of file FastL1Region.h.
Referenced by FastL1Region(), FillEMCrystals(), GetEastId(), GetiEta(), GetNEId(), GetNorthId(), GetNWId(), GetSEId(), GetSouthId(), GetSWId(), GetWestId(), and SetEtaPhiIndex().
|
private |
Definition at line 229 of file FastL1Region.h.
Referenced by FastL1Region(), FillEMCrystals(), GetEastId(), GetiPhi(), GetNEId(), GetNorthId(), GetNWId(), GetSEId(), GetSouthId(), GetSWId(), GetWestId(), and SetEtaPhiIndex().
|
private |
Definition at line 222 of file FastL1Region.h.
Referenced by FastL1Region(), GetJetE(), and SetJetE().
|
private |
Definition at line 224 of file FastL1Region.h.
Referenced by GetJetE3x3(), and SetJetE3x3().
|
private |
Definition at line 223 of file FastL1Region.h.
Referenced by FastL1Region(), GetJetEt(), and SetJetEt().
|
private |
Definition at line 225 of file FastL1Region.h.
Referenced by GetJetEt3x3(), and SetJetEt3x3().
|
private |
Definition at line 233 of file FastL1Region.h.
Referenced by FastL1Region(), GetMIPBit(), and SetMIPBit().
|
private |
Definition at line 232 of file FastL1Region.h.
Referenced by FastL1Region(), GetQuietBit(), SetMIPBit(), and SetQuietBit().
|
private |
Definition at line 240 of file FastL1Region.h.
Referenced by SetRegionEnergy().
|
private |
Definition at line 239 of file FastL1Region.h.
Referenced by SetRegionEnergy().
|
private |
Definition at line 231 of file FastL1Region.h.
Referenced by FastL1Region(), GetTauBit(), and SetTauBit().
|
private |
Definition at line 216 of file FastL1Region.h.
Referenced by CalcSumE(), CalcSumEmE(), CalcSumEmEt(), CalcSumEt(), CalcSumHadE(), CalcSumHadEt(), FastL1Region(), FillEMCrystals(), FillTower(), FillTower_Scaled(), FillTowerZero(), GetCaloTowers(), getRegionCenterEtaPhi(), HighestEmEtTowerID(), HighestEtTowerID(), HighestHadEtTowerID(), SetFGBit(), SetHOEBit(), and SetTauBit().