CMS 3D CMS Logo

Classes | Typedefs | Functions
VectorHit.h File Reference
#include "DataFormats/TrackerRecHit2D/interface/BaseTrackerRecHit.h"
#include "DataFormats/TrackerRecHit2D/interface/VectorHit2D.h"
#include "DataFormats/TrackerRecHit2D/interface/OmniClusterRef.h"
#include "DataFormats/Common/interface/DetSetVector.h"
#include "DataFormats/Common/interface/DetSetVectorNew.h"
#include "DataFormats/Phase2TrackerCluster/interface/Phase2TrackerCluster1D.h"
#include "DataFormats/GeometryVector/interface/LocalVector.h"
#include "Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h"
#include "DataFormats/TrackingRecHit/interface/KfComponentsHolder.h"
#include "DataFormats/TrackerRecHit2D/interface/TkCloner.h"

Go to the source code of this file.

Classes

class  VectorHit
 

Typedefs

typedef edmNew::DetSetVector< VectorHitVectorHitCollection
 

Functions

bool operator< (const VectorHit &one, const VectorHit &other)
 
std::ostream & operator<< (std::ostream &os, const VectorHit &vh)
 

Typedef Documentation

◆ VectorHitCollection

Definition at line 151 of file VectorHit.h.

Function Documentation

◆ operator<()

bool operator< ( const VectorHit one,
const VectorHit other 
)
inline

Definition at line 147 of file VectorHit.h.

147 { return (one.chi2() < other.chi2()); }

References SiPixelPI::one, and trackingPlots::other.

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const VectorHit vh 
)

Definition at line 173 of file VectorHit.cc.

173  {
174  os << " VectorHit create in the DetId#: " << vh.geographicalId() << "\n"
175  << " Vectorhit local position : " << vh.localPosition() << "\n"
176  << " Vectorhit local direction : " << vh.localDirection() << "\n"
177  << " Vectorhit global direction : " << vh.globalDirection() << "\n"
178  << " Lower cluster global position : " << vh.lowerGlobalPos() << "\n"
179  << " Upper cluster global position : " << vh.upperGlobalPos();
180 
181  return os;
182 }

References TrackingRecHit::geographicalId(), VectorHit::globalDirection(), VectorHit::localDirection(), VectorHit::localPosition(), VectorHit::lowerGlobalPos(), and VectorHit::upperGlobalPos().

SiPixelPI::one
Definition: SiPixelPayloadInspectorHelper.h:39
VectorHit::localDirection
virtual LocalVector localDirection() const
Definition: VectorHit.h:75
VectorHit::localPosition
LocalPoint localPosition() const override
Definition: VectorHit.h:74
VectorHit::lowerGlobalPos
Global3DPoint lowerGlobalPos() const
Definition: VectorHit.cc:102
TrackingRecHit::geographicalId
DetId geographicalId() const
Definition: TrackingRecHit.h:120
trackingPlots.other
other
Definition: trackingPlots.py:1467
VectorHit::globalDirection
Global3DVector globalDirection() const
Definition: VectorHit.cc:152
VectorHit::upperGlobalPos
Global3DPoint upperGlobalPos() const
Definition: VectorHit.cc:108