#include "AliEMCALEMCGeometry.h"
#include "AliEMCALGeoParams.h"
class AliEMCALShishKebabTrd1Module;
-#include "AliLog.h"
+class AliLog;
class AliEMCALGeometry : public TNamed {
virtual void Browse(TBrowser* b);
virtual Bool_t IsFolder() const;
- virtual Bool_t Impact(const TParticle *) const;
+ virtual Bool_t Impact(const TParticle *particle) const;
void ImpactOnEmcal(TVector3 vtx, Double_t theta, Double_t phi, Int_t & absId, TVector3 & vimpact) const;
Bool_t IsInEMCAL(Double_t x, Double_t y, Double_t z) const;
Int_t GetSuperModuleNumber(Int_t absId) const;
Int_t GetNumberOfModuleInPhiDirection(Int_t nSupMod) const
{
- if(fKey110DEG == 1 && nSupMod>=10) return fNPhi/2;
+ if(fKey110DEG == 1 && nSupMod>=10 && !fGeoName.Contains("12SMV1")) return fNPhi/2;
+ else if(fKey110DEG == 1 && nSupMod>=10 && fGeoName.Contains("12SMV1")) return fNPhi/3;
else return fNPhi;
}
// From cell indexes to abs cell id
}
//Method to set shift-rotational matrixes from ESDHeader
- void SetMisalMatrix(const TGeoHMatrix * m, Int_t smod) {
- fUseExternalMatrices = kTRUE;
- if (smod >= 0 && smod < fEMCGeometry->GetNumberOfSuperModules()){
- if(!fkSModuleMatrix[smod]) fkSModuleMatrix[smod] = new TGeoHMatrix(*m) ; //Set only if not set yet
- }
- else AliFatal(Form("Wrong supermodule index -> %d",smod));
- }
+ void SetMisalMatrix(const TGeoHMatrix * m, Int_t smod);
//Alternate geometry that allows to calculate tower position for different particles and different alignments
void RecalculateTowerPosition(Float_t drow, Float_t dcol, const Int_t sm, const Float_t depth,