|
|
Go to the documentation of this file.
9 L1TStub::L1TStub(
int eventid,
41 isPSmodule_ = isPSmodule;
42 isFlipped_ = isFlipped;
48 out <<
"Stub: " <<
layer_ + 1 <<
"\t" << ladder_ <<
"\t" <<
module_ <<
"\t" << strip_ <<
"\t" << eventid_ <<
"\t"
49 << pt_ <<
"\t" << x_ <<
"\t" << y_ <<
"\t" << z_ <<
"\t" << bend_ <<
"\t" << isPSmodule_ <<
"\t" << isFlipped_
50 <<
"\t" << tps_.size() <<
" \t";
51 for (
int itp : tps_) {
58 out <<
"Stub: " <<
layer_ + 1 <<
"\t" << ladder_ <<
"\t" <<
module_ <<
"\t" << strip_ <<
"\t" << eventid_ <<
"\t"
59 << pt_ <<
"\t" << x_ <<
"\t" << y_ <<
"\t" << z_ <<
"\t" << bend_ <<
"\t" << isPSmodule_ <<
"\t" << isFlipped_
60 <<
"\t" << tps_.size() <<
" \t";
61 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::isTilted()
const {
constexpr unsigned int N_PSLAYER
static const char module_[]
alpha
zGenParticlesMatch = cms.InputTag(""),
constexpr unsigned int N_TILTED_RINGS
Sin< T >::type sin(const T &t)
Cos< T >::type cos(const T &t)
bool operator==(const QGLikelihoodParameters &lhs, const QGLikelihoodCategory &rhs)
Test if parameters are compatible with category.
static unsigned const int shift
double bend(double r, double rinv, double stripPitch)
constexpr std::array< unsigned int, N_PSLAYER > N_MOD_PLANK
static const char layer_[]