#include <TGo4EventElement.h>
Definition at line 36 of file TGo4EventElement.h.
◆ TGo4EventElement() [1/3]
TGo4EventElement::TGo4EventElement |
( |
| ) |
|
◆ TGo4EventElement() [2/3]
TGo4EventElement::TGo4EventElement |
( |
const char * |
name | ) |
|
◆ TGo4EventElement() [3/3]
TGo4EventElement::TGo4EventElement |
( |
const char * |
aName, |
|
|
const char * |
aTitle, |
|
|
Short_t |
aBaseCat = 0 |
|
) |
| |
◆ ~TGo4EventElement()
virtual TGo4EventElement::~TGo4EventElement |
( |
void |
| ) |
|
|
virtual |
◆ activate()
virtual void TGo4EventElement::activate |
( |
| ) |
|
|
virtual |
◆ activateBranch()
virtual Int_t TGo4EventElement::activateBranch |
( |
TBranch * |
branch, |
|
|
Int_t |
index = 0 , |
|
|
TGo4EventElement ** |
var_ptr = 0 |
|
) |
| |
|
virtual |
◆ CheckEventSource()
Bool_t TGo4EventElement::CheckEventSource |
( |
const char * |
classname | ) |
|
Check if event source is valid. Tests the pointer for zero, and if not zero, compares classname of the event source with given string. To be used from the Fill method and from the analysis method init event classes.
Referenced by GetEventSource().
◆ ClassDef()
◆ Clear()
virtual void TGo4EventElement::Clear |
( |
Option_t * |
t = "" | ) |
|
|
virtual |
◆ clearAll()
virtual void TGo4EventElement::clearAll |
( |
Int_t |
| ) |
|
|
inlinevirtual |
◆ deactivate()
virtual void TGo4EventElement::deactivate |
( |
| ) |
|
|
virtual |
◆ Fill()
virtual Int_t TGo4EventElement::Fill |
( |
| ) |
|
|
virtual |
Method called by the event owner (analysis step) to fill the event element from the set event source. Event source can be the source of the analysis step (if this is a raw event) or the event processor (if this is a reduced event). Fill method has to specify how the event source writes to the members of this event structure. Either by calling methods of the source (like myevent.a=fxEventSource->GetA(); etc ), or by direct copy to the member (like fxEventSource->FillMemoryAt(&myevent.a);)
Referenced by GetEventSource().
◆ GetEventSource()
TGo4EventSource* TGo4EventElement::GetEventSource |
( |
| ) |
const |
|
inline |
◆ getId()
virtual Short_t TGo4EventElement::getId |
( |
| ) |
|
|
inlinevirtual |
◆ GetParent()
◆ Init()
virtual Int_t TGo4EventElement::Init |
( |
| ) |
|
|
virtual |
Method called on initialization of event classes. User might check the correct type of the eventsource here and assign this to a subclass pointer.
Referenced by GetEventSource().
◆ isComposed()
virtual Bool_t TGo4EventElement::isComposed |
( |
| ) |
|
|
inlinevirtual |
◆ IsValid()
Bool_t TGo4EventElement::IsValid |
( |
| ) |
const |
|
inline |
◆ makeBranch()
virtual void TGo4EventElement::makeBranch |
( |
TBranch * |
parent | ) |
|
|
virtual |
◆ operator[]()
◆ Print()
virtual void TGo4EventElement::Print |
( |
Option_t * |
option = "" | ) |
const |
|
virtual |
◆ PrintEvent()
virtual void TGo4EventElement::PrintEvent |
( |
| ) |
|
|
virtual |
◆ setDebug()
virtual void TGo4EventElement::setDebug |
( |
Bool_t |
debug | ) |
|
|
inlinevirtual |
◆ SetEventSource()
void TGo4EventElement::SetEventSource |
( |
TGo4EventSource * |
src | ) |
|
|
inline |
Setter for the event source that is currently used by the Fill method.
Definition at line 52 of file TGo4EventElement.h.
52 { fxEventSource = src; }
◆ SetParent()
◆ SetValid()
void TGo4EventElement::SetValid |
( |
Bool_t |
on | ) |
|
|
inline |
◆ synchronizeWithTree()
virtual void TGo4EventElement::synchronizeWithTree |
( |
TTree * |
tree, |
|
|
TGo4EventElement ** |
var_ptr = nullptr |
|
) |
| |
|
virtual |
Use this method to map event structure with the Tree branch(es)
Referenced by operator[]().
◆ fDebug
Bool_t TGo4EventElement::fDebug |
|
protected |
◆ fIdentifier
Short_t TGo4EventElement::fIdentifier |
|
protected |
The documentation for this class was generated from the following file: