Cat
Run.h
Go to the documentation of this file.
1 // $Id: Run.h,v 1.4 2006/07/21 09:23:00 fmachefe Exp $
2 #ifndef INCLUDE_RUN_H
3 #define INCLUDE_RUN_H 1
4 
5 // Include files
6 #include <vector>
7 
8 // Root Include files
9 #include "TObject.h"
10 
17 class Run : public TObject {
18 
19 public:
21  Run( );
22  Run( std::vector < short > );
23  Run( int , std::vector < short > );
24 
25  virtual ~Run( );
26 
27  void decodeInfo();
28 
29  unsigned long number(){
30  return m_run;
31  }
32 
33  unsigned long date(){
34  return m_date;
35  }
36 
37  void setNumber(unsigned long run){
38  m_run=run;
39  }
40 
41  void setSpy( std::vector <short> );
42 
43 
44  void setDate(unsigned long date){
45  m_date=date;
46  }
47 
52  std::vector< int > spyEvt () {
53  return m_spyEvt;
54  }
55 
60  std::vector< int > spyChannel () {
61  return m_spyChannel;
62  }
63 
64  std::vector< short > spyRaw () {
65  return m_spyRaw;
66  }
67 
68  ClassDef(Run,1)
69 
70 protected:
71 
72 private:
73  unsigned long m_run;
74  unsigned long m_date;
75  std::vector<short> m_spyRaw;
76  int m_spySize;
77  std::vector < int > m_spyEvt;
78  std::vector < int > m_spyChannel;
79 };
80 
81 #endif // INCLUDE_RUN_H
std::vector< int > m_spyEvt
Definition: Run.h:77
void setSpy(std::vector< short >)
Definition: Run.cpp:57
std::vector< int > spyEvt()
Definition: Run.h:52
std::vector< short > spyRaw()
Definition: Run.h:64
virtual ~Run()
Destructor.
Definition: Run.cpp:52
unsigned long date()
Definition: Run.h:33
def run(processus, element, nevt)
Definition: shell.py:237
ClassDef(Run, 1) protected unsigned long m_date
Definition: Run.h:68
std::vector< int > spyChannel()
Definition: Run.h:60
void setDate(unsigned long date)
Definition: Run.h:44
std::vector< int > m_spyChannel
Definition: Run.h:78
void setNumber(unsigned long run)
Definition: Run.h:37
unsigned long number()
Definition: Run.h:29
int m_spySize
Definition: Run.h:76
void decodeInfo()
Definition: Run.cpp:66
std::vector< short > m_spyRaw
Definition: Run.h:75
Run()
Standard constructor.
Definition: Run.h:17