GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TFippsPulser.cxx
Go to the documentation of this file.
1#include "TFippsPulser.h"
2
3#include "TClass.h"
4#include <cmath>
5#include "TMath.h"
6
7#include "TGRSIOptions.h"
8
13
15
17{
18 rhs.Copy(*this);
19 return *this;
20}
21
23{
24 rhs.Copy(*this);
25}
26
27void TFippsPulser::AddFragment(const std::shared_ptr<const TFragment>& frag, TChannel* chan)
28{
29
30 /// This function creates TFippsPulserHits for each fragment and stores them in separate front and back vectors
31 if(frag == nullptr || chan == nullptr) {
32 return;
33 }
34
35 auto hit = new TDetectorHit(*frag);
36 Hits().push_back(hit);
37}
38
39void TFippsPulser::Print(Option_t*) const
40{
41 Print(std::cout);
42}
43
44void TFippsPulser::Print(std::ostream& out) const
45{
46 std::ostringstream str;
47 str << __PRETTY_FUNCTION__ << "\tnot yet written." << std::endl;
48 out << str.str();
49}
void Copy(TObject &) const override
!
Definition TDetector.cxx:24
void Clear(Option_t *="") override
!
Definition TDetector.h:68
std::vector< TDetectorHit * > & Hits()
Definition TDetector.h:78
~TFippsPulser() override
void Print(Option_t *opt="") const override
!
void AddFragment(const std::shared_ptr< const TFragment > &, TChannel *) override
!
TFippsPulser & operator=(const TFippsPulser &)