1 #ifndef __JAANETTESTKIT__ 
    2 #define __JAANETTESTKIT__ 
   32   p->
x = getRandom<double>();
 
   33   p->
y = getRandom<double>();
 
   34   p->
z = getRandom<double>();
 
   51   p->
x = getRandom<double>(-1.0e4, +1.0e4, 1.0);
 
   52   p->
y = getRandom<double>(-1.0e4, +1.0e4, 1.0);
 
   53   p->
z = getRandom<double>(-1.0e4, +1.0e4, 1.0);
 
   70   p->
x = getRandom<double>(-1.0, +1.0, 1.0e-3);
 
   71   p->
y = getRandom<double>(-1.0, +1.0, 1.0e-3);
 
   72   p->
z = getRandom<double>(-1.0, +1.0, 1.0e-3);
 
   83   p->
id           = getRandom<int>(0, 1000);
 
   85     p->
dom_id     = getRandom<int>(0, 1000);
 
   86     p->
channel_id = getRandom<unsigned int>(0,  31);
 
   87     p->
tdc        = getRandom<unsigned int>();
 
   88     p->
tot        = getRandom<unsigned int>(0, 256);
 
   89     p->
trig       = getRandom<int>(0, 1000);
 
   91   p->
pmt_id       = getRandom<int>(0, 1000);
 
   92   p->
pure_t       = getRandom<double>(0.0, 100.0e6, 0.1);
 
   93   p->
pure_a       = getRandom<double>(0.0, 100.0e0, 0.1);
 
   95     p->
pos        = getRandom<pos_type>();
 
   96     p->
dir        = getRandom<dir_type>();
 
   98   p->
type         = getRandom<int>(0, 1000);
 
   99   p->
origin       = getRandom<int>(0, 1000);
 
  108   operator int()
 const { 
return type; }
 
  127     const JParticle& particle = pdb[getRandom<int>(0, pdb.size())];
 
  146   p->
id      = getRandom<int>(0, 1000);
 
  147   p->
pos     = getRandom<pos_type>();
 
  148   p->
dir     = getRandom<dir_type>();
 
  149   p->
t       = getRandom<double>(0.0, 1.0e6, 1.0);
 
  150   p->
E       = getRandom<double>(1.0, 1.0e6, 1.0);
 
  152     p->
len   = getRandom<double>();
 
  153     p->
lik   = getRandom<double>();
 
  155   p->
type    = getRandom<pdg_type>();
 
  171     p->
id              = getRandom<int>(0, 1000);
 
  172     p->
det_id          = getRandom<int>(0, 1000);
 
  174   p->
mc_id             = getRandom<int>(0, 1000);
 
  176     p->
run_id          = getRandom<int>(0, 1000);
 
  183   for (
int i = getRandom<int>(1, 1000); i != 0; --i) {
 
  184     p->
mc_hits.push_back(getRandom<Hit>());
 
  187   for (
int i = getRandom<int>(1,  100); i != 0; --i) {
 
  188     p->
mc_trks.push_back(getRandom<Trk>());
 
  193     for (
int i = getRandom<int>(1, 1000); i != 0; --i) {
 
  194       p->
hits.push_back(getRandom<Hit>());
 
  197     for (
int i = getRandom<int>(1,  100); i != 0; --i) {
 
  198       p->
trks.push_back(getRandom<Trk>());
 
  213   return  (first.
id           == second.
id                    &&
 
  215            first.
tdc          == second.
tdc                   &&
 
  216            first.
tot          == second.
tot                   &&
 
  219            first.
t            == second.
t                     &&
 
  220            first.
a            == second.
a                     &&
 
  221            first.
pos          == second.
pos                   &&
 
  222            first.
dir          == second.
dir                   &&
 
  237   return  (first.
id           == second.
id                    &&
 
  238            first.
pos          == second.
pos                   &&
 
  239            first.
dir          == second.
dir                   &&
 
  240            first.
t            == second.
t                     &&
 
  241            first.
E            == second.
E                     &&
 
  242            first.
len          == second.
len                   &&
 
  243            first.
lik          == second.
lik                   &&
 
  262   return  (first.
id               == second.
id                &&