CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ElectronSeed.cc
Go to the documentation of this file.
1 
4 
5 using namespace reco ;
6 
7 
9  : TrajectorySeed(), ctfTrack_(), caloCluster_(), hitsMask_(0),
10  subDet2_(0),
11  dRz2_(std::numeric_limits<float>::infinity()),
12  dPhi2_(std::numeric_limits<float>::infinity()),
13  dRz2Pos_(std::numeric_limits<float>::infinity()),
14  dPhi2Pos_(std::numeric_limits<float>::infinity()),
15  subDet1_(0),
16  dRz1_(std::numeric_limits<float>::infinity()),
17  dPhi1_(std::numeric_limits<float>::infinity()),
18  dRz1Pos_(std::numeric_limits<float>::infinity()),
19  dPhi1Pos_(std::numeric_limits<float>::infinity()),
20  hcalDepth1OverEcal_(std::numeric_limits<float>::infinity()),
21  hcalDepth2OverEcal_(std::numeric_limits<float>::infinity()),
22  isEcalDriven_(false), isTrackerDriven_(false)
23  {}
24 
26  ( const TrajectorySeed & seed )
27  : TrajectorySeed(seed),
28  ctfTrack_(), caloCluster_(), hitsMask_(0),
29  subDet2_(0),
34  subDet1_(0),
39  hcalDepth1OverEcal_(std::numeric_limits<float>::infinity()),
40  hcalDepth2OverEcal_(std::numeric_limits<float>::infinity()),
41  isEcalDriven_(false), isTrackerDriven_(false)
42  {}
43 
46  : TrajectorySeed(pts,rh,dir),
47  ctfTrack_(), caloCluster_(), hitsMask_(0),
48  subDet2_(0),
53  subDet1_(0),
58  hcalDepth1OverEcal_(std::numeric_limits<float>::infinity()),
59  hcalDepth2OverEcal_(std::numeric_limits<float>::infinity()),
60  isEcalDriven_(false), isTrackerDriven_(false)
61  {}
62 
64  ( const CtfTrackRef & ctfTrack )
65  {
66  ctfTrack_ = ctfTrack ;
67  isTrackerDriven_ = true ;
68  }
69 
71  ( const CaloClusterRef & scl,
72  unsigned char hitsMask,
73  int subDet2, int subDet1,
74  float hoe1, float hoe2 )
75  {
76  caloCluster_ = scl ;
77  hitsMask_ = hitsMask ;
78  isEcalDriven_ = true ;
79  subDet2_ = subDet2 ;
80  subDet1_ = subDet1 ;
81  hcalDepth1OverEcal_ = hoe1 ;
82  hcalDepth2OverEcal_ = hoe2 ;
83  }
84 
86  ( float dRz2, float dPhi2, float dRz1, float dPhi1 )
87  {
88  dRz2_ = dRz2 ;
89  dPhi2_ = dPhi2 ;
90  dRz1_ = dRz1 ;
91  dPhi1_ = dPhi1 ;
92  }
93 
95  ( float dRz2, float dPhi2, float dRz1, float dPhi1 )
96  {
97  dRz2Pos_ = dRz2 ;
98  dPhi2Pos_ = dPhi2 ;
99  dRz1Pos_ = dRz1 ;
100  dPhi1Pos_ = dPhi1 ;
101  }
102 
104  {}
105 
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())
Definition: ElectronSeed.cc:71
PropagationDirection
void setCtfTrack(const CtfTrackRef &)
Set additional info.
Definition: ElectronSeed.cc:64
static const double pts[33]
Definition: Constants.h:31
ElectronSeed()
Construction of base attributes.
Definition: ElectronSeed.cc:8
const double infinity
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())
Definition: ElectronSeed.cc:86
virtual ~ElectronSeed()
dbl *** dir
Definition: mlp_gen.cc:35
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())
Definition: ElectronSeed.cc:95