1#include "KVGeoDNTrajectory.h"
25 : fNodes(3, 0), fIDTelescopes(
kFALSE), fPathInTitle(
kTRUE), fAddToNodes(
kTRUE)
148 if (&t !=
this) t.
Copy(*
this);
183 for (idx = 0; idx <
N; ++idx)
fNodes.
AddAt(tmp[idx], idx);
char * Form(const char *fmt,...)
Base class for KaliVeda framework.
virtual void SetNumber(UInt_t num)
virtual void Copy(TObject &) const
Make a copy of this object.
static TPluginHandler * LoadPlugin(const Char_t *base, const Char_t *uri="0")
void IncrementIdentifiedParticles(Int_t n=1)
void IncrementUnidentifiedParticles(Int_t n=1)
Path taken by particles through multidetector geometry.
Bool_t fAddToNodes
if kTRUE, add trajectory to node's list
KVGeoDNTrajectory()
Default constructor.
static Int_t fGDNTrajNumber
void increment_identified_particle_counters(int identified, int unidentified) const
increment counters in all detectors on trajectory
static KVGeoDNTrajectory * Factory(const char *plugin, const KVGeoDNTrajectory *, const KVGeoDetectorNode *)
Instantiate & return object of class corresponding to plugin.
void ReverseOrder()
Reverse the order of the nodes in the trajectory.
void AddLast(KVGeoDetectorNode *n)
void AddToNodes()
Add reference to this trajectory to all nodes on it.
void IterateFrom(const KVGeoDetectorNode *node0=nullptr) const
void Clear(Option_t *="")
Clear list of nodes in trajectory.
KVUniqueNameList fIDTelescopes
list of id telescopes on this trajectory
Int_t fIter_idx_sav
index for iteration
Int_t fIter_idx
index for iteration
TObjArray fNodes
list of nodes on trajectory
virtual ~KVGeoDNTrajectory()
Destructor.
void Copy(TObject &obj) const
Bool_t fPathInTitle
true if path is in title, false if path is in name
KVGeoDNTrajectory & operator=(const KVGeoDNTrajectory &)
KVGeoDetectorNode * GetNextNode() const
Information on relative positions of detectors & particle trajectories.
void AddTrajectory(KVGeoDNTrajectory *)
KVDetector * GetDetector() const
virtual void Copy(TObject &obj) const
virtual void SetTitle(const char *title="")
virtual void SetName(const char *name)
void AddAt(TObject *obj, Int_t idx) override
void Clear(Option_t *option="") override
Int_t GetEntries() const override
Longptr_t ExecPlugin(int nargs)