![]() |
![]() |
#include <TrackDetMatchInfo.h>
Public Types | |
enum | EnergyType { EcalRecHits, HcalRecHits, HORecHits, TowerTotal, TowerEcal, TowerHcal, TowerHO } |
Public Member Functions | |
double | coneEnergy (double dR, EnergyType) |
double | crossedEnergy (EnergyType) |
energy in detector elements crossed by the track by types More... | |
std::string | dumpGeometry (const DetId &) |
double | ecalConeEnergy () |
double | ecalCrossedEnergy () |
double | ecalEnergy () |
double | ecalTowerConeEnergy () |
double | ecalTowerEnergy () |
DetId | findMaxDeposition (EnergyType) |
Find detector elements with highest energy deposition. More... | |
DetId | findMaxDeposition (EnergyType, int gridSize) |
DetId | findMaxDeposition (const DetId &, EnergyType, int gridSize) |
GlobalPoint | getPosition (const DetId &) |
double | hcalConeEnergy () |
double | hcalCrossedEnergy () |
double | hcalEnergy () |
double | hcalTowerConeEnergy () |
double | hcalTowerEnergy () |
double | hoConeEnergy () |
double | hoCrossedEnergy () |
double | hoEnergy () |
double | hoTowerConeEnergy () |
double | hoTowerEnergy () |
int | numberOfSegments () const |
int | numberOfSegmentsInDetector (int detector) const |
int | numberOfSegmentsInStation (int station) const |
int | numberOfSegmentsInStation (int station, int detector) const |
double | nXnEnergy (const DetId &, EnergyType, int gridSize=1) |
get energy of the NxN shape (N = 2*gridSize + 1) around given detector element More... | |
double | nXnEnergy (EnergyType, int gridSize=1) |
get energy of the NxN shape (N = 2*gridSize + 1) around track projection More... | |
void | setCaloGeometry (edm::ESHandle< CaloGeometry > geometry) |
TrackDetMatchInfo () | |
Private Member Functions | |
bool | insideCone (const DetId &, const double) |
Private Attributes | |
edm::ESHandle< CaloGeometry > | caloGeometry |
Definition at line 14 of file TrackDetMatchInfo.h.
Enumerator | |
---|---|
EcalRecHits | |
HcalRecHits | |
HORecHits | |
TowerTotal | |
TowerEcal | |
TowerHcal | |
TowerHO |
Definition at line 16 of file TrackDetMatchInfo.h.
TrackDetMatchInfo::TrackDetMatchInfo | ( | ) |
Definition at line 314 of file TrackDetMatchInfo.cc.
double TrackDetMatchInfo::coneEnergy | ( | double | dR, |
EnergyType | type | ||
) |
cone energy around the track direction at the origin (0,0,0) ( not well defined for tracks originating away from IP)
Definition at line 108 of file TrackDetMatchInfo.cc.
Referenced by ecalTowerConeEnergy(), hcalTowerConeEnergy(), and hoTowerConeEnergy().
double TrackDetMatchInfo::crossedEnergy | ( | EnergyType | type | ) |
energy in detector elements crossed by the track by types
Definition at line 47 of file TrackDetMatchInfo.cc.
Referenced by ecalTowerEnergy(), hcalTowerEnergy(), and hoTowerEnergy().
std::string TrackDetMatchInfo::dumpGeometry | ( | const DetId & | id | ) |
Definition at line 17 of file TrackDetMatchInfo.cc.
double TrackDetMatchInfo::ecalConeEnergy | ( | ) |
Definition at line 581 of file TrackDetMatchInfo.cc.
double TrackDetMatchInfo::ecalCrossedEnergy | ( | ) |
Definition at line 596 of file TrackDetMatchInfo.cc.
Referenced by ecalEnergy().
|
inline |
|
inline |
Definition at line 97 of file TrackDetMatchInfo.h.
References coneEnergy(), and TowerEcal.
|
inline |
Definition at line 96 of file TrackDetMatchInfo.h.
References crossedEnergy(), and TowerEcal.
DetId TrackDetMatchInfo::findMaxDeposition | ( | EnergyType | type | ) |
Find detector elements with highest energy deposition.
Definition at line 332 of file TrackDetMatchInfo.cc.
Referenced by InterestingTrackEcalDetIdProducer::produce().
DetId TrackDetMatchInfo::findMaxDeposition | ( | EnergyType | type, |
int | gridSize | ||
) |
Definition at line 546 of file TrackDetMatchInfo.cc.
DetId TrackDetMatchInfo::findMaxDeposition | ( | const DetId & | id, |
EnergyType | type, | ||
int | gridSize | ||
) |
Definition at line 399 of file TrackDetMatchInfo.cc.
GlobalPoint TrackDetMatchInfo::getPosition | ( | const DetId & | id | ) |
Definition at line 34 of file TrackDetMatchInfo.cc.
double TrackDetMatchInfo::hcalConeEnergy | ( | ) |
Definition at line 586 of file TrackDetMatchInfo.cc.
double TrackDetMatchInfo::hcalCrossedEnergy | ( | ) |
Definition at line 601 of file TrackDetMatchInfo.cc.
Referenced by hcalEnergy().
|
inline |
|
inline |
Definition at line 99 of file TrackDetMatchInfo.h.
References coneEnergy(), and TowerHcal.
|
inline |
Definition at line 98 of file TrackDetMatchInfo.h.
References crossedEnergy(), and TowerHcal.
double TrackDetMatchInfo::hoConeEnergy | ( | ) |
Definition at line 591 of file TrackDetMatchInfo.cc.
double TrackDetMatchInfo::hoCrossedEnergy | ( | ) |
Definition at line 606 of file TrackDetMatchInfo.cc.
Referenced by hoEnergy().
|
inline |
|
inline |
Definition at line 101 of file TrackDetMatchInfo.h.
References coneEnergy(), and TowerHO.
|
inline |
Definition at line 100 of file TrackDetMatchInfo.h.
References crossedEnergy(), and TowerHO.
|
private |
Definition at line 99 of file TrackDetMatchInfo.cc.
int TrackDetMatchInfo::numberOfSegments | ( | ) | const |
Definition at line 612 of file TrackDetMatchInfo.cc.
int TrackDetMatchInfo::numberOfSegmentsInDetector | ( | int | detector | ) | const |
Definition at line 633 of file TrackDetMatchInfo.cc.
int TrackDetMatchInfo::numberOfSegmentsInStation | ( | int | station | ) | const |
Definition at line 619 of file TrackDetMatchInfo.cc.
int TrackDetMatchInfo::numberOfSegmentsInStation | ( | int | station, |
int | detector | ||
) | const |
Definition at line 626 of file TrackDetMatchInfo.cc.
double TrackDetMatchInfo::nXnEnergy | ( | const DetId & | id, |
EnergyType | type, | ||
int | gridSize = 1 |
||
) |
get energy of the NxN shape (N = 2*gridSize + 1) around given detector element
Definition at line 163 of file TrackDetMatchInfo.cc.
double TrackDetMatchInfo::nXnEnergy | ( | EnergyType | type, |
int | gridSize = 1 |
||
) |
get energy of the NxN shape (N = 2*gridSize + 1) around track projection
Definition at line 285 of file TrackDetMatchInfo.cc.
|
inline |
Definition at line 112 of file TrackDetMatchInfo.h.
References caloGeometry, and geometry.
|
private |
Definition at line 117 of file TrackDetMatchInfo.h.
Referenced by setCaloGeometry().
std::vector<TAMuonChamberMatch> TrackDetMatchInfo::chambers |
Definition at line 73 of file TrackDetMatchInfo.h.
Referenced by MuonDetCleaner::fillHitMap().
std::vector<DetId> TrackDetMatchInfo::crossedEcalIds |
detector elements crossed by a track (regardless of whether energy was deposited or not)
Definition at line 67 of file TrackDetMatchInfo.h.
Referenced by HighPtTrackEcalDetIdProducer::produce().
std::vector<const EcalRecHit*> TrackDetMatchInfo::crossedEcalRecHits |
hits in detector elements crossed by a track
Definition at line 60 of file TrackDetMatchInfo.h.
Referenced by MuonCaloCleanerAllCrossed::fillEnergyDepositMap().
std::vector<DetId> TrackDetMatchInfo::crossedHcalIds |
Definition at line 68 of file TrackDetMatchInfo.h.
Referenced by ReduceHcalRecHitCollectionProducer::produce().
std::vector<const HBHERecHit*> TrackDetMatchInfo::crossedHcalRecHits |
Definition at line 61 of file TrackDetMatchInfo.h.
Referenced by MuonCaloCleanerAllCrossed::fillEnergyDepositMap().
std::vector<DetId> TrackDetMatchInfo::crossedHOIds |
Definition at line 69 of file TrackDetMatchInfo.h.
std::vector<const HORecHit*> TrackDetMatchInfo::crossedHORecHits |
Definition at line 62 of file TrackDetMatchInfo.h.
Referenced by MuonCaloCleanerAllCrossed::fillEnergyDepositMap().
std::vector<DetId> TrackDetMatchInfo::crossedPreshowerIds |
Definition at line 71 of file TrackDetMatchInfo.h.
Referenced by MuonCaloCleanerAllCrossed::fillEnergyDepositMap().
std::vector<DetId> TrackDetMatchInfo::crossedTowerIds |
Definition at line 70 of file TrackDetMatchInfo.h.
Referenced by muonisolation::JetExtractor::deposit().
std::vector<const CaloTower*> TrackDetMatchInfo::crossedTowers |
Definition at line 63 of file TrackDetMatchInfo.h.
Referenced by muonisolation::JetExtractor::deposit().
std::vector<const EcalRecHit*> TrackDetMatchInfo::ecalRecHits |
hits in the cone
Definition at line 54 of file TrackDetMatchInfo.h.
double TrackDetMatchInfo::ecalTrueEnergy |
Definition at line 80 of file TrackDetMatchInfo.h.
std::vector<const HBHERecHit*> TrackDetMatchInfo::hcalRecHits |
Definition at line 55 of file TrackDetMatchInfo.h.
Referenced by ReduceHcalRecHitCollectionProducer::produce().
double TrackDetMatchInfo::hcalTrueEnergy |
Definition at line 81 of file TrackDetMatchInfo.h.
double TrackDetMatchInfo::hcalTrueEnergyCorrected |
Definition at line 82 of file TrackDetMatchInfo.h.
std::vector<const HORecHit*> TrackDetMatchInfo::hoRecHits |
Definition at line 56 of file TrackDetMatchInfo.h.
bool TrackDetMatchInfo::isGoodCalo |
Definition at line 49 of file TrackDetMatchInfo.h.
bool TrackDetMatchInfo::isGoodEcal |
Definition at line 47 of file TrackDetMatchInfo.h.
bool TrackDetMatchInfo::isGoodHcal |
Definition at line 48 of file TrackDetMatchInfo.h.
bool TrackDetMatchInfo::isGoodHO |
Definition at line 50 of file TrackDetMatchInfo.h.
bool TrackDetMatchInfo::isGoodMuon |
Definition at line 51 of file TrackDetMatchInfo.h.
const SimTrack* TrackDetMatchInfo::simTrack |
MC truth info.
Definition at line 79 of file TrackDetMatchInfo.h.
SimTrackRef TrackDetMatchInfo::simTrackRef_ |
Definition at line 87 of file TrackDetMatchInfo.h.
FreeTrajectoryState TrackDetMatchInfo::stateAtIP |
track info
Definition at line 76 of file TrackDetMatchInfo.h.
std::vector<const CaloTower*> TrackDetMatchInfo::towers |
Definition at line 57 of file TrackDetMatchInfo.h.
reco::TrackRef TrackDetMatchInfo::trackRef_ |
Obsolete methods and data members for backward compatibility. Will be removed in future releases.
Definition at line 86 of file TrackDetMatchInfo.h.
math::XYZPoint TrackDetMatchInfo::trkGlobPosAtEcal |
Track position at different parts of the calorimeter.
Definition at line 39 of file TrackDetMatchInfo.h.
math::XYZPoint TrackDetMatchInfo::trkGlobPosAtHcal |
Definition at line 40 of file TrackDetMatchInfo.h.
Referenced by muonisolation::JetExtractor::deposit().
math::XYZPoint TrackDetMatchInfo::trkGlobPosAtHO |
Definition at line 41 of file TrackDetMatchInfo.h.
GlobalVector TrackDetMatchInfo::trkMomAtEcal |
Definition at line 43 of file TrackDetMatchInfo.h.
GlobalVector TrackDetMatchInfo::trkMomAtHcal |
Definition at line 44 of file TrackDetMatchInfo.h.
GlobalVector TrackDetMatchInfo::trkMomAtHO |
Definition at line 45 of file TrackDetMatchInfo.h.