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;
59 out <<
"Stub: " << DTClink_ <<
"\t" << region_ <<
"\t" << layerdisk_ <<
"\t" << stubword_ <<
"\t" << isPSmodule_
60 <<
"\t" << isFlipped_ <<
"\t" << x_ <<
"\t" << y_ <<
"\t" << z_ <<
"\t" << bend_ <<
"\t" << strip_ <<
"\t" 61 <<
"\t" << tps_.size() <<
" \t";
62 for (
int itp : tps_) {
72 void L1TStub::lorentzcor(
double shift) {
74 double phi = this->phi() -
shift / r;
75 this->x_ = r *
cos(phi);
76 this->y_ = r *
sin(phi);
86 return ((
int)strip_ - 509.5) * pitch *
flip /
r2();
88 return -((
int)strip_ - 509.5) * pitch *
flip /
r2();
91 double L1TStub::alphanorm()
const {
98 return ((
int)strip_ - 509.5) *
flip / 510.0;
100 return -((
int)strip_ - 509.5) *
flip / 510.0;
103 void L1TStub::setXY(
double x,
double y) {
108 bool L1TStub::tpmatch(
int tp)
const {
109 for (
int itp : tps_) {
117 bool L1TStub::tpmatch2(
int tp)
const {
120 for (
int itp : tps_) {
129 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