CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFBlockElementBrem.h
Go to the documentation of this file.
1 #ifndef __PFBlockElementBrem__
2 #define __PFBlockElementBrem__
3 
4 #include <iostream>
5 
11 
12 namespace reco {
13 
18  public:
19 
21 
22  PFBlockElementBrem(const GsfPFRecTrackRef& gsfref, const double DeltaP, const double SigmaDeltaP, const unsigned int indTrajPoint);
23 
24 
25  PFBlockElement* clone() const { return new PFBlockElementBrem(*this); }
26  void Dump(std::ostream& out = std::cout,
27  const char* tab = " " ) const;
28 
29 
31  return GsftrackRefPF_;
32  }
33 
35  const reco::GsfTrackRef& GsftrackRef() const {
36  return GsftrackRef_;
37  }
38 
39  const PFRecTrack & trackPF() const
40  { return ((*GsftrackRefPF()).PFRecBrem()[(indPoint_-2)]);}
41 
42 
43  double DeltaP() const {return deltaP_;}
44  double SigmaDeltaP() const {return sigmadeltaP_;}
45  unsigned int indTrajPoint() const {return indPoint_;}
46 
50  }
51 
52 
53  private:
54 
57 
60 
61  double deltaP_;
62  double sigmadeltaP_;
63  unsigned int indPoint_;
65 
66  };
67 }
68 
69 #endif
70 
Abstract base class for a PFBlock element (track, cluster...)
const math::XYZPointF & positionAtECALEntrance() const
reconstructed track used as an input to particle flow
Definition: PFRecTrack.h:22
math::XYZPointF positionAtECALEntrance_
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float > > XYZPointF
point in space with cartesian internal representation
Definition: Point3D.h:10
unsigned int indTrajPoint() const
reco::GsfTrackRef GsftrackRef_
reference to the corresponding track
const reco::GsfTrackRef & GsftrackRef() const
const PFRecTrack & trackPF() const
void Dump(std::ostream &out=std::cout, const char *tab=" ") const
print the object inside the element
const GsfPFRecTrackRef & GsftrackRefPF() const
PFBlockElement * clone() const
necessary to have the edm::OwnVector&lt;PFBlockElement&gt; working
tuple cout
Definition: gather_cfg.py:145
GsfPFRecTrackRef GsftrackRefPF_
reference to the corresponding track (transient)