1 #ifndef __JTRIGGER__JHITL1__ 
    2 #define __JTRIGGER__JHITL1__ 
   21 namespace JPP { 
using namespace JTRIGGER; }
 
   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();
 
  284       for (
iterator i = this->begin(); i != this->end(); ++i) {
 
  300       for (
iterator i = this->begin(); i != this->end(); ++i) {
 
  316       for (
iterator i = this->begin(); i != this->end(); ++i) {
 
  332       for (
iterator i = this->begin(); i != this->end(); ++i) {
 
  349       for (
iterator i = this->begin(); i != this->end(); ++i) {
 
  350         i->transform(R, pos);
 
  364       for (
iterator i = this->begin(); i != this->end(); ++i) {
 
  365         i->transform_back(R, pos);
 
double getY() const 
Get y position. 
 
Data structure for L1 hit. 
 
void transform_back(const JRotation3D &R, const JVector3D &pos)
Transform back hit. 
 
JHitL1(const JDAQModuleIdentifier &id)
Constructor. 
 
double getT(const unsigned int i) const 
Get time of hit i. 
 
JHitL1()
Default constructor. 
 
const JPosition3D & getPosition() const 
Get position. 
 
Basic data structure for time and time over threshold information of hit. 
 
int getN() const 
Get count. 
 
Basic data structure for L0 hit. 
 
double getToT() const 
Get calibrated time over threshold of hit. 
 
void transform(const JRotation3D &R, const JVector3D &pos)
Transform hit. 
 
Data structure for vector in three dimensions. 
 
do set_variable OUTPUT_DIRECTORY $WORKDIR T
 
JHitL1(const JHitL0 &hit)
Constructor. 
 
const JPosition3D & getPosition() const 
Get position. 
 
double getW() const 
Get weight. 
 
then usage $script[distance] fi case set_variable R
 
double getZ() const 
Get z position. 
 
Data structure for L0 hit. 
 
const JHitL1 & sort()
Sort L0 hits. 
 
Data structure for position in three dimensions. 
 
const JDAQModuleIdentifier & getModuleIdentifier() const 
Get Module identifier. 
 
JHitL1(const JDAQModuleIdentifier &id, T __begin, T __end)
Constructor. 
 
double getX() const 
Get x position. 
 
JHitL1 & rotate(const JRotation3D &R)
Rotate hit. 
 
double getToT() const 
Get overall time over threshold. 
 
JHitL1 & rotate_back(const JRotation3D &R)
Rotate back hit. 
 
double getT() const 
Get time. 
 
JHitL1 & add(const JVector3D &pos)
Add position. 
 
JHitL1 & sub(const JVector3D &pos)
Subtract position.