ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | Protected Attributes | List of all members
DataHandling::AtTreeEntry Class Reference

Subject for the entry number in the FairRoot tree. More...

#include <AtViewerManagerSubject.h>

Inheritance diagram for DataHandling::AtTreeEntry:
Inheritance graph
[legend]
Collaboration diagram for DataHandling::AtTreeEntry:
Collaboration graph
[legend]

Public Member Functions

 AtTreeEntry (long data)
 
long Get () const
 
void Set (long entry)
 
- Public Member Functions inherited from DataHandling::AtSubject
virtual ~AtSubject ()=default
 
void Attach (AtObserver *observer)
 Attach an observer to get notified when this subject changes. More...
 
void Detach (AtObserver *observer)
 Detach an observer to stop getting notified when this subject changes. More...
 
void Notify ()
 Notify all attached subjects that something changed. More...
 

Protected Attributes

long fEntry
 

Additional Inherited Members

- Protected Member Functions inherited from DataHandling::AtSubject
 AtSubject ()=default
 

Detailed Description

Subject for the entry number in the FairRoot tree.

Is responsible for updating the run (ie calling FairRunAna::Instance()->Run()) before notifying observers.

Definition at line 17 of file AtViewerManagerSubject.h.

Constructor & Destructor Documentation

◆ AtTreeEntry()

DataHandling::AtTreeEntry::AtTreeEntry ( long  data)
inline

Definition at line 22 of file AtViewerManagerSubject.h.

Member Function Documentation

◆ Get()

long DataHandling::AtTreeEntry::Get ( ) const
inline

Definition at line 23 of file AtViewerManagerSubject.h.

◆ Set()

void DataHandling::AtTreeEntry::Set ( long  entry)

Definition at line 10 of file AtViewerManagerSubject.cxx.

Member Data Documentation

◆ fEntry

long DataHandling::AtTreeEntry::fEntry
protected

Definition at line 19 of file AtViewerManagerSubject.h.


The documentation for this class was generated from the following files: