Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-05-15 22:43:51

0001 // Original Author:   George Karathanasis,
0002 //                    georgios.karathanasis@cern.ch, CU Boulder
0003 // -*- C++ -*-
0004 // Package:     L1Trigger
0005 // Class  :     TkTriplet
0006 // Description: Class to store the output of track-triplet producer, which used by L1T to create X->3h candidates (like W->3pi).
0007 
0008 #include "DataFormats/L1TCorrelator/interface/TkTriplet.h"
0009 
0010 using namespace l1t;
0011 
0012 TkTriplet::TkTriplet()
0013     : charge_(-99.), pair_mass_max_(-99), pair_mass_min_(-99), pair_dz_max_(-99), pair_dz_min_(-99) {}
0014 
0015 TkTriplet::TkTriplet(const LorentzVector& p4, int charge)
0016     : L1Candidate(p4), charge_(charge), pair_mass_max_(-99), pair_mass_min_(-99), pair_dz_max_(-99), pair_dz_min_(-99) {}
0017 
0018 TkTriplet::TkTriplet(const LorentzVector& p4,
0019                      int charge,
0020                      double pair_mass_max,
0021                      double pair_mass_min,
0022                      double pair_dz_max,
0023                      double pair_dz_min,
0024                      std::vector<edm::Ptr<L1TTTrackType>> trkPtrList)
0025     : L1Candidate(p4),
0026       charge_(charge),
0027       pair_mass_max_(pair_mass_max),
0028       pair_mass_min_(pair_mass_min),
0029       pair_dz_max_(pair_dz_max),
0030       pair_dz_min_(pair_dz_min),
0031       trkPtrList_(trkPtrList) {}
0032 
0033 int TkTriplet::bx() const {
0034   // in the producer TkJetProducer.cc, we keep only jets with bx = 0
0035   return 0;
0036 }