File indexing completed on 2024-04-06 12:22:00
0001 #include "L1Trigger/TrackFindingTracklet/interface/ProjectionTemp.h"
0002
0003 using namespace std;
0004 using namespace trklet;
0005
0006 ProjectionTemp::ProjectionTemp(Tracklet* proj,
0007 unsigned int slot,
0008 unsigned int projrinv,
0009 int projfinerz,
0010 unsigned int projfinephi,
0011 unsigned int iphi,
0012 int shift,
0013 bool usefirstMinus,
0014 bool usefirstPlus,
0015 bool usesecondMinus,
0016 bool usesecondPlus,
0017 bool isPSseed) {
0018 proj_ = proj;
0019 slot_ = slot;
0020 projrinv_ = projrinv;
0021 projfinerz_ = projfinerz;
0022 projfinephi_ = projfinephi;
0023 iphi_ = iphi;
0024 shift_ = shift;
0025 use_[0][0] = usefirstMinus;
0026 use_[0][1] = usefirstPlus;
0027 use_[1][0] = usesecondMinus;
0028 use_[1][1] = usesecondPlus;
0029 isPSseed_ = isPSseed;
0030 }
0031
0032 ProjectionTemp::ProjectionTemp() {
0033 proj_ = nullptr;
0034 slot_ = 0;
0035 projrinv_ = 0;
0036 projfinerz_ = 0;
0037 projfinephi_ = 0;
0038 iphi_ = 0;
0039 shift_ = 0;
0040 use_[0][0] = false;
0041 use_[0][1] = false;
0042 use_[1][0] = false;
0043 use_[1][1] = false;
0044 isPSseed_ = false;
0045 }