1#ifndef __KVGEODNTRAJECTORY_H
2#define __KVGEODNTRAJECTORY_H
5#include "KVUniqueNameList.h"
7#include "KVGeoDetectorNode.h"
207 while ((o = next())) {
218 while ((o = next())) {
#define ClassDef(name, id)
Base class for KaliVeda framework.
Path taken by particles through multidetector geometry.
void SaveIterationState() const
Bool_t ContainsAll(const TCollection *l) const
Bool_t fAddToNodes
if kTRUE, add trajectory to node's list
KVGeoDetectorNode * GetNodeInFront(const KVGeoDetectorNode *n) const
KVGeoDNTrajectory()
Default constructor.
Int_t fIter_delta_sav
increment/decrement for each iteration
const KVSeqCollection * GetIDTelescopes() const
TString GetPathString() const
Bool_t EndsAt(const Char_t *node_name) const
static Int_t fGDNTrajNumber
const Char_t * GetTrajectoryName() const
Int_t Index(const TObject *node) const
KVGeoDetectorNode * GetNode(const Char_t *name) const
void AddUnidentifiedParticle(int modify_identified=-1) const
void ls(Option_t *="") const
Bool_t Contains(const Char_t *name) const
void increment_identified_particle_counters(int identified, int unidentified) const
increment counters in all detectors on trajectory
KVGeoDetectorNode * GetNodeAt(Int_t i) const
void SetPathInTitle(Bool_t intitle=kTRUE)
Int_t fIter_delta
increment/decrement for each iteration
Bool_t Contains(const KVGeoDetectorNode *n) const
Bool_t BeginsAt(const KVGeoDetectorNode *d) const
void ReverseOrder()
Reverse the order of the nodes in the trajectory.
KVSeqCollection * AccessIDTelescopeList()
void AddLast(KVGeoDetectorNode *n)
void AddToNodes()
Add reference to this trajectory to all nodes on it.
Bool_t EndsAt(const KVGeoDetectorNode *d) const
void IterateFrom(const KVGeoDetectorNode *node0=nullptr) const
Int_t GetNumberOfIdentifications() const
void Clear(Option_t *="")
Clear list of nodes in trajectory.
void AddIdentifiedParticle(int modify_unidentified=-1) const
Bool_t BeginsAt(const Char_t *node_name) const
Bool_t ContainsPath(KVGeoDNTrajectory *other)
Int_t fIter_limit
last index for iteration
Bool_t ContainsAny(const TCollection *l) const
KVUniqueNameList fIDTelescopes
list of id telescopes on this trajectory
Int_t fIter_limit_sav
last index for iteration
Int_t fIter_idx_sav
index for iteration
Int_t fIter_idx
index for iteration
TObjArray fNodes
list of nodes on trajectory
void IterateBackFrom(const KVGeoDetectorNode *node0=nullptr) const
virtual ~KVGeoDNTrajectory()
Destructor.
void Copy(TObject &obj) const
void RestoreIterationState() const
Bool_t IsPathInTitle() const
Bool_t fPathInTitle
true if path is in title, false if path is in name
KVGeoDNTrajectory & operator=(const KVGeoDNTrajectory &)
KVGeoDetectorNode * GetNextNode() const
void SetAddToNodes(Bool_t yes=kTRUE)
Information on relative positions of detectors & particle trajectories.
Group of detectors which can be treated independently of all others in array.
KaliVeda extensions to ROOT collection classes.
Optimised list in which named objects can only be placed once.
virtual Int_t GetEntries() const
virtual void SetTitle(const char *title="")
const char * GetName() const override
const char * GetTitle() const override
virtual void SetName(const char *name)
Int_t IndexOf(const TObject *obj) const override
TObject * Last() const override
Int_t GetEntries() const override
void AddLast(TObject *obj) override
TObject * First() const override
TObject * FindObject(const char *name) const override
virtual const char * GetName() const
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const