-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code update for Run18 embedding (#481)
Patches needed for Run18 embedding are assembled in this PR. These patches are: * RDO map is updated and iTPC RDO is added for sector 20 in Run18. * TpcRS parameters for the second half of Run18 27 GeV dataset is added. * Offline cluster finder (RTS and StTpcRTSHitMaker) is updated with the correct gain interface. * A newer StTpcRSMaker is included to correct the 1st pad row. Co-authored-by: Dmitri Smirnov <dmixsmi@gmail.com>
- Loading branch information
Showing
12 changed files
with
1,075 additions
and
352 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#ifndef St_itpcRDOMapC_h | ||
#define St_itpcRDOMapC_h | ||
|
||
#include "TChair.h" | ||
#include "tables/St_tpcRDOMap_Table.h" | ||
|
||
class St_itpcRDOMapC : public TChair { | ||
public: | ||
static St_itpcRDOMapC* instance(); | ||
tpcRDOMap_st *Struct(Int_t i = 0) const {return ((St_tpcRDOMap*) Table())->GetTable()+i;} | ||
UInt_t getNumRows() const {return GetNRows();} | ||
UChar_t nrows(Int_t i = 0) const {return Struct(i)->nrows;} | ||
UChar_t index(Int_t i = 0) const {return Struct(i)->idx;} | ||
UChar_t row(Int_t i = 0) const {return Struct(i)->row;} | ||
UChar_t padMin(Int_t i = 0) const {return Struct(i)->padMin;} | ||
UChar_t padMax(Int_t i = 0) const {return Struct(i)->padMax;} | ||
UChar_t rdoI(Int_t i = 0) const {return Struct(i)->rdo;} | ||
Int_t rdo(Int_t padrow, Int_t pad = 1) const; | ||
protected: | ||
St_itpcRDOMapC(St_tpcRDOMap *table=0) : TChair(table) {} | ||
virtual ~St_itpcRDOMapC() {fgInstance = 0;} | ||
private: | ||
static St_itpcRDOMapC* fgInstance; | ||
ClassDefineChair(St_itpcRDOMapC, St_tpcRDOMap, tpcRDOMap_st ) | ||
ClassDef(St_itpcRDOMapC,1) //C++ TChair for itpcRDOMap table class | ||
}; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.