Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
MiniEventTask.cxx
1/*
2 * MiniEventTask.cxx
3 *
4 * Created on: 19 lut 2017
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9
10#include "MiniEventTask.h"
11
12#include "CutCollection.h"
13#include "CutContainer.h"
14#include "DataManager.h"
15#include "Event.h"
16#include "MemoryMapManager.h"
17
18namespace Hal {
19 MiniEventTask::MiniEventTask() {}
20
41
42 Task::EInitFlag MiniEventTask::Init() {
43 Task::EInitFlag init = TrackAna::Init();
44 DataManager* ioManager = DataManager::Instance();
45 ioManager->Register(Form("%s.", fCurrentEvent->ClassName()), "HalEvents", fCurrentEvent, kFALSE);
46 return init;
47 }
48
49 MiniEventTask::~MiniEventTask() {}
50} // namespace Hal
void MarkAsGood(Int_t old_index)
void Reset(Int_t size)
Int_t GetNextNo() const
Int_t GetNextAddr(Int_t index) const
Bool_t PassEvent(Event *event, const Int_t collection)
CutCollection * GetEventCollection(Int_t collection) const
Bool_t PassTrack(Track *track, const Int_t collection)
void Register(const char *name, const char *folderName, TNamed *obj, Bool_t toFile)
CutContainer * fCutContainer
Definition EventAna.h:78
Int_t fEventCollectionsNo
Definition EventAna.h:61
Event * fCurrentEvent
Definition EventAna.h:86
MemoryMapManager * fMemoryMap
Definition EventAna.h:82
Int_t fCurrentEventCollectionID
Definition EventAna.h:65
Int_t GetTotalTrackNo() const
Definition Event.h:236
void Compress(TClonesArray *array, const CompressionMap &map)
Track * GetTrack(Int_t i) const
Definition Event.h:208
Int_t GetTemporaryTotalTracksNo() const
virtual Task::EInitFlag Init()
virtual void Exec(Option_t *opt)
Track * fCurrentTrack
Definition TrackAna.h:42
virtual Task::EInitFlag Init()
Definition TrackAna.cxx:48
Int_t fCurrentTrackCollectionID
Definition TrackAna.h:34