Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CMFlashDifference.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CMFlashDifference.h
1 
7 #ifndef TRACKBASE_CMFLASHDIFFERENCE_H
8 #define TRACKBASE_CMFLASHDIFFERENCE_H
9 
10 #include <phool/PHObject.h>
11 
12 #include <climits>
13 #include <cmath>
14 #include <iostream>
15 #include <memory>
16 
17 
24 {
25  public:
27  ~CMFlashDifference() override {}
28  // PHObject virtual overloads
29  void identify(std::ostream& os = std::cout) const override
30  {
31  os << "CMFlashDifference base class" << std::endl;
32  }
33  void Reset() override {}
34  int isValid() const override { return 0; }
35 
36 
38  using PHObject::CopyFrom;
39 
41  virtual void CopyFrom( const CMFlashDifference& ) {}
42 
44  virtual void CopyFrom( CMFlashDifference* ) {}
45 
46  //
47  // difference position
48  //
49  virtual float getTruthPhi() const { return NAN; }
50  virtual void setTruthPhi(float) {}
51 
52  virtual float getRecoPhi() const { return NAN; }
53  virtual void setRecoPhi(float) {}
54 
55  virtual float getTruthR() const { return NAN; }
56  virtual void setTruthR(float) {}
57 
58  virtual float getRecoR() const { return NAN; }
59  virtual void setRecoR(float) {}
60 
61  virtual float getTruthZ() const { return NAN; }
62  virtual void setTruthZ(float) {}
63 
64  virtual float getRecoZ() const { return NAN; }
65  virtual void setRecoZ(float) {}
66 
67  virtual unsigned int getNclusters() const { return UINT_MAX; }
68  virtual void setNclusters(unsigned int) {}
69 
70  protected:
71  CMFlashDifference() = default;
72  ClassDefOverride(CMFlashDifference, 1)
73 };
74 
75 #endif //TRACKBASE_CMFLASHDIFFERENCE_H