CMS 3D CMS Logo

Public Member Functions | Public Attributes

mypt Class Reference

#include <mypt.h>

List of all members.

Public Member Functions

void fill ()
 mypt ()

Public Attributes

fixedArray< unsigned short, 2097 > pt

Detailed Description

Definition at line 4 of file mypt.h.


Constructor & Destructor Documentation

mypt::mypt ( ) [inline]

Definition at line 6 of file mypt.h.

{}

Member Function Documentation

void mypt::fill ( )

Definition at line 7 of file mypt.cc.

References gather_cfg::cout, i, and pt.

               {
  //base_generator_type rng(42u);
  //boost::uniform_int<int> uni_dist(0,200);
  //boost::variate_generator<base_generator_type&, boost::uniform_int<> > uni(rng, uni_dist); 
  for(size_t i=0;i<2097;++i){
    std::cout<<"i "<<i<<" ";
    pt[i]=(unsigned short)(i);
  }
}

Member Data Documentation

fixedArray<unsigned short,2097> mypt::pt

Definition at line 8 of file mypt.h.

Referenced by fill().