fFormulaY(0), // y formula - pointer to the function
fFormulaZ(0) // z formula - pointer to the function
{
+ //
+ // comment are above
+ //
if (trafo.fNameX) fNameX = new TString(*(trafo.fNameX));
if (trafo.fNameY) fNameY = new TString(*(trafo.fNameY));
if (trafo.fNameZ) fNameZ = new TString(*(trafo.fNameZ));
TBits * AliTPCTransformation::BitsSide(Bool_t aside){
+ //
+ // Set bits for given side
//
TBits * bits = new TBits(72);
for (Int_t i=0; i<72;i++){
TBits * AliTPCTransformation::BitsAll(){
//
- //
+ // Set all bits to kTRUE
//
TBits * bits = new TBits(72);
for (Int_t i=0; i<72;i++){
-Double_t AliTPCTransformation::TPCscalingRPol(Double_t *xyz, Double_t * param){
+Double_t AliTPCTransformation::TPCscalingRPol(Double_t *xyz, const Double_t * const param){
//
// Scaling and shift of TPC radius
// xyz[0..2] - global xyz of point
}
-Double_t AliTPCTransformation::TPCscalingZDrift(Double_t *xyz, Double_t * param){
+Double_t AliTPCTransformation::TPCscalingZDrift(Double_t *xyz, const Double_t * const param){
//
//
// Scaling and shift of TPC radius
return deltaZ*xyz[3];
}
-Double_t AliTPCTransformation::TPCscalingZDriftT0(Double_t *xyz, Double_t * /*param*/){
+Double_t AliTPCTransformation::TPCscalingZDriftT0(Double_t *xyz, const Double_t * const /*param*/){
//
//
// Z shift because time 0 offset
}
-Double_t AliTPCTransformation::TPCscalingZDriftGy(Double_t *xyz, Double_t * param){
+Double_t AliTPCTransformation::TPCscalingZDriftGy(Double_t *xyz, const Double_t * const param){
//
//
// Scaling and shift of TPC radius
-Double_t AliTPCTransformation::TPCscalingPhiLocal(Double_t *xyz, Double_t * param){
+Double_t AliTPCTransformation::TPCscalingPhiLocal(Double_t *xyz, const Double_t * const param){
//
//
// Scaling if the local y -phi
}
-Double_t AliTPCTransformation::TPCscalingRIFC(Double_t *xyz, Double_t * param){
+Double_t AliTPCTransformation::TPCscalingRIFC(Double_t *xyz, const Double_t * const param){
//
// inner field cage r distorion - proportinal to 1 over distance to the IFC
// param[0] - drift polynom order
return xyz[3]*value;
}
-Double_t AliTPCTransformation::TPCscalingROFC(Double_t *xyz, Double_t * param){
+Double_t AliTPCTransformation::TPCscalingROFC(Double_t *xyz, const Double_t * const param){
//
// outer field cage r distorion - proportinal to 1 over distance to the OFC
// param[0] - drift polynom order