Class Reference for E1039 Core & Analysis Software
PHG4EventHeaderv1.cc
Go to the documentation of this file.
1 #include "PHG4EventHeaderv1.h"
2 
4 
5 using namespace std;
6 
8  evtseq(-9999),
9  bimp(NAN),
10  rplane(NAN)
11 {}
12 
13 int
15 {
16  if (evtseq > 0)
17  {
18  return 1;
19  }
20  return 0;
21 }
22 
23 void
25 {
26  evtseq = -9999;
27  bimp = NAN;
28  rplane=NAN;
29 }
30 
31 void
32 PHG4EventHeaderv1::identify(std::ostream& os) const
33 {
34  os << "identify yourself: PHG4EventHeaderv1: evtseq: "
35  << evtseq << ", bimp: " << bimp << ", rplane angle: " << rplane
36  << endl;
37 }
ClassImp(PHG4EventHeaderv1) using namespace std
int isValid() const
isValid returns non zero if object contains valid data
void identify(std::ostream &os=std::cout) const
virtual void Reset()
Clear Event.