PandaRoot
FTSCAStrip.h
Go to the documentation of this file.
1 //-*- Mode: C++ -*-
2 // *****************************************************************************
3 // *
4 // @Autors: I.Kulakov; M.Pugach; M.Zyzak; I.Kisel *
5 // @e-mail: I.Kulakov@gsi.de; M.Pugach@gsi.de; M.Zyzak@gsi.de; I.Kisel@compeng.uni-frankfurt.de *
6 // *
7 // *****************************************************************************
8 
9 #ifndef FTSCASTRIP_H
10 #define FTSCASTRIP_H
11 
12 class FTSCAStrip {
13  public:
14  FTSCAStrip() : fS(0), fIsUsed(false) {}
15 
16  FTSCAStrip(float f) : fS(f), fIsUsed(false) {}
17 
18  operator float() const { return fS; }
19 
20  bool IsUsed() const { return fIsUsed; }
21 
22  void SetAsUsed() { fIsUsed = true; }
23 
24  private:
25  float fS;
26 
27  bool fIsUsed;
28 };
29 
30 #endif
bool IsUsed() const
Definition: FTSCAStrip.h:20
FTSCAStrip(float f)
Definition: FTSCAStrip.h:16
void SetAsUsed()
Definition: FTSCAStrip.h:22
float f
Definition: P4_F32vec4.h:20