GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TFippsLaBrHit.cxx
Go to the documentation of this file.
1#include "TFippsLaBrHit.h"
2
3#include <iostream>
4#include <algorithm>
5#include <climits>
6
7#include "Globals.h"
8#include "TFippsLaBr.h"
9
10/// \cond CLASSIMP
12/// \endcond
13
15{
16// Default Constructor
17#if ROOT_VERSION_CODE < ROOT_VERSION(6,0,0)
18 Class()->IgnoreTObjectStreamer(kTRUE);
19#endif
20 Clear();
21}
22
24
26{
27// Copy Constructor
28#if ROOT_VERSION_CODE < ROOT_VERSION(6,0,0)
29 Class()->IgnoreTObjectStreamer(kTRUE);
30#endif
31 Clear();
32 rhs.Copy(*this);
33}
34
35void TFippsLaBrHit::Copy(TObject& rhs) const
36{
37 // Copies a TFippsLaBrHit
39}
40
41void TFippsLaBrHit::Copy(TObject& obj, bool) const
42{
43 Copy(obj);
44}
45
46TVector3 TFippsLaBrHit::GetPosition(Double_t) const
47{
48 // Gets the position of the current TFippsLaBrHit
50}
51
53{
54 // Gets the position of the current TFippsLaBrHit
56}
57
58void TFippsLaBrHit::Clear(Option_t*)
59{
60 // Clears the LaBrHit
62}
63
64void TFippsLaBrHit::Print(Option_t*) const
65{
66 /// Prints the LaBrHit. Returns:
67 /// Detector
68 /// Energy
69 /// Time
70 Print(std::cout);
71}
72
73void TFippsLaBrHit::Print(std::ostream& out) const
74{
75 std::ostringstream str;
76 str<<"TAC Detector: "<<GetDetector()<<std::endl;
77 str<<"TAC hit energy: "<<GetEnergy()<<std::endl;
78 str<<"TAC hit time: "<<GetTime()<<std::endl;
79 out<<str.str();
80}
ClassImp(THILMnemonic) void THILMnemonic
virtual double GetEnergy(Option_t *opt="") const
void Clear(Option_t *opt="") override
!
virtual Int_t GetDetector() const
!
void Copy(TObject &) const override
!
virtual Double_t GetTime(const ETimeFlag &correct_flag=ETimeFlag::kAll, Option_t *opt="") const
Returns a time value to the nearest nanosecond!
void Print(Option_t *opt="") const override
!
void Clear(Option_t *opt="") override
!
~TFippsLaBrHit() override
Double_t GetDefaultDistance() const
void Copy(TObject &) const override
!
TVector3 GetPosition() const override
!
static TVector3 GetPosition(int DetNbr)
!
Definition TFippsLaBr.h:69