er  dev
ERQTelescopeGeoNonUniformSingleSi.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 ERQTelescopeGeoNonUniformSingleSi_H
10 #define ERQTelescopeGeoNonUniformSingleSi_H
11 
12 #include "ERQTelescopeGeoComponentSingleSi.h"
13 
14 #include "TString.h"
15 #include "TVector3.h"
16 #include "TH2D.h"
43 public:
50  ERQTelescopeGeoNonUniformSingleSi(const TString& xmlTypeSingleSi, const TString& id,
51  const TVector3& position, const TVector3& rotation,
52  const TString& orientAroundZ, const TString& thicknessMapFileName);
53  virtual void ConstructGeometryVolume(void);
54  virtual Int_t GetChannelFromSensetiveNodePath(
55  const TString& path, OrientationAroundZ orientation = OrientationAroundZ::Default) const;
56 private:
57  TH2D* fThicknessMap = nullptr; // root file with full thickness of the pseudo-pixel including thickness of the dead layer in thick detector
58  Int_t fXPseudoStripCount = 0;
59  Int_t fYPseudoStripCount = 0;
61 };
62 #endif
Class for the non-uniform single silicon station entity.