,fClusSigThresh(3.5)
,fTCnexp(1)
,fADCbaseline(0)
+ ,fNumberOfPresamples(0)
+ ,fNumberOfPostsamples(0)
{
//
// Default constructor
,fClusSigThresh(ref.fClusSigThresh)
,fTCnexp(ref.fTCnexp)
,fADCbaseline(ref.fADCbaseline)
+ ,fNumberOfPresamples(ref.fNumberOfPresamples)
+ ,fNumberOfPostsamples(ref.fNumberOfPostsamples)
{
//
// Copy constructor
Double_t GetClusMaxThresh() const { return fClusMaxThresh; };
Double_t GetClusSigThresh() const { return fClusSigThresh; };
Int_t GetTCnexp() const { return fTCnexp; };
+ Int_t GetNumberOfPresamples() const {return fNumberOfPresamples;}
+ Int_t GetNumberOfPostsamples() const {return fNumberOfPostsamples;}
static AliTRDrecoParam *GetLowFluxParam();
Bool_t IsVertexConstrained() const { return TestBit(kVertexConstrained); }
+ void SetFindableClusters(Double_t r) {fkFindable = r;}
void SetClusterSharing(Bool_t share = kTRUE) { SetBit(kClusterSharing, share); };
void SetPIDMethod(AliTRDpidMethod pid) { fkPIDMethod = pid; };
void SetSeeding(Bool_t so = kTRUE) { SetBit(kSeeding, so); }
void SetNexponential(Int_t nexp) { fTCnexp = nexp; };
void SetADCbaseline(Int_t base) { fADCbaseline = base; };
inline void SetSysCovMatrix(Double_t *sys);
+ void SetNumberOfPresamples(Int_t n) {fNumberOfPresamples = n;}
+ void SetNumberOfPostsamples(Int_t n) {fNumberOfPostsamples = n;}
private:
enum{
// ADC parameter
Int_t fADCbaseline; // ADC baseline to be subtracted
+ Int_t fNumberOfPresamples; // number of presamples
+ Int_t fNumberOfPostsamples; // number of postsamples
ClassDef(AliTRDrecoParam, 4) // Reconstruction parameters for TRD detector
* provided "as is" without express or implied warranty. *\r
**************************************************************************/\r
\r
-/* $Id: AliTRDtrackingDebug.cxx 23810 2008-02-08 09:00:27Z hristov $ */\r
+/* $Id: AliTRDtrackingChamber.cxx 23810 2008-02-08 09:00:27Z hristov $ */\r
\r
////////////////////////////////////////////////////////////////////////////\r
// //\r
const Int_t kMaxRows = 16;\r
const Int_t kMaxCols = 144;\r
const Int_t kMaxPads = 2304;\r
- \r
+ Int_t timeBinMin = AliTRDReconstructor::RecoParam()->GetNumberOfPresamples();\r
+ Int_t timeBinMax = AliTRDReconstructor::RecoParam()->GetNumberOfPostsamples();\r
+\r
// Get the geometrical data of the chamber\r
Int_t layer = geo->GetLayer(fDetector);\r
Int_t stack = geo->GetStack(fDetector);\r
histogram[irs] = &hvals[irs*kMaxCols];\r
sigmas[irs] = &svals[irs*kMaxCols];\r
}\r
- for(Int_t iTime = 0; iTime < kNTimeBins; iTime++){\r
- if(!(nClusters = fTB[iTime].GetNClusters())) continue;\r
+ for(Int_t iTime = timeBinMin; iTime < kNTimeBins-timeBinMax; iTime++){\r
+ if(!(nClusters = fTB[iTime].GetNClusters())) continue;\r
z0 = fTB[iTime].GetZ0();\r
zl = fTB[iTime].GetDZ0();\r
for(Int_t incl = 0; incl < nClusters; incl++){\r