GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TFippsTAC.cxx
Go to the documentation of this file.
1#include "TFippsTAC.h"
2#include <iostream>
3#include "TRandom.h"
4#include "TMath.h"
5
6/// \cond CLASSIMP
8/// \endcond
9
11{
12 // Default Constructor
13#if ROOT_VERSION_CODE < ROOT_VERSION(6,0,0)
14 Class()->IgnoreTObjectStreamer(kTRUE);
15#endif
16 Clear();
17}
18
20{
21 // Default Destructor
22}
23
25{
26 // Copy Contructor
27#if ROOT_VERSION_CODE < ROOT_VERSION(6,0,0)
28 Class()->IgnoreTObjectStreamer(kTRUE);
29#endif
30 rhs.Copy(*this);
31}
32
34{
35 rhs.Copy(*this);
36 return *this;
37}
38
39void TFippsTAC::Print(Option_t*) const
40{
41 // Prints out TFippsTAC Multiplicity, currently does little.
42 Print(std::cout);
43}
44
45void TFippsTAC::Print(std::ostream& out) const
46{
47 std::ostringstream str;
48 str<<fHits.size()<<" fHits"<<std::endl;
49 out<<str.str();
50}
51
52void TFippsTAC::AddFragment(const std::shared_ptr<const TFragment>& frag, TChannel*)
53{
54 TFippsTACHit* hit = new TFippsTACHit(*frag);
55 fHits.push_back(hit);
56}
ClassImp(THILMnemonic) void THILMnemonic
std::vector< TDetectorHit * > fHits
Definition TDetector.h:88
void Copy(TObject &) const override
!
Definition TDetector.cxx:24
~TFippsTAC() override
Definition TFippsTAC.cxx:19
void AddFragment(const std::shared_ptr< const TFragment > &, TChannel *) override
!
Definition TFippsTAC.cxx:52
TFippsTAC & operator=(const TFippsTAC &)
!
Definition TFippsTAC.cxx:33
void Print(Option_t *opt="") const override
!
Definition TFippsTAC.cxx:39