fORB(),
fORT()
{
+ // ctor
+
TString snam(g->GetName());
Int_t key=0;
- if(snam.Contains("FIRSTYEARv1",TString::kIgnoreCase)) key=1;
+ if (snam.Contains("v1",TString::kIgnoreCase)) key=1; //EMCAL_COMPLETEV1 vs EMCAL_COMPLETEv1 (or other)
+
if(GetParameters()) {
DefineFirstModule(key);
}
fORB(),
fORT()
{
+
+ // ctor
+
// printf("** Left Neighbor : %s **\n", leftNeighbor.GetName());
fTheta = leftNeighbor.GetTheta() - fgangle;
fORB(mod.fORB),
fORT(mod.fORT)
{
- //copy ctor
+ // copy ctor
+
for (Int_t i=0; i<3; i++) fOK3X3[i] = mod.fOK3X3[i];
}
}
void AliEMCALShishKebabTrd1Module::DefineAllStaff()
-{
+{
//Define some parameters
DefineName(fTheta);
// Centers of cells - 2X2 case
{
// Jul 30, 2007
static Double_t theta=0., x=0., y=0.;
- if(ieta==0) {
+ if(ieta==0) {
v = fOB2;
- theta = fThetaOB2;
+ theta = fTheta;
} else if(ieta==1) {
v = fOB1;
- theta = fThetaOB1;
+ theta = fTheta;
} else {
assert(0);
}
+
x = v.X() + TMath::Cos(theta) * dist;
y = v.Y() + TMath::Sin(theta) * dist;
// printf(" GetPositionAtCenterCellLine() %s : dist %f : ieta %i : x %f %f v.X() | y %f %f v.Y() : cos %f sin %f \n",