CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions | Friends
mypt Class Reference

#include <mypt.h>

Public Member Functions

void fill ()
 
 mypt ()
 

Public Attributes

fixedArray< unsigned short, 2097 > pt
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 6 of file mypt.h.

Constructor & Destructor Documentation

◆ mypt()

mypt::mypt ( )
inline

Definition at line 8 of file mypt.h.

8 {}

Member Function Documentation

◆ fill()

void mypt::fill ( )

Definition at line 7 of file mypt.cc.

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

References gather_cfg::cout, mps_fire::i, and pt.

◆ serialize()

template<class Archive >
void mypt::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 12 of file mypt.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 12 of file mypt.h.

Member Data Documentation

◆ pt

fixedArray<unsigned short, 2097> mypt::pt
mps_fire.i
i
Definition: mps_fire.py:355
gather_cfg.cout
cout
Definition: gather_cfg.py:144
mypt::pt
fixedArray< unsigned short, 2097 > pt
Definition: mypt.h:10