4 #ifndef __KVDETECTORNODE_H
5 #define __KVDETECTORNODE_H
8 #include "KVUniqueNameList.h"
164 void ls(
Option_t* option =
"")
const override;
#define ClassDefOverride(name, id)
Base class for KaliVeda framework.
Path taken by particles through multidetector geometry.
Information on relative positions of detectors & particle trajectories.
Bool_t IsInFrontOf(KVDetector *)
return true if this node is directly in front of the detector
KVGeoDetectorNode(const Char_t *name)
void CalculateForwardsTrajectories()
Fill list with all trajectories going forwards from this node.
void BuildTrajectoriesForwards(TSeqCollection *)
void AddTrajectory(KVGeoDNTrajectory *)
void AddInFront(KVDetector *)
const KVSeqCollection * GetBackwardTrajectories() const
const Char_t * GetFullPathToNode() const
KVGeoDNTrajectory * FindTrajectory(const char *title) const
const KVSeqCollection * GetTrajectories() const
KVDetector * fDetector
associated detector
KVUniqueNameList fTrajF
list of trajectories passing through this node going forwards
const KVSeqCollection * GetDetectorsBehind() const
KVDetector * GetDetector() const
const KVSeqCollection * GetForwardTrajectories() const
Int_t GetNTrajBackwards() const
const Char_t * GetName() const override
Name of node is same as name of associated detector.
Int_t GetNDetsBehind() const
void ls(Option_t *option="") const override
KVUniqueNameList fInFront
list of detectors in front
KVUniqueNameList fTraj
list of trajectories passing through this node
Int_t GetNDetsInFront() const
KVUniqueNameList fTrajB
list of trajectories passing through this node going backwards
Int_t GetNTrajForwards() const
void SetDetector(KVDetector *)
void AddBehind(KVDetector *)
Bool_t IsBehind(KVDetector *)
return true if this node is directly behind the detector
void CalculateBackwardsTrajectories()
Fill list with all trajectories going backwards from this node.
KVUniqueNameList fBehind
list of detectors behind
const KVSeqCollection * GetDetectorsInFront() const
KaliVeda extensions to ROOT collection classes.
virtual void SetCleanup(Bool_t enable=kTRUE)
Optimised list in which named objects can only be placed once.
virtual Int_t GetEntries() const
const char * GetTitle() const override