Go to the documentation of this file. 1 #ifndef __JTRIGGER__JHITL1__
2 #define __JTRIGGER__JHITL1__
83 for (T i = __begin; i != __end; ++i) {
99 std::sort(this->begin(), this->end(), std::less<JHit>());
112 return *(this->begin());
123 return *(this->begin());
146 return this->begin()->getX();
158 return this->begin()->getY();
170 return this->begin()->getZ();
181 inline double getT(
const unsigned int i)
const
183 static const double t0 = 1.29;
185 return at(i).getT() - t0;
235 if (this->size() >= t0.size())
236 return this->begin()->getT() - t0.back();
238 return this->begin()->getT() - t0[this->size()];
249 return JHit(this->begin(), this->end()).
getToT();
273 for (
iterator i = this->begin(); i != this->end(); ++i) {
289 for (
iterator i = this->begin(); i != this->end(); ++i) {
305 for (
iterator i = this->begin(); i != this->end(); ++i) {
321 for (
iterator i = this->begin(); i != this->end(); ++i) {
338 for (
iterator i = this->begin(); i != this->end(); ++i) {
339 i->transform(R, pos);
353 for (
iterator i = this->begin(); i != this->end(); ++i) {
354 i->transform_back(R, pos);
void transform_back(const JRotation3D &R, const JVector3D &pos)
Transform back hit.
JHitL1 & add(const JVector3D &pos)
Add position.
double getZ() const
Get z position.
double getToT() const
Get overall time over threshold.
JHitL1(const JHitL0 &hit)
Constructor.
double getT() const
Get time.
double getX() const
Get x position.
double getT(const unsigned int i) const
Get time of hit i.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
const JDAQModuleIdentifier & getModuleIdentifier() const
Get Module identifier.
const JHitL1 & sort()
Sort L0 hits.
double getW() const
Get weight.
Data structure for vector in three dimensions.
JHitL1 & sub(const JVector3D &pos)
Subtract position.
Data structure for position in three dimensions.
const JPosition3D & getPosition() const
Get position.
Data structure for L0 hit.
JHitL1(const JDAQModuleIdentifier &id, T __begin, T __end)
Constructor.
const JPosition3D & getPosition() const
Get position.
JHitL1()
Default constructor.
JHitL1 & rotate_back(const JRotation3D &R)
Rotate back hit.
Data structure for L1 hit.
double getToT() const
Get calibrated time over threshold of hit.
void transform(const JRotation3D &R, const JVector3D &pos)
Transform hit.
JHitL1(const JDAQModuleIdentifier &id)
Constructor.
JHitL1 & rotate(const JRotation3D &R)
Rotate hit.
double getY() const
Get y position.