er  dev
ERTelescopeGeoComponentPassive.h
1 /********************************************************************************
2  * Copyright (C) Joint Institute for Nuclear Research *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence version 3 (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 
9 #ifndef ERTelescopeGeoComponentPassive_H
10 #define ERTelescopeGeoComponentPassive_H
11 
12 #include "TString.h"
13 #include "TVector3.h"
14 #include "TFile.h"
15 
16 #include "ERGeoComponent.h"
17 
19  public:
21  ERTelescopeGeoComponentPassive(const TString& fileName, const TString& topVolumeName,
22  const TVector3& position, const TVector3& rotation);
23  virtual void ConstructGeometryVolume();
24  virtual std::list<TString> GetBranchNames(ERDataObjectType object) const {return {};}
25  protected:
26  virtual void ParseXmlParameters() {}
27  TFile* fGeoFile = nullptr;
28  TString fFileName;
29  TString fTopVolumeName;
30 
32 };
33 #endif