#include <ElectronSeed.h>
Public Types | |
typedef edm::RefToBase < CaloCluster > | CaloClusterRef |
typedef edm::Ref< TrackCollection > | CtfTrackRef |
typedef edm::OwnVector < TrackingRecHit > | RecHitContainer |
Public Member Functions | |
CaloClusterRef | caloCluster () const |
ElectronSeed * | clone () const |
CtfTrackRef | ctfTrack () const |
Accessors. | |
float | dPhi1 () const |
float | dPhi1Pos () const |
float | dPhi2 () const |
float | dPhi2Pos () const |
float | dRz1 () const |
float | dRz1Pos () const |
float | dRz2 () const |
float | dRz2Pos () const |
ElectronSeed (const TrajectorySeed &) | |
ElectronSeed () | |
Construction of base attributes. | |
ElectronSeed (PTrajectoryStateOnDet &pts, RecHitContainer &rh, PropagationDirection &dir) | |
TrackCharge | getCharge () const |
Utility. | |
unsigned char | hitsMask () const |
float | hoe1 () const |
float | hoe2 () const |
bool | isEcalDriven () const |
bool | isTrackerDriven () const |
void | setCaloCluster (const CaloClusterRef &, unsigned char hitsMask=0, int subDet2=0, int subDet1=0, float hoe1=std::numeric_limits< float >::infinity(), float hoe2=std::numeric_limits< float >::infinity()) |
void | setCtfTrack (const CtfTrackRef &) |
Set additional info. | |
void | setNegAttributes (float dRz2=std::numeric_limits< float >::infinity(), float dPhi2=std::numeric_limits< float >::infinity(), float dRz1=std::numeric_limits< float >::infinity(), float dPhi1=std::numeric_limits< float >::infinity()) |
void | setPosAttributes (float dRz2=std::numeric_limits< float >::infinity(), float dPhi2=std::numeric_limits< float >::infinity(), float dRz1=std::numeric_limits< float >::infinity(), float dPhi1=std::numeric_limits< float >::infinity()) |
int | subDet1 () const |
int | subDet2 () const |
virtual | ~ElectronSeed () |
Static Public Member Functions | |
static std::string const & | name () |
Private Attributes | |
CaloClusterRef | caloCluster_ |
CtfTrackRef | ctfTrack_ |
float | dPhi1_ |
float | dPhi1Pos_ |
float | dPhi2_ |
float | dPhi2Pos_ |
float | dRz1_ |
float | dRz1Pos_ |
float | dRz2_ |
float | dRz2Pos_ |
float | hcalDepth1OverEcal_ |
float | hcalDepth2OverEcal_ |
unsigned char | hitsMask_ |
bool | isEcalDriven_ |
bool | isTrackerDriven_ |
int | subDet1_ |
int | subDet2_ |
ElectronSeed is a seed for gsf tracking, constructed from either a supercluster or a ctf track.
Definition at line 28 of file ElectronSeed.h.
Definition at line 33 of file ElectronSeed.h.
Definition at line 34 of file ElectronSeed.h.
Definition at line 32 of file ElectronSeed.h.
ElectronSeed::ElectronSeed | ( | ) |
Construction of base attributes.
Definition at line 8 of file ElectronSeed.cc.
Referenced by clone().
: TrajectorySeed(), ctfTrack_(), caloCluster_(), hitsMask_(0), subDet2_(0), dRz2_(std::numeric_limits<float>::infinity()), dPhi2_(std::numeric_limits<float>::infinity()), dRz2Pos_(std::numeric_limits<float>::infinity()), dPhi2Pos_(std::numeric_limits<float>::infinity()), subDet1_(0), dRz1_(std::numeric_limits<float>::infinity()), dPhi1_(std::numeric_limits<float>::infinity()), dRz1Pos_(std::numeric_limits<float>::infinity()), dPhi1Pos_(std::numeric_limits<float>::infinity()), hcalDepth1OverEcal_(std::numeric_limits<float>::infinity()), hcalDepth2OverEcal_(std::numeric_limits<float>::infinity()), isEcalDriven_(false), isTrackerDriven_(false) {}
ElectronSeed::ElectronSeed | ( | const TrajectorySeed & | seed | ) |
Definition at line 26 of file ElectronSeed.cc.
: TrajectorySeed(seed), ctfTrack_(), caloCluster_(), hitsMask_(0), subDet2_(0), dRz2_(std::numeric_limits<float>::infinity()), dPhi2_(std::numeric_limits<float>::infinity()), dRz2Pos_(std::numeric_limits<float>::infinity()), dPhi2Pos_(std::numeric_limits<float>::infinity()), subDet1_(0), dRz1_(std::numeric_limits<float>::infinity()), dPhi1_(std::numeric_limits<float>::infinity()), dRz1Pos_(std::numeric_limits<float>::infinity()), dPhi1Pos_(std::numeric_limits<float>::infinity()), hcalDepth1OverEcal_(std::numeric_limits<float>::infinity()), hcalDepth2OverEcal_(std::numeric_limits<float>::infinity()), isEcalDriven_(false), isTrackerDriven_(false) {}
ElectronSeed::ElectronSeed | ( | PTrajectoryStateOnDet & | pts, |
RecHitContainer & | rh, | ||
PropagationDirection & | dir | ||
) |
Definition at line 45 of file ElectronSeed.cc.
: TrajectorySeed(pts,rh,dir), ctfTrack_(), caloCluster_(), hitsMask_(0), subDet2_(0), dRz2_(std::numeric_limits<float>::infinity()), dPhi2_(std::numeric_limits<float>::infinity()), dRz2Pos_(std::numeric_limits<float>::infinity()), dPhi2Pos_(std::numeric_limits<float>::infinity()), subDet1_(0), dRz1_(std::numeric_limits<float>::infinity()), dPhi1_(std::numeric_limits<float>::infinity()), dRz1Pos_(std::numeric_limits<float>::infinity()), dPhi1Pos_(std::numeric_limits<float>::infinity()), hcalDepth1OverEcal_(std::numeric_limits<float>::infinity()), hcalDepth2OverEcal_(std::numeric_limits<float>::infinity()), isEcalDriven_(false), isTrackerDriven_(false) {}
ElectronSeed::~ElectronSeed | ( | ) | [virtual] |
Definition at line 103 of file ElectronSeed.cc.
{}
CaloClusterRef reco::ElectronSeed::caloCluster | ( | ) | const [inline] |
Definition at line 70 of file ElectronSeed.h.
References caloCluster_.
Referenced by ElectronSeedGenerator::addSeed().
{ return caloCluster_ ; }
ElectronSeed* reco::ElectronSeed::clone | ( | void | ) | const [inline, virtual] |
Reimplemented from TrajectorySeed.
Definition at line 46 of file ElectronSeed.h.
References ElectronSeed().
{ return new ElectronSeed(*this) ; }
CtfTrackRef reco::ElectronSeed::ctfTrack | ( | ) | const [inline] |
Accessors.
Definition at line 69 of file ElectronSeed.h.
References ctfTrack_.
{ return ctfTrack_ ; }
float reco::ElectronSeed::dPhi1 | ( | ) | const [inline] |
float reco::ElectronSeed::dPhi1Pos | ( | ) | const [inline] |
float reco::ElectronSeed::dPhi2 | ( | ) | const [inline] |
Definition at line 74 of file ElectronSeed.h.
References dPhi2_.
Referenced by ElectronSeedGenerator::addSeed(), and display_seed().
{ return dPhi2_ ; }
float reco::ElectronSeed::dPhi2Pos | ( | ) | const [inline] |
Definition at line 76 of file ElectronSeed.h.
References dPhi2Pos_.
Referenced by ElectronSeedGenerator::addSeed().
{ return dPhi2Pos_ ; }
float reco::ElectronSeed::dRz1 | ( | ) | const [inline] |
float reco::ElectronSeed::dRz1Pos | ( | ) | const [inline] |
float reco::ElectronSeed::dRz2 | ( | ) | const [inline] |
Definition at line 73 of file ElectronSeed.h.
References dRz2_.
Referenced by ElectronSeedGenerator::addSeed(), and display_seed().
{ return dRz2_ ; }
float reco::ElectronSeed::dRz2Pos | ( | ) | const [inline] |
Definition at line 75 of file ElectronSeed.h.
References dRz2Pos_.
Referenced by ElectronSeedGenerator::addSeed().
{ return dRz2Pos_ ; }
TrackCharge reco::ElectronSeed::getCharge | ( | ) | const [inline] |
Utility.
Definition at line 86 of file ElectronSeed.h.
References LocalTrajectoryParameters::charge(), PTrajectoryStateOnDet::parameters(), and TrajectorySeed::startingState().
{ return startingState().parameters().charge() ; }
unsigned char reco::ElectronSeed::hitsMask | ( | ) | const [inline] |
Definition at line 71 of file ElectronSeed.h.
References hitsMask_.
Referenced by ElectronSeedGenerator::addSeed().
{ return hitsMask_ ; }
float reco::ElectronSeed::hoe1 | ( | ) | const [inline] |
Definition at line 82 of file ElectronSeed.h.
References hcalDepth1OverEcal_.
{ return hcalDepth1OverEcal_ ; }
float reco::ElectronSeed::hoe2 | ( | ) | const [inline] |
Definition at line 83 of file ElectronSeed.h.
References hcalDepth2OverEcal_.
{ return hcalDepth2OverEcal_ ; }
bool reco::ElectronSeed::isEcalDriven | ( | ) | const [inline] |
bool reco::ElectronSeed::isTrackerDriven | ( | ) | const [inline] |
Definition at line 89 of file ElectronSeed.h.
References isTrackerDriven_.
{ return isTrackerDriven_ ; }
static std::string const& reco::ElectronSeed::name | ( | ) | [inline, static] |
Definition at line 36 of file ElectronSeed.h.
{ static std::string const name_("ElectronSeed") ; return name_; }
void ElectronSeed::setCaloCluster | ( | const CaloClusterRef & | scl, |
unsigned char | hitsMask = 0 , |
||
int | subDet2 = 0 , |
||
int | subDet1 = 0 , |
||
float | hoe1 = std::numeric_limits<float>::infinity() , |
||
float | hoe2 = std::numeric_limits<float>::infinity() |
||
) |
Definition at line 71 of file ElectronSeed.cc.
References funct::true.
Referenced by FastElectronSeedGenerator::addASeedToThisCluster(), SiStripElectronSeedGenerator::findSeedsFromCluster(), ElectronSeedGenerator::seedsFromRecHits(), and ElectronSeedGenerator::seedsFromTrajectorySeeds().
{ caloCluster_ = scl ; hitsMask_ = hitsMask ; isEcalDriven_ = true ; subDet2_ = subDet2 ; subDet1_ = subDet1 ; hcalDepth1OverEcal_ = hoe1 ; hcalDepth2OverEcal_ = hoe2 ; }
void ElectronSeed::setCtfTrack | ( | const CtfTrackRef & | ctfTrack | ) |
Set additional info.
Definition at line 64 of file ElectronSeed.cc.
References funct::true.
Referenced by GoodSeedProducer::produce(), and ElectronSeedMerger::produce().
{ ctfTrack_ = ctfTrack ; isTrackerDriven_ = true ; }
int reco::ElectronSeed::subDet1 | ( | ) | const [inline] |
int reco::ElectronSeed::subDet2 | ( | ) | const [inline] |
Definition at line 72 of file ElectronSeed.h.
References subDet2_.
Referenced by display_seed().
{ return subDet2_ ; }
Definition at line 94 of file ElectronSeed.h.
Referenced by caloCluster().
CtfTrackRef reco::ElectronSeed::ctfTrack_ [private] |
Definition at line 93 of file ElectronSeed.h.
Referenced by ctfTrack().
float reco::ElectronSeed::dPhi1_ [private] |
Definition at line 103 of file ElectronSeed.h.
Referenced by dPhi1().
float reco::ElectronSeed::dPhi1Pos_ [private] |
Definition at line 105 of file ElectronSeed.h.
Referenced by dPhi1Pos().
float reco::ElectronSeed::dPhi2_ [private] |
Definition at line 98 of file ElectronSeed.h.
Referenced by dPhi2().
float reco::ElectronSeed::dPhi2Pos_ [private] |
Definition at line 100 of file ElectronSeed.h.
Referenced by dPhi2Pos().
float reco::ElectronSeed::dRz1_ [private] |
Definition at line 102 of file ElectronSeed.h.
Referenced by dRz1().
float reco::ElectronSeed::dRz1Pos_ [private] |
Definition at line 104 of file ElectronSeed.h.
Referenced by dRz1Pos().
float reco::ElectronSeed::dRz2_ [private] |
Definition at line 97 of file ElectronSeed.h.
Referenced by dRz2().
float reco::ElectronSeed::dRz2Pos_ [private] |
Definition at line 99 of file ElectronSeed.h.
Referenced by dRz2Pos().
float reco::ElectronSeed::hcalDepth1OverEcal_ [private] |
Definition at line 106 of file ElectronSeed.h.
Referenced by hoe1().
float reco::ElectronSeed::hcalDepth2OverEcal_ [private] |
Definition at line 107 of file ElectronSeed.h.
Referenced by hoe2().
unsigned char reco::ElectronSeed::hitsMask_ [private] |
Definition at line 95 of file ElectronSeed.h.
Referenced by hitsMask().
bool reco::ElectronSeed::isEcalDriven_ [private] |
Definition at line 108 of file ElectronSeed.h.
Referenced by isEcalDriven().
bool reco::ElectronSeed::isTrackerDriven_ [private] |
Definition at line 109 of file ElectronSeed.h.
Referenced by isTrackerDriven().
int reco::ElectronSeed::subDet1_ [private] |
Definition at line 101 of file ElectronSeed.h.
Referenced by subDet1().
int reco::ElectronSeed::subDet2_ [private] |
Definition at line 96 of file ElectronSeed.h.
Referenced by subDet2().