Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
SmearTask.h
1/*
2 * EventSmearTask.h
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#ifndef HALSMOOTHTASK_H_
10#define HALSMOOTHTASK_H_
11
12#include "SmearAlgorithm.h"
13
14#include "TrackAna.h"
15
16#include <Rtypes.h>
17#include <RtypesCore.h>
18
19
25namespace Hal {
26 class SmearTask : public TrackAna {
27 protected:
35 Bool_t fSave;
52 virtual void ProcessEvent();
53 virtual void CheckCutContainerCollections();
54 virtual Task::EInitFlag Init();
55 Package* Report() const;
56
57 public:
58 SmearTask();
62 void SaveEvents();
69 using Task::Add;
70 virtual void SetTrackSmearAlgo(TrackSmear& smear) { fTrackAlgorithm = (TrackSmear*) smear.MakeCopy(); }
71 virtual void SetEventSmearAlgo(EventSmear& smear) { fEventAlgorithm = (EventSmear*) smear.MakeCopy(); }
72 virtual void Exec(Option_t* opt);
73 virtual ~SmearTask();
74 ClassDef(SmearTask, 1)
75 };
76} // namespace Hal
77#endif /* HALSMOOTHTASK_H_ */
virtual SmearAlgorithm * MakeCopy() const =0
SmearedTrack * fCurrentTrackSmeared
Definition SmearTask.h:47
virtual void CheckCutContainerCollections()
Definition SmearTask.cxx:40
void SaveEvents()
Definition SmearTask.cxx:96
SmearedEvent * fCurrentEventSmeared
Definition SmearTask.h:51
virtual void Exec(Option_t *opt)
Package * Report() const
Definition SmearTask.cxx:49
EventSmear * fEventAlgorithm
Definition SmearTask.h:39
virtual Task::EInitFlag Init()
Definition SmearTask.cxx:58
virtual void ProcessEvent()
Definition SmearTask.cxx:98
TrackSmear * fTrackAlgorithm
Definition SmearTask.h:43
Int_t fOutputFormatID
Definition SmearTask.h:31