CMS 3D CMS Logo

TkTriplet.cc
Go to the documentation of this file.
1 // Original Author: George Karathanasis,
2 // georgios.karathanasis@cern.ch, CU Boulder
3 // -*- C++ -*-
4 // Package: L1Trigger
5 // Class : TkTriplet
6 // Description: Class to store the output of track-triplet producer, which used by L1T to create X->3h candidates (like W->3pi).
7 
9 
10 using namespace l1t;
11 
13  : charge_(-99.), pair_mass_max_(-99), pair_mass_min_(-99), pair_dz_max_(-99), pair_dz_min_(-99) {}
14 
16  : L1Candidate(p4), charge_(charge), pair_mass_max_(-99), pair_mass_min_(-99), pair_dz_max_(-99), pair_dz_min_(-99) {}
17 
19  int charge,
20  double pair_mass_max,
21  double pair_mass_min,
22  double pair_dz_max,
23  double pair_dz_min,
25  : L1Candidate(p4),
26  charge_(charge),
27  pair_mass_max_(pair_mass_max),
28  pair_mass_min_(pair_mass_min),
29  pair_dz_max_(pair_dz_max),
30  pair_dz_min_(pair_dz_min),
31  trkPtrList_(trkPtrList) {}
32 
33 int TkTriplet::bx() const {
34  // in the producer TkJetProducer.cc, we keep only jets with bx = 0
35  return 0;
36 }
37 
38 int TkTriplet::getTripletCharge() const { return charge_; }
39 
40 double TkTriplet::getPairMassMax() const { return pair_mass_max_; }
41 
42 double TkTriplet::getPairMassMin() const { return pair_mass_min_; }
43 
44 double TkTriplet::getPairDzMax() const { return pair_dz_max_; }
45 
46 double TkTriplet::getPairDzMin() const { return pair_dz_min_; }
double getPairMassMin() const
Definition: TkTriplet.cc:42
double pair_dz_min_
Definition: TkTriplet.h:50
delete x;
Definition: CaloConfig.h:22
int getTripletCharge() const
Definition: TkTriplet.cc:38
double pair_dz_max_
Definition: TkTriplet.h:49
double getPairDzMin() const
Definition: TkTriplet.cc:46
double pair_mass_max_
Definition: TkTriplet.h:47
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
double getPairMassMax() const
Definition: TkTriplet.cc:40
double getPairDzMax() const
Definition: TkTriplet.cc:44
double pair_mass_min_
Definition: TkTriplet.h:48
int bx() const
Definition: TkTriplet.cc:33