10#include "SmearedEvent.h"
11#include "ComplexTrack.h"
14#include <TClonesArray.h>
18#include "ComplexEventInterface.h"
21#include "VirtualEvent.h"
32 if (event->InheritsFrom(
"Hal::McEvent")) {
40 ComplexEvent(other), fSmearing(other.fSmearing), fRealMC(other.fRealMC) {}
46 fRealEvent->
Update(inter->GetReal());
53 for (
int i = 0; i < fTotalTracksNo; i++) {
54 Track* tr = (
Track*) fRealEvent->fTracks->UncheckedAt(i);
57 ((
McTrack*) to)->McTrack::CopyData(tr);
59 to->Track::CopyData(tr);
70 SmearedEvent::~SmearedEvent() {}
virtual void Update(EventInterface *interface)
virtual void Clear(Option_t *opt=" ")
virtual void ShallowCopyEvent(Event *event)
virtual void Update(EventInterface *interface)
Int_t GetTotalTrackNo() const
virtual void Clear(Option_t *opt=" ")
void CopyData(Event *event)
virtual TString GetFormatName() const
TString GetFormatName() const
virtual void Update(EventInterface *interface)
void Clear(Option_t *opt=" ")