15 unsigned int tiltedRingId,
16 unsigned int endcapRingId,
23 std::vector<int> tps) {
25 layerdisk_ = layerdisk;
47 isPSmodule_ = isPSmodule;
48 isFlipped_ = isFlipped;
49 tiltedBarrel_ = tiltedBarrel;
50 tiltedRingId_ = tiltedRingId;
51 endcapRingId_ = endcapRingId;
58 out <<
"Stub: " << DTClink_ <<
"\t" << region_ <<
"\t" << layerdisk_ <<
"\t" << stubword_ <<
"\t" << isPSmodule_
59 <<
"\t" << isFlipped_ <<
"\t" << x_ <<
"\t" << y_ <<
"\t" << z_ <<
"\t" << bend_ <<
"\t" << strip_ <<
"\t" 60 <<
"\t" << tps_.size() <<
" \t";
61 for (
int itp : tps_) {
71 void L1TStub::lorentzcor(
double shift) {
73 double phi = this->phi() -
shift / r;
74 this->x_ = r *
cos(phi);
75 this->y_ = r *
sin(phi);
85 return ((
int)strip_ - 509.5) * pitch *
flip /
r2();
87 return -((
int)strip_ - 509.5) * pitch *
flip /
r2();
90 double L1TStub::alphanorm()
const {
97 return ((
int)strip_ - 509.5) *
flip / 510.0;
99 return -((
int)strip_ - 509.5) *
flip / 510.0;
102 void L1TStub::setXY(
double x,
double y) {
107 bool L1TStub::tpmatch(
int tp)
const {
108 for (
int itp : tps_) {
116 bool L1TStub::tpmatch2(
int tp)
const {
119 for (
int itp : tps_) {
128 return match1 && match2;
static const char layer_[]
Sin< T >::type sin(const T &t)
bool operator==(const QGLikelihoodParameters &lhs, const QGLikelihoodCategory &rhs)
Test if parameters are compatible with category.
Cos< T >::type cos(const T &t)
Abs< T >::type abs(const T &t)
static unsigned int const shift