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
9/// \cond CLASSIMP
11/// \endcond
12
13
15{
16 Clear();
17}
18
20
22{
23 rhs.Copy(*this);
24 return *this;
25}
26
28{
29 rhs.Copy(*this);
30}
31
32void TFippsPulser::AddFragment(const std::shared_ptr<const TFragment>& frag, TChannel* chan)
33{
34
35 /// This function creates TFippsPulserHits for each fragment and stores them in separate front and back vectors
36 if(frag == nullptr || chan == nullptr) {
37 return;
38 }
39
40 auto hit = new TDetectorHit(*frag);
41 fHits.push_back(hit);
42}
43
44void TFippsPulser::Print(Option_t*) const
45{
46 Print(std::cout);
47}
48
49void TFippsPulser::Print(std::ostream& out) const
50{
51 std::ostringstream str;
52 str<<__PRETTY_FUNCTION__<<"\tnot yet written."<<std::endl;
53 out<<str.str();
54}
ClassImp(THILMnemonic) void THILMnemonic
std::vector< TDetectorHit * > fHits
Definition TDetector.h:88
void Copy(TObject &) const override
!
Definition TDetector.cxx:24
~TFippsPulser() override
void Print(Option_t *opt="") const override
!
void AddFragment(const std::shared_ptr< const TFragment > &, TChannel *) override
!
TFippsPulser & operator=(const TFippsPulser &)