Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
DetectorTrack.h
1/*
2 * DetectorTrack.h
3 *
4 * Created on: 04-05-2022
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALDETECTORTRACK_H_
10#define HALDETECTORTRACK_H_
11
12#include <TObject.h>
13
14
19namespace Hal {
20 class DetectorTrack : public TObject {
21 Int_t fFlag;
22
23 public:
29 DetectorTrack(const DetectorTrack& other) = default;
35 DetectorTrack& operator=(const DetectorTrack& track) = default;
40 inline Int_t GetFlag() const { return fFlag; };
41 inline void SetFlag(Int_t flag) { fFlag = flag; };
42 inline void SetFlagGood() { fFlag = 1; };
43 inline void SetFlagBad() { fFlag = 0; }
44 virtual ~DetectorTrack();
45 ClassDef(DetectorTrack, 1)
46 };
47} // namespace Hal
48#endif /* HALDETECTORTRACK_H_ */
Int_t GetFlag() const
DetectorTrack(const DetectorTrack &other)=default
DetectorTrack & operator=(const DetectorTrack &track)=default