Skip to content

Commit 0574f19

Browse files
committed
Introduce ChipSimResponse with response-centre extraction logic
Add more info in CreateDic macro
1 parent 990b8c7 commit 0574f19

File tree

14 files changed

+1410
-56
lines changed

14 files changed

+1410
-56
lines changed

Detectors/ITSMFT/common/simulation/include/ITSMFTSimulation/AlpideSimResponse.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class AlpideRespSimMat
3838
static int constexpr getNPix() { return NPix; }
3939

4040
AlpideRespSimMat() = default;
41-
~AlpideRespSimMat() = default;
41+
virtual ~AlpideRespSimMat() = default;
4242

4343
void adopt(const AlpideRespSimMat& src, bool flipRow = false, bool flipCol = false)
4444
{
@@ -91,6 +91,7 @@ class AlpideSimResponse
9191
int getDepthBin(float pos) const;
9292
std::string composeDataName(int colBin, int rowBin);
9393

94+
protected:
9495
int mNBinCol = 0; /// number of bins in X(col direction)
9596
int mNBinRow = 0; /// number of bins in Y(row direction)
9697
int mNBinDpt = 0; /// number of bins in Z(sensor dept)

Detectors/Upgrades/ITS3/macros/test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ its3_add_macro(CheckROFs.C)
2626
its3_add_macro(CheckTileNumbering.C)
2727
its3_add_macro(CreateITS3StaticDeadMap.C)
2828
its3_add_macro(TestSensorGeometry.C)
29+
its3_add_macro(CorrTracksClusters.C)

Detectors/Upgrades/ITS3/macros/test/CheckDigitsITS3.C

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ void CheckDigitsITS3(std::string digifile = "it3digits.root", std::string hitfil
7979

8080
int nevD = digTree->GetEntries(); // digits in cont. readout may be grouped as few events per entry
8181

82-
int lastReadHitEv = -1;
8382

8483
int nDigitReadIB{0}, nDigitReadOB{0};
8584
int nDigitFilledIB{0}, nDigitFilledOB{0};

0 commit comments

Comments
 (0)