CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SimpleJetTrackAssociator.h
Go to the documentation of this file.
4 
5 namespace helper {
7  public:
9  deltaR2_(0), nHits_(0), chi2nMax_(0) { }
10  SimpleJetTrackAssociator(double deltaR, int32_t nHits, double chi2nMax) :
11  deltaR2_(deltaR*deltaR), nHits_(nHits), chi2nMax_(chi2nMax) {}
12 
13  // 100% FWLite compatible (but will make up transient refs)
15 
16  // more versatile, persistent refs, for when we're in full framework
18  private:
19  double deltaR2_;
20  int32_t nHits_;
21  double chi2nMax_;
22 };
23 }
24 
void associateTransient(const math::XYZVector &dir, const reco::TrackCollection &in, reco::TrackRefVector &out)
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:10
void associate(const math::XYZVector &dir, const edm::View< reco::Track > &in, reco::TrackRefVector &out)
tuple out
Definition: dbtoconf.py:99
double deltaR(double eta1, double eta2, double phi1, double phi2)
Definition: TreeUtility.cc:17
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:30
SimpleJetTrackAssociator(double deltaR, int32_t nHits, double chi2nMax)
dbl *** dir
Definition: mlp_gen.cc:35