CMS 3D CMS Logo

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 //
20 
21 // system include files
22 #include <vector>
23 
24 // user include files
25 
27 
28 public:
29 
30  // ---------- Constructor and destructor -----------------
31  explicit TotemTestHistoClass();
32  virtual ~TotemTestHistoClass();
33 
34  struct Hit {
35  Hit() {}
36  int UID;
37  int Ptype;
38  int TID;
39  int PID;
40  float ELoss;
41  float PABS;
42  float x;
43  float y;
44  float z;
45  float vx;
46  float vy;
47  float vz;
48  };
49 
50  // ---------- Member functions ---------------------------
51  int getEVT() const {return evt;}
52  int getNHit() const {return hits;}
53  std::vector<Hit> getHits() const {return hit;}
54 
55  void setEVT(int v) {evt=v;}
56  void fillHit(int uID, int pType, int tID, int pID, float eLoss, float pAbs,
57  float vX, float vY, float vZ, float x, float y, float z);
58 
59 private:
60 
61  // ---------- Private Data members -----------------------
62  int evt, hits;
63  std::vector<Hit> hit;
64 
65 };
66 
67 #endif
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)
std::vector< Hit > getHits() const