Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
SmearAlgorithm.cxx
1/*
2 * SmothAlgorithm.cxx
3 *
4 * Created on: 8 gru 2015
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9
10#include "SmearAlgorithm.h"
11
12#include "Parameter.h"
13#include "Package.h"
14
15namespace Hal {
16
18 Package* pack = new Package(this);
19 pack->AddObject(new ParameterString("Smear code", this->ClassName()));
20 return pack;
21 }
22 EventSmear::EventSmear() {}
23
24 EventSmear::~EventSmear() {}
25
26 TrackSmear::TrackSmear() {}
27
28 TrackSmear::~TrackSmear() {}
29
30 EventSmearVirtual::EventSmearVirtual() : EventSmear() {}
31
33
35
36 EventSmearVirtual::~EventSmearVirtual() {}
37
38 TrackSmearVirtual::TrackSmearVirtual() {}
39
41
43
44 TrackSmearVirtual::~TrackSmearVirtual() {}
45
48 pack->AddObject(new ParameterString("Smearing type", "Event"));
49 return pack;
50 }
51
54 pack->AddObject(new ParameterString("Smearing type", "Track"));
55 return pack;
56 }
57} // namespace Hal
virtual SmearAlgorithm * MakeCopy() const
virtual Package * Report() const
virtual void ModifyEvent(SmearedEvent *mod)
virtual Package * Report() const
void AddObject(TObject *object)
Definition Package.cxx:209
virtual Package * Report() const
virtual SmearAlgorithm * MakeCopy() const
virtual void ModifyTrack(SmearedTrack *mod)