CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TotemTestHistoClass.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_Forward_TotemTestHistoClass_h
2 #define SimDataFormats_Forward_TotemTestHistoClass_h 1
3 // -*- C++ -*-
4 //
5 // Package: Forward
6 // Class : TotemTestHistoClass
7 //
16 //
17 // Original Author:
18 // Created: Tue May 16 10:14:34 CEST 2006
19 // $Id: TotemTestHistoClass.h,v 1.1 2006/11/16 16:40:31 sunanda Exp $
20 //
21 
22 // system include files
23 #include <vector>
24 
25 // user include files
26 
28 
29 public:
30 
31  // ---------- Constructor and destructor -----------------
32  explicit TotemTestHistoClass();
33  virtual ~TotemTestHistoClass();
34 
35  struct Hit {
36  Hit() {}
37  int UID;
38  int Ptype;
39  int TID;
40  int PID;
41  float ELoss;
42  float PABS;
43  float x;
44  float y;
45  float z;
46  float vx;
47  float vy;
48  float vz;
49  };
50 
51  // ---------- Member functions ---------------------------
52  int getEVT() const {return evt;}
53  int getNHit() const {return hits;}
54  std::vector<Hit> getHits() const {return hit;}
55 
56  void setEVT(int v) {evt=v;}
57  void fillHit(int uID, int pType, int tID, int pID, float eLoss, float pAbs,
58  float vX, float vY, float vZ, float x, float y, float z);
59 
60 private:
61 
62  // ---------- Private Data members -----------------------
63  int evt, hits;
64  std::vector<Hit> hit;
65 
66 };
67 
68 #endif
double double double z
static const int tID
Definition: TopGenEvent.h:13
std::vector< Hit > hit
void fillHit(int uID, int pType, int tID, int pID, float eLoss, float pAbs, float vX, float vY, float vZ, float x, float y, float z)
x
Definition: VDTMath.h:216
mathSSE::Vec4< T > v
std::vector< Hit > getHits() const