Skip to content

Commit 2ff6b81

Browse files
fisyakplexoosstarsdong
committed
Change TPX gain loading interface from fTpx->put(... to fTpx->gain_al… (#417)
…go(..., Clean ups, add prototypes for (i)TPC23 Co-authored-by: Dmitri Smirnov <dmixsmi@gmail.com> Co-authored-by: Xin Dong <XDong@lbl.gov>
1 parent 7eb1189 commit 2ff6b81

4 files changed

Lines changed: 871 additions & 209 deletions

File tree

StRoot/StTpcHitMaker/StTpcHitMaker.cxx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -442,17 +442,6 @@ Int_t StTpcHitMaker::Make() {
442442
LOG_WARN << "TPC status indicates it is unusable for this event. Ignoring hits." << endm;
443443
return kStOK;
444444
}
445-
#ifdef __GENE__ /* I have no idea what the codes after */
446-
if ( kMode == kTpx || kMode == kTpc || kMode == kiTPC ) {
447-
pEvent = dynamic_cast<StEvent *> (GetInputDS("StEvent"));
448-
if (Debug()) {LOG_INFO << "StTpcHitMaker::Make : StEvent has been retrieved " <<pEvent<< endm;}
449-
if (! pEvent) {LOG_INFO << "StTpcHitMaker::Make : StEvent has not been found " << endm; return kStWarn;}
450-
pHitCollection = pEvent->tpcHitCollection();
451-
} else {
452-
pEvent = 0;
453-
pHitCollection = 0;
454-
}
455-
#endif
456445

457446
static Int_t minSector = IAttr("minSector");
458447
static Int_t maxSector = IAttr("maxSector");

0 commit comments

Comments
 (0)