}
//_________________________________________________________________
-void AliITSclusterTable::FillArrayLabel(const Int_t numberofparticles,TTree* clusterTree,Int_t evnumber){
+void AliITSclusterTable::FillArrayLabel(Int_t numberofparticles,TTree* clusterTree,Int_t evnumber){
//
AliITSclusterTable();
AliITSclusterTable(AliITSgeom* geom, AliITStrackerSA* tracker);
void FillArray(TTree* clusterTree,Int_t evnumber=0);
- void FillArrayLabel(const Int_t numberofparticles,TTree* clusterTree,
+ void FillArrayLabel(Int_t numberofparticles,TTree* clusterTree,
Int_t evnumber=0);
virtual ~AliITSclusterTable();
// detector type based on AliITSDetector value. This will return a pointer
// to one of the classes AliITSgeomSPD, AliITSgeomSDD, or AliITSgeomSSD,
// for example.
- virtual TObject *GetShape(const AliITSDetector idet)
+ virtual TObject *GetShape(AliITSDetector idet)
{return fShape->At((Int_t)idet);};
// This function returns a pointer to the class describing the
// detector for a particular module index. This will return a pointer
// Sets the rotation angles and matrix for a give module index
// via the 3 floating precision variables rx, ry, and rz [radians].
void SetByAngles(Int_t index,
- const Float_t rx,const Float_t ry,const Float_t rz) {
+ Float_t rx, Float_t ry, Float_t rz) {
Double_t a[3];a[0] = rx;a[1] = ry;a[2] = rz;
GetGeomMatrix(index)->SetAngles(a);}
// Sets the rotation angles and matrix for a give layer, ladder,
// and detector numbers via the 3 floating precision variables rx,
// ry, and rz [radians].
void SetByAngles(Int_t lay,Int_t lad,Int_t det,
- const Float_t rx,const Float_t ry,const Float_t rz) {
+ Float_t rx, Float_t ry, Float_t rz) {
SetByAngles(GetModuleIndex(lay,lad,det),rx,ry,rz);}
//
// Sets the rotation angles and matrix for a give module index
}// end for i
}
//----------------------------------------------------------------------
-AliITSgeomMatrix::AliITSgeomMatrix(const Int_t idt,const Int_t id[3],
+AliITSgeomMatrix::AliITSgeomMatrix(Int_t idt,const Int_t id[3],
const Double_t rot[3],const Double_t tran[3]){
////////////////////////////////////////////////////////////////////////
// This is a constructor for the AliITSgeomMatrix class. The matrix is
this->MatrixFromAngle();
}
//----------------------------------------------------------------------
-AliITSgeomMatrix::AliITSgeomMatrix(const Int_t idt, const Int_t id[3],
+AliITSgeomMatrix::AliITSgeomMatrix(Int_t idt, const Int_t id[3],
Double_t matrix[3][3],
const Double_t tran[3]){
////////////////////////////////////////////////////////////////////////
}
//----------------------------------------------------------------------
AliITSgeomMatrix::AliITSgeomMatrix(const Double_t rotd[6]/*degrees*/,
- const Int_t idt,const Int_t id[3],
+ Int_t idt,const Int_t id[3],
const Double_t tran[3]){
////////////////////////////////////////////////////////////////////////
// This is a constructor for the AliITSgeomMatrix class. The matrix is
public:
AliITSgeomMatrix(); // Default constructor
// Standard constructor #1
- AliITSgeomMatrix(const Int_t idt,const Int_t id[3],
+ AliITSgeomMatrix(Int_t idt,const Int_t id[3],
const Double_t rot[3],const Double_t tran[3]);
// Standard constructor #2
- AliITSgeomMatrix(const Int_t idt,const Int_t id[3],
+ AliITSgeomMatrix(Int_t idt,const Int_t id[3],
Double_t matrix[3][3],const Double_t tran[3]);
// Standard constructor #3
AliITSgeomMatrix(const Double_t rotd[6]/*degrees GEANT angles*/,
- const Int_t idt,const Int_t id[3],
+ Int_t idt,const Int_t id[3],
const Double_t tran[3]);
// Copy operator
AliITSgeomMatrix(const AliITSgeomMatrix &source);
void SetMatrix(Double_t matrix[3][3]){ for(Int_t i=0;i<3;i++)
for(Int_t j=0;j<3;j++) fm[i][j]=matrix[i][j];this->AngleFromMatrix();}
// Sets the detector index value
- void SetDetectorIndex(const Int_t idt) {fDetectorIndex = idt;}
+ void SetDetectorIndex(Int_t idt) {fDetectorIndex = idt;}
// Sets the detector layer, ladder, detector (id) values.
void SetIndex(const Int_t id[3]){
for(Int_t i=0;i<3;i++) fid[i] = id[i];}
/*******************************************************/
-Int_t AliITSpackageSSD::GetNSideClusterIdx(const Int_t index) const
+Int_t AliITSpackageSSD::GetNSideClusterIdx(Int_t index) const
{
// get N-side cluster
//
/*******************************************************/
-Int_t AliITSpackageSSD::GetPSideClusterIdx(const Int_t index) const
+Int_t AliITSpackageSSD::GetPSideClusterIdx(Int_t index) const
{
// get P-side cluster
//
}
/*******************************************************/
AliITSclusterSSD*
-AliITSpackageSSD::GetPSideCluster(const Int_t index)
+AliITSpackageSSD::GetPSideCluster(Int_t index)
{
// get Pside cluster from the TClonesArray of SSD clusters
//
/*******************************************************/
AliITSclusterSSD*
-AliITSpackageSSD::GetNSideCluster(const Int_t index)
+AliITSpackageSSD::GetNSideCluster(Int_t index)
{
// get Nside cluster from the TClonesArray of SSD clusters
//
}
/**********************************************/
-Bool_t AliITSpackageSSD::IsFree(const Int_t idx, const Int_t nn, const Int_t *lis) const
+Bool_t AliITSpackageSSD::IsFree(Int_t idx, Int_t nn, const Int_t *lis) const
{
//
for (Int_t i=0;i<nn;i++)
clindex:(*fClusterPIndexes)[fNclustersP++]=clindex;}
//Returns index of one side cluster in TClonesArray, NOT AliITSclusterSSD
- Int_t GetNSideClusterIdx(const Int_t index) const; //input index is number of cluster in this package
- Int_t GetPSideClusterIdx(const Int_t index) const; //returns index in TClonesArray
+ Int_t GetNSideClusterIdx(Int_t index) const; //input index is number of cluster in this package
+ Int_t GetPSideClusterIdx(Int_t index) const; //returns index in TClonesArray
Int_t GetClusterIdx(Int_t index,Bool_t side) const
{return (side)?GetPSideClusterIdx(index):GetNSideClusterIdx(index);}
- AliITSclusterSSD* GetNSideCluster(const Int_t index);
- AliITSclusterSSD* GetPSideCluster(const Int_t index); //index is
+ AliITSclusterSSD* GetNSideCluster(Int_t index);
+ AliITSclusterSSD* GetPSideCluster(Int_t index); //index is
AliITSclusterSSD* GetCluster(Int_t index, Bool_t side)
{return (side)?GetPSideCluster(index):GetNSideCluster(index);}
Int_t GetNumOfClustersN() const {return fNclustersN;}
Int_t GetNumOfClustersP() const {return fNclustersP;}
Int_t GetNumOfClusters() const {return fNclustersP+fNclustersN;}
- Int_t GetNumOfClusters(const Bool_t side) const {return (side)?fNclustersP:fNclustersN;}
+ Int_t GetNumOfClusters(Bool_t side) const {return (side)?fNclustersP:fNclustersN;}
//returns number of clusters belonging to package,
//that crosses with only one cluster on the other side
void MakeCombin(Int_t**arr, Int_t& nu, Int_t np, Int_t *occup,Int_t size);
- Bool_t IsFree(const Int_t idx, const Int_t nn, const Int_t *lis) const;
+ Bool_t IsFree(Int_t idx, Int_t nn, const Int_t *lis) const;