PandaRoot
PndRichMirrorSegment.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 // -------------------------------------------------------------------------
14 // ----- PndRichMirrorSegment header file -----
15 // ----- Created 22/07/16 by Konstantin Beloborodov -----
16 // ----- -----
17 // -------------------------------------------------------------------------
18 
19 #ifndef PNDRICHMIRRORSEGMENT_H
20 #define PNDRICHMIRRORSEGMENT_H
21 
22 #include "FairHit.h"
23 #include <vector>
24 
26 
27  public:
30 
31  PndRichMirrorSegment(TVector3 point, TVector3 dims, TVector3 normal);
32 
36  {
37  *this = seg;
38  };
39 
41  virtual ~PndRichMirrorSegment();
42 
44  virtual void Print(const Option_t *opt = "") const;
45 
49  virtual TVector3 GetPoint() { return fMiddleFlatMirrorPoint; }
50  virtual TVector3 GetDims() { return fSizeOfFlatMirror; }
51  virtual TVector3 GetNormal() { return fNormalOfFlatMirror; }
52  void SetPoint(TVector3 point) { fMiddleFlatMirrorPoint = point; }
53  void SetDimensions(TVector3 dims) { fSizeOfFlatMirror = dims; }
54  void SetNormal(TVector3 normal) { fNormalOfFlatMirror = normal; }
55 
56  protected:
60 
61  ClassDef(PndRichMirrorSegment, 1)
62 };
63 
64 #endif // PNDRICHMIRRORSEGMENT_H
void SetPoint(TVector3 point)
void SetNormal(TVector3 normal)
virtual TVector3 GetPoint()
virtual TVector3 GetNormal()
virtual void Print(const Option_t *opt="") const
void SetDimensions(TVector3 dims)
virtual TVector3 GetDims()
virtual ~PndRichMirrorSegment()
PndRichMirrorSegment(const PndRichMirrorSegment &seg)