CMS 3D CMS Logo

mypt Class Reference

#include <CondFormats/Calibration/interface/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.

00006 {}


Member Function Documentation

void mypt::fill (  ) 

Definition at line 7 of file mypt.cc.

References GenMuonPlsPt100GeV_cfg::cout, i, and pt.

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


Member Data Documentation

fixedArray<unsigned short,2097> mypt::pt

Definition at line 8 of file mypt.h.

Referenced by fill().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:28:56 2009 for CMSSW by  doxygen 1.5.4