Skip to content

Commit

Permalink
use St_tpcTimeBucketCor only for new schema
Browse files Browse the repository at this point in the history
  • Loading branch information
fisyak committed Sep 11, 2024
1 parent 709d840 commit 987442b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions StRoot/StTpcHitMoverMaker/StTpcHitMoverMaker.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,11 @@ Int_t StTpcHitMover::Make() {
return kStSkip;
}
static StGlobalCoordinate coorG;
static St_tpcTimeBucketCorC *tpcTimeBucketCor = St_tpcTimeBucketCorC::instance();
if (tpcTimeBucketCor && (tpcTimeBucketCor->nrows() == 0 || StTpcDb::IsOldScheme())) tpcTimeBucketCor = 0;
static St_tpcTimeBucketCorC *tpcTimeBucketCor = 0;
if (! StTpcDb::IsOldScheme()) {
tpcTimeBucketCor = St_tpcTimeBucketCorC::instance();
if (tpcTimeBucketCor && (tpcTimeBucketCor->nrows() == 0)) tpcTimeBucketCor = 0;
}
Bool_t EmbeddingShortCut = IAttr("EmbeddingShortCut");
StEvent* pEvent = dynamic_cast<StEvent*> (GetInputDS("StEvent"));
Double_t triggerOffset = 0;
Expand Down

0 comments on commit 987442b

Please sign in to comment.