63 if (!
b->InheritsFrom(
"KVTelescope"))
return;
76 TIter next(GetTelescopes());
93 return (
KVTelescope*)GetStructure(
"TELESCOPE", name);
104 if (GetThetaMin() < ((
KVRing*) obj)->GetThetaMin())
106 else if (GetThetaMin() > ((
KVRing*) obj)->GetThetaMin())
124 TIter nxttel(GetTelescopes());
148 TIter next(GetTelescopes());
167 SetDistance(trans_2);
174 mother_vol->
AddNode(det_vol, 1, ph);
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
R__EXTERN TGeoManager * gGeoManager
Base class for KaliVeda framework.
virtual void Add(KVBase *)
Bool_t IsInPhiRange(const Double_t phi)
virtual Double_t GetSolidAngle(void) const
virtual Double_t GetTheta() const
virtual Double_t GetPhi() const
virtual Double_t GetDistance(void) const
Ring in INDRA array (obsolete)
virtual TGeoVolume * GetGeoVolume()
Create and return TGeoVolume representing detectors in this ring.
KVTelescope * GetTelescope(Float_t phi) const
give pointer to telescope in ring which covers azimuthal angle phi
void Add(KVBase *)
Only KVTelescope-derived structures can be placed in a KVRing.
virtual void AddToGeometry()
Construct and position a TGeoVolume shape to represent this ring in the current geometry.
Double_t GetSolidAngle(void) const
Int_t Compare(const TObject *obj) const
rings are sorted according to lower edge polar angle
Associates two detectors placed one behind the other.
virtual TGeoVolume * GetGeoVolume()
Create and return TGeoVolume representing detectors in this telescope.
Double_t GetTotalLengthInCM() const
TGeoVolumeAssembly * MakeVolumeAssembly(const char *name)
TGeoVolume * GetTopVolume() const
void SetAngles(Double_t phi, Double_t theta, Double_t psi)
virtual void AddNode(TGeoVolume *vol, Int_t copy_no, TGeoMatrix *mat=0, Option_t *option="")
const char * Data() const
TString & ReplaceAll(const char *s1, const char *s2)
double dist(AxisAngle const &r1, AxisAngle const &r2)
constexpr Double_t DegToRad()