er  dev
ERTelescopeGeoComponentSingleSi.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 ERTelescopeGeoComponentSingleSi_H
10 #define ERTelescopeGeoComponentSingleSi_H
11 
12 #include "ERTelescopeGeoComponentSensetive.h"
13 
14 #include "TString.h"
15 #include "TVector3.h"
16 
18 public:
20  ERTelescopeGeoComponentSingleSi(const TString& typeFromXML, const TString& id,
21  const TString& orientAroundZ);
22  ERTelescopeGeoComponentSingleSi(const TString& typeFromXML, const TString& id,
23  const TVector3& position, const TVector3& rotation,
24  const TString& orientAroundZ);
25  virtual TString GetBranchName(ERDataObjectType object,
26  OrientationAroundZ orientationAroundZ = OrientationAroundZ::Default,
27  ChannelSide side = ChannelSide::None) const;
28  virtual std::list<OrientationAroundZ> GetOrientationsAroundZ() const;
29  virtual std::list<ChannelSide> GetChannelSides() const;
30  virtual Int_t GetChannelFromSensetiveNodePath(
31  const TString& path, OrientationAroundZ orientation = OrientationAroundZ::Default) const;
32 protected:
33  OrientationAroundZ fOrientAroundZ = OrientationAroundZ::Default;
34  Double_t fDeadLayerThicknessFrontSide = 0.;
35  Double_t fDeadLayerThicknessBackSide = 0.;
36  Int_t fStripCount = 0;
38 };
39 #endif