#include <ElectronSeed.h>
Classes | |
struct | PMVars |
Public Types | |
typedef edm::RefToBase< CaloCluster > | CaloClusterRef |
typedef edm::Ref< TrackCollection > | CtfTrackRef |
typedef edm::OwnVector< TrackingRecHit > | RecHitContainer |
Public Types inherited from TrajectorySeed | |
typedef recHitContainer::const_iterator | const_iterator |
typedef std::pair< const_iterator, const_iterator > | range |
typedef edm::OwnVector< TrackingRecHit > | recHitContainer |
Public Member Functions | |
void | addHitInfo (const PMVars &hitVars) |
const CaloClusterRef & | caloCluster () const |
ElectronSeed * | clone () const |
const CtfTrackRef & | ctfTrack () const |
Accessors. More... | |
int | detId (size_t hitNr) const |
float | dPhi1 () const |
float | dPhi1Pos () const |
float | dPhi2 () const |
float | dPhi2Pos () const |
float | dPhiBest (size_t hitNr) const |
float | dPhiNeg (size_t hitNr) const |
float | dPhiPos (size_t hitNr) const |
float | dRz1 () const |
float | dRz1Pos () const |
float | dRz2 () const |
float | dRz2Pos () const |
float | dRZBest (size_t hitNr) const |
float | dRZNeg (size_t hitNr) const |
float | dRZPos (size_t hitNr) const |
ElectronSeed () | |
Construction of base attributes. More... | |
ElectronSeed (const TrajectorySeed &) | |
ElectronSeed (PTrajectoryStateOnDet &pts, RecHitContainer &rh, PropagationDirection &dir) | |
TrackCharge | getCharge () const |
Utility. More... | |
const std::vector< PMVars > & | hitInfo () const |
unsigned int | hitsMask () const |
void | initTwoHitSeed (const unsigned char hitMask) |
bool | isEcalDriven () const |
bool | isTrackerDriven () const |
int | layerOrDiskNr (size_t hitNr) const |
int | nrLayersAlongTraj () const |
void | setCaloCluster (const CaloClusterRef &clus) |
void | setCtfTrack (const CtfTrackRef &) |
Set additional info. More... | |
void | setNegAttributes (const float dRZ2=std::numeric_limits< float >::infinity(), const float dPhi2=std::numeric_limits< float >::infinity(), const float dRZ1=std::numeric_limits< float >::infinity(), const float dPhi1=std::numeric_limits< float >::infinity()) |
void | setNrLayersAlongTraj (int val) |
void | setPosAttributes (const float dRZ2=std::numeric_limits< float >::infinity(), const float dPhi2=std::numeric_limits< float >::infinity(), const float dRZ1=std::numeric_limits< float >::infinity(), const float dPhi1=std::numeric_limits< float >::infinity()) |
int | subDet (size_t hitNr) const |
int | subDet1 () const |
int | subDet2 () const |
virtual | ~ElectronSeed () |
Public Member Functions inherited from TrajectorySeed | |
PropagationDirection | direction () const |
unsigned int | nHits () const |
TrajectorySeed & | operator= (TrajectorySeed const &o) |
TrajectorySeed & | operator= (TrajectorySeed &&o) |
range | recHits () const |
PTrajectoryStateOnDet const & | startingState () const |
void | swap (PTrajectoryStateOnDet &ptsos, recHitContainer &rh, PropagationDirection &dir) |
void | swap (TrajectorySeed &rh) |
TrajectorySeed () | |
TrajectorySeed (PTrajectoryStateOnDet const &ptsos, recHitContainer const &rh, PropagationDirection dir) | |
TrajectorySeed (PTrajectoryStateOnDet const &ptsos, recHitContainer &&rh, PropagationDirection dir) | |
TrajectorySeed (TrajectorySeed const &o) | |
TrajectorySeed (TrajectorySeed &&o) | |
virtual | ~TrajectorySeed () |
Static Public Member Functions | |
static std::vector< PMVars > | createHitInfo (const float dPhi1Pos, const float dPhi1Neg, const float dRZ1Pos, const float dRZ1Neg, const float dPhi2Pos, const float dPhi2Neg, const float dRZ2Pos, const float dRZ2Neg, const char hitMask, const TrajectorySeed::range recHits) |
static std::string const & | name () |
Private Member Functions | |
template<typename T > | |
T | getVal (unsigned int hitNr, T PMVars::*val) const |
Static Private Member Functions | |
static float | bestVal (float val1, float val2) |
static std::vector< unsigned int > | hitNrsFromMask (unsigned int hitMask) |
Private Attributes | |
CaloClusterRef | caloCluster_ |
CtfTrackRef | ctfTrack_ |
std::vector< PMVars > | hitInfo_ |
bool | isEcalDriven_ |
bool | isTrackerDriven_ |
int | nrLayersAlongTraj_ |
Definition at line 52 of file ElectronSeed.h.
Definition at line 71 of file ElectronSeed.h.
Definition at line 72 of file ElectronSeed.h.
Definition at line 70 of file ElectronSeed.h.
ElectronSeed::ElectronSeed | ( | ) |
Construction of base attributes.
Definition at line 9 of file ElectronSeed.cc.
Referenced by clone(), ElectronSeed(), and name().
ElectronSeed::ElectronSeed | ( | const TrajectorySeed & | seed | ) |
ElectronSeed::ElectronSeed | ( | PTrajectoryStateOnDet & | pts, |
RecHitContainer & | rh, | ||
PropagationDirection & | dir | ||
) |
|
virtualdefault |
Referenced by clone(), and ElectronSeed().
|
inline |
|
inlinestaticprivate |
Definition at line 151 of file ElectronSeed.h.
References funct::abs().
Referenced by dPhiBest(), and dRZBest().
|
inline |
Definition at line 94 of file ElectronSeed.h.
References caloCluster_.
Referenced by egPM::AbsEtaNrClus::AbsEtaNrClus(), egPM::AbsEtaNrClusEt::AbsEtaNrClusEt(), egPM::AbsEtaNrClusPhi::AbsEtaNrClusPhi(), ElectronSeedGenerator::addSeed(), PFElecTkProducer::isSameEgSC(), PFElecTkProducer::isSharingEcalEnergyWithEgSC(), and EgammaHLTPixelMatchVarProducer::produce().
|
inlinevirtual |
Reimplemented from TrajectorySeed.
Definition at line 84 of file ElectronSeed.h.
References ElectronSeed(), setCtfTrack(), and ~ElectronSeed().
|
static |
Definition at line 122 of file ElectronSeed.cc.
References SoftLeptonByDistance_cfi::distance, Exception, hitInfo(), and hitNrsFromMask().
Referenced by subDet2().
|
inline |
Accessors.
Definition at line 93 of file ElectronSeed.h.
References ctfTrack_.
Referenced by setCtfTrack().
|
inline |
|
inline |
Definition at line 120 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::dPhiNeg.
Referenced by setNegAttributes(), setPosAttributes(), and subDet2().
|
inline |
Definition at line 121 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::dPhiPos.
Referenced by subDet2().
|
inline |
Definition at line 122 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::dPhiNeg.
Referenced by ElectronSeedGenerator::addSeed(), display_seed(), setNegAttributes(), setPosAttributes(), and subDet2().
|
inline |
Definition at line 123 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::dPhiPos.
Referenced by ElectronSeedGenerator::addSeed(), and subDet2().
|
inline |
Definition at line 105 of file ElectronSeed.h.
References bestVal(), reco::ElectronSeed::PMVars::dPhiNeg, and reco::ElectronSeed::PMVars::dPhiPos.
Referenced by EgammaHLTPixelMatchVarProducer::produce().
|
inline |
Definition at line 103 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::dPhiNeg, and getVal().
Referenced by EgammaHLTPixelMatchVarProducer::calS2().
|
inline |
Definition at line 104 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::dPhiPos, and getVal().
Referenced by EgammaHLTPixelMatchVarProducer::calS2().
|
inline |
|
inline |
|
inline |
Definition at line 126 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::dRZNeg.
Referenced by ElectronSeedGenerator::addSeed(), and display_seed().
|
inline |
Definition at line 127 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::dRZPos.
Referenced by ElectronSeedGenerator::addSeed().
|
inline |
Definition at line 108 of file ElectronSeed.h.
References bestVal(), reco::ElectronSeed::PMVars::dRZNeg, and reco::ElectronSeed::PMVars::dRZPos.
Referenced by EgammaHLTPixelMatchVarProducer::produce().
|
inline |
Definition at line 107 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::dRZNeg, and getVal().
Referenced by EgammaHLTPixelMatchVarProducer::calS2().
|
inline |
Definition at line 106 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::dRZPos, and getVal().
Referenced by EgammaHLTPixelMatchVarProducer::calS2().
|
inline |
Utility.
Definition at line 97 of file ElectronSeed.h.
References LocalTrajectoryParameters::charge(), PTrajectoryStateOnDet::parameters(), and TrajectorySeed::startingState().
|
inlineprivate |
Definition at line 153 of file ElectronSeed.h.
References hitInfo_, hitNrsFromMask(), and infinity.
Referenced by dPhiNeg(), dPhiPos(), dRZNeg(), dRZPos(), and layerOrDiskNr().
|
inline |
Definition at line 102 of file ElectronSeed.h.
References hitInfo_.
Referenced by createHitInfo(), and PixelData::fill().
|
staticprivate |
Definition at line 111 of file ElectronSeed.cc.
Referenced by createHitInfo(), getVal(), and initTwoHitSeed().
unsigned int ElectronSeed::hitsMask | ( | ) | const |
Definition at line 44 of file ElectronSeed.cc.
References hitInfo_, RecoTauDiscriminantConfiguration::mask, TrajectorySeed::nHits(), TrajectorySeed::recHits(), and JetChargeProducer_cfi::var.
Referenced by ElectronSeedGenerator::addSeed(), and subDet2().
void ElectronSeed::initTwoHitSeed | ( | const unsigned char | hitMask | ) |
Definition at line 58 of file ElectronSeed.cc.
References Exception, plotBeamSpotDB::first, hitInfo_, hitNrsFromMask(), infinity, info(), TrajectorySeed::nHits(), and TrajectorySeed::recHits().
Referenced by subDet2().
|
inline |
|
inline |
|
inline |
Definition at line 111 of file ElectronSeed.h.
References getVal(), and reco::ElectronSeed::PMVars::layerOrDiskNr.
|
inlinestatic |
Definition at line 74 of file ElectronSeed.h.
References dir, ElectronSeed(), RPCpg::pts, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by config.CFG::__str__(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), and Vispa.Views.PropertyView.Property::valueChanged().
|
inline |
|
inline |
Definition at line 89 of file ElectronSeed.h.
References caloCluster_, and isEcalDriven_.
Referenced by SiStripElectronSeedGenerator::findSeedsFromCluster(), and ElectronSeedGenerator::seedsFromRecHits().
void ElectronSeed::setCtfTrack | ( | const CtfTrackRef & | ctfTrack | ) |
Set additional info.
Definition at line 35 of file ElectronSeed.cc.
References ctfTrack(), ctfTrack_, isTrackerDriven_, and funct::true.
Referenced by clone(), ElectronSeed(), ElectronSeedMerger::produce(), and GoodSeedProducer::produce().
void ElectronSeed::setNegAttributes | ( | const float | dRZ2 = std::numeric_limits<float>::infinity() , |
const float | dPhi2 = std::numeric_limits<float>::infinity() , |
||
const float | dRZ1 = std::numeric_limits<float>::infinity() , |
||
const float | dPhi1 = std::numeric_limits<float>::infinity() |
||
) |
Definition at line 87 of file ElectronSeed.cc.
References dPhi1(), dPhi2(), Exception, and hitInfo_.
Referenced by ElectronSeedGenerator::addSeed(), and subDet2().
|
inline |
void ElectronSeed::setPosAttributes | ( | const float | dRZ2 = std::numeric_limits<float>::infinity() , |
const float | dPhi2 = std::numeric_limits<float>::infinity() , |
||
const float | dRZ1 = std::numeric_limits<float>::infinity() , |
||
const float | dPhi1 = std::numeric_limits<float>::infinity() |
||
) |
Definition at line 99 of file ElectronSeed.cc.
References dPhi1(), dPhi2(), Exception, and hitInfo_.
Referenced by ElectronSeedGenerator::addSeed(), and subDet2().
|
inline |
Definition at line 110 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::detId, and DetId::subdetId().
Referenced by subDet1(), and subDet2().
|
inline |
|
inline |
Definition at line 129 of file ElectronSeed.h.
References createHitInfo(), dPhi1(), dPhi1Pos(), dPhi2(), dPhi2Pos(), hitsMask(), infinity, initTwoHitSeed(), TrajectorySeed::recHits(), setNegAttributes(), setPosAttributes(), and subDet().
Referenced by display_seed().
|
private |
Definition at line 160 of file ElectronSeed.h.
Referenced by caloCluster(), and setCaloCluster().
|
private |
Definition at line 159 of file ElectronSeed.h.
Referenced by ctfTrack(), and setCtfTrack().
|
private |
Definition at line 161 of file ElectronSeed.h.
Referenced by addHitInfo(), detId(), getVal(), hitInfo(), hitsMask(), initTwoHitSeed(), setNegAttributes(), and setPosAttributes().
|
private |
Definition at line 164 of file ElectronSeed.h.
Referenced by isEcalDriven(), and setCaloCluster().
|
private |
Definition at line 165 of file ElectronSeed.h.
Referenced by isTrackerDriven(), and setCtfTrack().
|
private |
Definition at line 162 of file ElectronSeed.h.
Referenced by nrLayersAlongTraj(), and setNrLayersAlongTraj().