CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 
17  class PFBlockElementBrem final : public PFBlockElement {
18  public:
20 
22  const double DeltaP,
23  const double SigmaDeltaP,
24  const unsigned int indTrajPoint);
25 
26  PFBlockElement* clone() const override { return new PFBlockElementBrem(*this); }
27  void Dump(std::ostream& out = std::cout, const char* tab = " ") const override;
28 
29  const GsfPFRecTrackRef& GsftrackRefPF() const { return GsftrackRefPF_; }
30 
32  const reco::GsfTrackRef& GsftrackRef() const { return GsftrackRef_; }
33 
34  const PFRecTrack& trackPF() const { return ((*GsftrackRefPF()).PFRecBrem()[(indPoint_ - 2)]); }
35 
36  double DeltaP() const { return deltaP_; }
37  double SigmaDeltaP() const { return sigmadeltaP_; }
38  unsigned int indTrajPoint() const { return indPoint_; }
39 
42 
43  private:
46 
49 
50  double deltaP_;
51  double sigmadeltaP_;
52  unsigned int indPoint_;
54  };
55 } // namespace reco
56 
57 #endif
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:20
math::XYZPointF positionAtECALEntrance_
void Dump(std::ostream &out=std::cout, const char *tab=" ") const override
print the object inside the element
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
const GsfPFRecTrackRef & GsftrackRefPF() const
PFBlockElement * clone() const override
necessary to have the edm::OwnVector&lt;PFBlockElement&gt; working
tuple cout
Definition: gather_cfg.py:144
GsfPFRecTrackRef GsftrackRefPF_
reference to the corresponding track (transient)