, Int_t det, Double_t amp
, Int_t *tracks, Double_t *sig
, Int_t iType, Int_t col
+ , UShort_t volid
, Float_t center)
{
//
c->SetLocalTimeBin(timebin);
c->SetCenter(center);
c->SetPad(col);
+ c->SetVolumeId(volid);
if (tracks) {
c->AddTrackIndex(tracks);
virtual AliTRDcluster *AddCluster(Double_t *pos, Int_t timebin, Int_t det
, Double_t amp, Int_t *tracks
, Double_t *sig, Int_t iType
- , Int_t col, Float_t center = 0);
+ , Int_t col, UShort_t volid
+ , Float_t center = 0);
protected:
#include "AliLoader.h"
#include "AliRawReader.h"
#include "AliLog.h"
+#include "AliAlignObj.h"
#include "AliTRDclusterizerV1.h"
#include "AliTRDgeometry.h"
for (iplan = planBeg; iplan < planEnd; iplan++) {
for (isect = sectBeg; isect < sectEnd; isect++) {
- Int_t idet = geo->GetDetector(iplan,icham,isect);
+ Int_t idet = geo->GetDetector(iplan,icham,isect);
+ Int_t ilayer = AliGeomManager::kTRD1 + iplan;
+ Int_t imodule = icham + chamEnd * isect;
+ UShort_t volid = AliGeomManager::LayerToVolUID(ilayer,imodule);
// Get the digits
digitsIn = fDigitsManager->GetDigits(idet);
,clusterSig
,iType
,col
+ ,volid
,clusterPads[1]);
// Store the amplitudes of the pads in the cluster for later analysis