PandaRoot
FTSCAStrip.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 //-*- Mode: C++ -*-
14 // *****************************************************************************
15 // *
16 // @Autors: I.Kulakov; M.Pugach; M.Zyzak; I.Kisel *
17 // @e-mail: I.Kulakov@gsi.de; M.Pugach@gsi.de; M.Zyzak@gsi.de; I.Kisel@compeng.uni-frankfurt.de *
18 // *
19 // *****************************************************************************
20 
21 #ifndef FTSCASTRIP_H
22 #define FTSCASTRIP_H
23 
24 class FTSCAStrip {
25  public:
26  FTSCAStrip() : fS(0), fIsUsed(false) {}
27 
28  FTSCAStrip(float f) : fS(f), fIsUsed(false) {}
29 
30  operator float() const { return fS; }
31 
32  bool IsUsed() const { return fIsUsed; }
33 
34  void SetAsUsed() { fIsUsed = true; }
35 
36  private:
37  float fS;
38 
39  bool fIsUsed;
40 };
41 
42 #endif
bool IsUsed() const
Definition: FTSCAStrip.h:32
FTSCAStrip(float f)
Definition: FTSCAStrip.h:28
void SetAsUsed()
Definition: FTSCAStrip.h:34
float f
Definition: P4_F32vec4.h:32