171 if(
m_coding.code() == digit.decoding().code())
return true;
184 if(
m_x != 0. ||
m_y != 0.)
186 rad = std::sqrt( std::pow(
m_x,2) + std::pow(
m_y,2) );
208 if(this->
theta(theta))
210 eta = -std::log(std::tan(
theta/2.f));
219 if(
m_x != 0. ||
m_y != 0.)
243 unsigned int upper = 95;
244 unsigned int lower = 45;
249 for(
int i=0;i<61;++i) stream << (
char)
upper;
253 <<
time() <<
" ns" << endl;
260 stream << setiosflags(ios::fixed);
262 stream <<
"GlobalPosition (cm): "
263 << setiosflags(ios::fixed) << setprecision(3) << setw(12) <<
x() <<
","
264 << setiosflags(ios::fixed) << setprecision(3) << setw(12) <<
y() <<
","
265 << setiosflags(ios::fixed) << setprecision(3) << setw(12) <<
z()
268 stream.unsetf(ios::fixed);
275 for(
int i=0;i<61;++i) stream << (
char) lower;
Scalar theta() const
theta method
std::vector< size_t > vec
const std::string & name() const
void Print(std::ostream &, bool) const
ViewType view(void) const
void Print(std::ostream &, bool) const
std::list< unsigned int > m_codes
bool operator==(const RPCdigit &) const
const std::list< unsigned int > & codes(void) const
const RPCdecoder & decoding(void) const
bool radius(float &) const
RPCdigit operator=(const RPCdigit &)
void xyz(float vec[3]) const
bool station_eta(float &) const
virtual int track_number(void) const
bool theta(float &) const
virtual int process_type(void) const
virtual int particle_code(void) const
RPCtrigDataObject(int, const std::string &)