// Standard constructor.
// Initialize also the underlying AliTRDpropagationLayer using the copy constructor.
+ SetT0(layer.IsT0());
for(int i=0; i<kMaxRows; i++) fPositions[i] = 0;
}
{
// Standard constructor using only AliTRDpropagationLayer.
+ SetT0(layer.IsT0());
for(int i=0; i<kMaxRows; i++) fPositions[i] = 0;
}
{
// Copy Constructor (performs a deep copy)
+ SetT0(layer.IsT0());
for(Int_t i = 0; i < kMaxRows; i++) fPositions[i] = layer.fPositions[i];
// BuildIndices();
}
layer.fStackNr = fStackNr;
layer.fDebugStream = fDebugStream;
layer.fRecoParam = fRecoParam;
+ layer.SetT0(IsT0());
AliTRDpropagationLayer::Copy(layer); // copies everything into layer
for(UChar_t i = 0; i < kMaxRows; i++) layer.fPositions[i] = 0;
//Preordering in Direction z saves a lot of loops (boundary checked)
for(UChar_t z = zlo; z <= zhi; z++){
- UInt_t upper = (z != fNRows-1) ? fPositions[z+1] : fN;
+ UInt_t upper = (z < fNRows-1) ? fPositions[z+1] : fN;
for(Int_t y = fPositions[z]; y < (Int_t)upper; y++){
if(ncl == BufferSize){
AliWarning("Buffer size riched. Some clusters may be lost.");
{
// Prints the position of each cluster in the stacklayer on the stdout
//
- printf("fDebugStream = %#o\n", ((Int_t) fDebugStream));
- printf("fRecoParam = %#o\n", ((Int_t) fRecoParam));
+ //printf("fDebugStream = %#o\n", ((Int_t) fDebugStream));
+ //printf("fRecoParam = %#o\n", ((Int_t) fRecoParam));
for(Int_t i = 0; i < fN; i++){
printf("AliTRDstackLayer: index=%i, Cluster: X = %3.3f, Y = %3.3f, Z = %3.3f\n", i, fClusters[i]->GetX(),fClusters[i]->GetY(),fClusters[i]->GetZ());