//gAlice->GetMCApp()->AddHitList(fHits);
}
-//_____________________________________________________________________________
-AliCRT::AliCRT(const AliCRT& crt)
- : AliDetector(crt),
- fModule(crt.fModule)
-{
- //
- // Copy constructor
- //
- crt.Copy(*this);
-}
-
//_____________________________________________________________________________
AliCRT::~AliCRT()
{
if ( fModule ) { delete fModule; fModule = 0; }
}
-//_____________________________________________________________________________
-AliCRT& AliCRT::operator=(const AliCRT& crt)
-{
- //
- // Asingment operator.
- //
- crt.Copy(*this);
- return *this;
-}
-
//_____________________________________________________________________________
void AliCRT::CreateMaterials()
{
public:
AliCRT();
AliCRT(const char* name, const char* title);
- AliCRT(const AliCRT& crt);
virtual ~AliCRT();
- AliCRT& operator=(const AliCRT& crt);
virtual void CreateMaterials();
virtual Int_t IsVersion() const { return -1; }
protected:
AliCRTModule* fModule;
private:
+ AliCRT(const AliCRT& crt);
+ AliCRT& operator=(const AliCRT& crt);
+
ClassDef(AliCRT, 1) // Cosmic Ray Trigger (ACORDE) base class
};
#endif // ALICRT_H
<img src="picts/AliCRTv0.gif">
*/
//End_Html
- SetMarkerColor(kRed);
- SetMarkerStyle(kRed);
- SetMarkerSize(0.4);
-}
-
-//_____________________________________________________________________________
-AliCRTv0::AliCRTv0(const AliCRTv0& crt)
- : AliCRT(crt)
-{
- //
- // Copy constructor
- //
- crt.Copy(*this);
+ //PH SetMarkerColor(kRed);
+ //PH SetMarkerStyle(kRed);
+ //PH SetMarkerSize(0.4);
}
//_____________________________________________________________________________
//
}
-//_____________________________________________________________________________
-AliCRTv0& AliCRTv0::operator=(const AliCRTv0& crt)
-{
- //
- // Asingment operator.
- //
- crt.Copy(*this);
- return *this;
-}
-
//_____________________________________________________________________________
void AliCRTv0::BuildGeometry()
{
public:
AliCRTv0();
AliCRTv0(const char *name, const char *title);
- AliCRTv0(const AliCRTv0& crt);
virtual ~AliCRTv0();
- AliCRTv0& operator=(const AliCRTv0& crt);
-
virtual void CreateGeometry();
virtual void BuildGeometry();
virtual void DrawDetector() const;
virtual void CreateShafts() {}
private:
+ AliCRTv0(const AliCRTv0& crt);
+ AliCRTv0& operator=(const AliCRTv0& crt);
+
ClassDef(AliCRTv0,1) // Cosmic Ray Trigger (ACORDE).
};
#endif // ALICRTV0_H
fHits = new TClonesArray("AliCRThit",400);
gAlice->GetMCApp()->AddHitList(fHits);
- SetMarkerColor(7);
- SetMarkerStyle(2);
- SetMarkerSize(0.4);
-}
-
-//_____________________________________________________________________________
-AliCRTv1::AliCRTv1(const AliCRTv1& crt)
- : AliCRT(crt)
-{
- //
- // Copy ctor.
- //
- crt.Copy(*this);
+ //PH SetMarkerColor(7);
+ //PH SetMarkerStyle(2);
+ //PH SetMarkerSize(0.4);
}
//_____________________________________________________________________________
//
}
-//_____________________________________________________________________________
-AliCRTv1& AliCRTv1::operator=(const AliCRTv1& crt)
-{
- //
- // Asingment operator
- //
- crt.Copy(*this);
- return *this;
-}
-
//_____________________________________________________________________________
void AliCRTv1::CreateMaterials()
{
public:
AliCRTv1();
AliCRTv1(const char *name, const char *title);
- AliCRTv1(const AliCRTv1& crt);
virtual ~AliCRTv1();
- AliCRTv1& operator=(const AliCRTv1& crt);
-
virtual TString Version() { return TString("v1"); }
virtual Int_t IsVersion() const { return 1; }
virtual void CreateShafts();
private:
+ AliCRTv1(const AliCRTv1& crt);
+ AliCRTv1& operator=(const AliCRTv1& crt);
+
ClassDef(AliCRTv1, 1) //Class for CRT, version 1, Shafts outside of AliHALL
};
}
-//____________________________________________________________________________
-AliEMCAL::AliEMCAL(const AliEMCAL& emcal)
- : AliDetector(emcal),
- fBirkC0(emcal.fBirkC0),
- fBirkC1(emcal.fBirkC1),
- fBirkC2(emcal.fBirkC2),
- fHighCharge(emcal.fHighCharge),
- fHighGain(emcal.fHighGain),
- fHighLowGainFactor(emcal.fHighLowGainFactor),
- fLowGainOffset(emcal.fLowGainOffset)
-{
- //copy ctor
- // Init();
-
-}
-
//____________________________________________________________________________
AliEMCAL::~AliEMCAL()
{
fLowGainOffset = 1 ; // offset added to the module id to distinguish high and low gain data
}
-//____________________________________________________________________________
-void AliEMCAL::Copy(AliEMCAL & emcal) const
-{
- //copy
-
- TObject::Copy(emcal) ;
- emcal.fHighCharge = fHighCharge ;
- emcal.fHighGain = fHighGain ;
- emcal.fHighLowGainFactor = fHighLowGainFactor ;
- emcal.fLowGainOffset = fLowGainOffset;
-}
-
//____________________________________________________________________________
AliDigitizer* AliEMCAL::CreateDigitizer(AliRunDigitizer* manager) const
{
AliEMCAL();
AliEMCAL(const char* name, const char* title="");
- AliEMCAL(const AliEMCAL& emcal);
virtual ~AliEMCAL() ;
virtual void AddHit(Int_t, Int_t*, Float_t *) {
Fatal("AddHit(Int_t, Int_t*, Float_t *", "not to be used: use AddHit( Int_t shunt, Int_t primary, Int_t track,Int_t id, Float_t *hits )") ;
}
- virtual void Copy(TObject & emcal) const
- { Copy(dynamic_cast<AliEMCAL&>(emcal)); }
- virtual void Copy(AliEMCAL & emcal) const;
virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const;
virtual void CreateMaterials() ;
// virtual void
//
virtual AliLoader* MakeLoader(const char* topfoldername);
virtual const TString Version() const {return TString(" ") ; }
- AliEMCAL & operator = (const AliEMCAL & /*rvalue*/) {
- Fatal("operator =", "not implemented") ; return *this ; }
protected:
static Int_t fgThreshold; // threshold
static Int_t fgChannelsPerDDL; // number of channels per DDL
+ private:
+ AliEMCAL(const AliEMCAL& emcal);
+ AliEMCAL & operator = (const AliEMCAL & /*rvalue*/);
+
ClassDef(AliEMCAL,9) // Electromagnetic calorimeter (base class)
} ;
//_________________________________________________________________________________
// --- ROOT system ---
-#include "TROOT.h"
-#include "TTree.h"
-#include "TSystem.h"
-#include "TBenchmark.h"
-#include "TList.h"
-#include "TH1.h"
-#include "TBrowser.h"
-#include "TObjectTable.h"
+#include <TROOT.h>
+#include <TTree.h>
+#include <TSystem.h>
+#include <TBenchmark.h>
+#include <TList.h>
+#include <TH1.h>
+#include <TBrowser.h>
+#include <TObjectTable.h>
+#include <TRandom.h>
// --- AliRoot header files ---
#include "AliLog.h"
//
// Standard constructor of the Wsu Cosmic Ray SetUp external volume
//
- SetMarkerColor(7);
- SetMarkerStyle(2);
- SetMarkerSize(0.4);
+ //PH SetMarkerColor(7);
+ //PH SetMarkerStyle(2);
+ //PH SetMarkerSize(0.4);
}
//_____________________________________________________________________________
fShishKebabModules = geom->GetShishKebabTrd1Modules();
}
-//______________________________________________________________________
-AliEMCALv0::AliEMCALv0(const AliEMCALv0 & emcal)
- : AliEMCAL(emcal),
- fShishKebabModules(emcal.fShishKebabModules),
- fEnvelop1(emcal.fEnvelop1),
- fIdRotm(emcal.fIdRotm),
- fIdTmedArr(emcal.fIdTmedArr),
- fSampleWidth(emcal.fSampleWidth),
- fSmodPar0(emcal.fSmodPar0),
- fSmodPar1(emcal.fSmodPar1),
- fSmodPar2(emcal.fSmodPar2)
-{
- //copy ctor
- for(Int_t i = 0; i < 5; i++) fParEMOD[i] = emcal.fParEMOD[i];
-
-}
//______________________________________________________________________
void AliEMCALv0::BuildGeometry()
{
AliEMCALv0(const char *name, const char *title="") ;
virtual ~AliEMCALv0(){}
- AliEMCALv0(const AliEMCALv0 & emcal);
-
- AliEMCALv0 & operator = (const AliEMCALv0 & /*rvalue*/) {
- // assignement operator requested by coding convention but not needed
- Fatal("operator =", "not implemented");
- return *this;
- }
-
using AliEMCAL::AddHit;
virtual void AddAlignableVolumes() const;
Double_t fSmodPar2; //! z size of super module
Double_t fParEMOD[5]; //! parameters of EMCAL module (TRD1,2)
+ AliEMCALv0(const AliEMCALv0 & emcal);
+ AliEMCALv0 & operator = (const AliEMCALv0 & /*rvalue*/);
+
ClassDef(AliEMCALv0,3) // Implementation of EMCAL manager class for midrapidity barrel layout between 80 and 180(190) degrees
};
fIshunt = 2; // All hits are associated with particles entering the calorimeter
}
-//______________________________________________________________________
-AliEMCALv1::AliEMCALv1(const AliEMCALv1 & emcal)
- : AliEMCALv0(emcal),
- fCurPrimary(emcal.fCurPrimary),
- fCurParent(emcal.fCurParent),
- fCurTrack(emcal.fCurTrack),
- fTimeCut(emcal.fTimeCut)
-{
- //copy ctor
-}
-
//______________________________________________________________________
AliEMCALv1::~AliEMCALv1(){
// dtor
AliEMCALv1(const char *name, const char *title="") ;
virtual ~AliEMCALv1(void) ;
- AliEMCALv1(const AliEMCALv1 & emcal);
-
- AliEMCALv1 & operator = (const AliEMCALv1 & /*rvalue*/) {
- // assignement operator requested by coding convention but not needed
- Fatal("operator =", "not implemented");
- return *this;
- }
-
using AliEMCALv0::AddHit;
virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy,
Int_t id, Float_t *hits, Float_t *p);
Int_t fCurTrack; // Current track
Float_t fTimeCut; // Cut to remove the background from the ALICE system
+ private:
+ AliEMCALv1(const AliEMCALv1 & emcal);
+ AliEMCALv1 & operator = (const AliEMCALv1 & /*rvalue*/);
+
ClassDef(AliEMCALv1,9) // Implementation of EMCAL manager class to produce hits in a Central Calorimeter
};
}
}
-//______________________________________________________________________
-AliEMCALv2::AliEMCALv2(const AliEMCALv2 & emcal)
- : AliEMCALv1(emcal),
- fGeometry(emcal.fGeometry),
- fHDe(emcal.fHDe),
- fHNhits(emcal.fHNhits)
-{
- //copy ctor
-
-}
-
//______________________________________________________________________
AliEMCALv2::~AliEMCALv2(){
// dtor
AliEMCALv2(const char *name, const char *title="") ;
virtual ~AliEMCALv2(void) ;
- AliEMCALv2(const AliEMCALv2 & emcal);
-
- AliEMCALv2 & operator = (const AliEMCALv2 & /*rvalue*/) {
- // assignement operator requested by coding convention but not needed
- Fatal("operator =", "not implemented");
- return *this;
- }
-
using AliEMCALv1::AddHit;
virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy,
Int_t id, Float_t *hits, Float_t *p);
TH1F* fHDe; //!
TH1F* fHNhits; //!
+ private:
+ AliEMCALv2(const AliEMCALv2 & emcal);
+ AliEMCALv2 & operator = (const AliEMCALv2 & /*rvalue*/);
+
ClassDef(AliEMCALv2,1) //Implementation of EMCAL manager class to produce hits in a Shish-Kebab
};
fBad = new TClonesArray("AliFMDHit");
}
-//____________________________________________________________________
-AliFMD::AliFMD(const AliFMD& other)
- : AliDetector(other),
- fSDigits(other.fSDigits),
- fNsdigits(other.fNsdigits),
- fDetailed(other.fDetailed),
- fUseOld(other.fUseOld),
- fUseAssembly(other.fUseAssembly),
- fBad(other.fBad)
-{
- // Copy constructor
-}
-
//____________________________________________________________________
AliFMD::AliFMD(const char *name, const char *title)
: AliDetector (name, title),
// CHC: What is this?
fIshunt = 0;
- SetMarkerColor(kRed);
- SetLineColor(kYellow);
+ //PH SetMarkerColor(kRed);
+ //PH SetLineColor(kYellow);
}
//____________________________________________________________________
}
}
-//____________________________________________________________________
-AliFMD&
-AliFMD::operator=(const AliFMD& other)
-{
- // Assignment operator
- AliDetector::operator=(other);
- fSDigits = other.fSDigits;
- fNsdigits = other.fNsdigits;
- fDetailed = other.fDetailed;
- fBad = other.fBad;
- return *this;
-}
//====================================================================
//
}
shape->DefineSection(0, -siThick / 2, 1, 0, 0);
shape->DefineSection(1, +siThick / 2, 1, 0, 0);
- shape->SetLineColor(GetLineColor());
+ shape->SetLineColor(kYellow); //PH kYellow is the default line color in FMD
TObjArray* rots = new TObjArray(nmod);
for (Int_t j = 0; j < nmod; j++) {
TNode* mnod = new TNode(name.Data(), title.Data(), rshape,
0, 0, rz - siThick / 2
+ TMath::Sign(offz,z), rot);
- mnod->SetLineColor(GetLineColor());
+ mnod->SetLineColor(kYellow); //PH kYellow is the default line color in FMD
fNodes->Add(mnod);
} // for (Int_t k = 0 ; ...)
} // for (Int_t j = 0 ; ...)
// than 1 keV - a MIP is 100 eV.
if (edep > absQ * absQ && poverm > 1) bad = kTRUE;
- AliFMDPoints* p1 = new AliFMDPoints(hit, GetMarkerColor());
+ AliFMDPoints* p1 = new AliFMDPoints(hit, kRed); //PH kRed is the default marker color in FMD
// AliPoints* p1 = new AliPoints();
// p1->SetMarkerColor(GetMarkerColor());
// p1->SetMarkerSize(GetMarkerSize());
@param name Name of object.
@param title Title of object. */
AliFMD(const char *name, const char *title);
- /** Copy constructor
- @param other Object to copy from */
- AliFMD(const AliFMD& other);
/** Destructor */
virtual ~AliFMD();
- /** Assignment operator
- @param other Object to assign from
- @return Reference to this object */
- AliFMD& operator=(const AliFMD& other);
/** Wheter to make a detailed geometry
@param use If true, make detailed geometry */
void UseDetailed(Bool_t use=kTRUE) { fDetailed = use; }
};
TObjArray* fBad; //! debugging - bad hits
-
+
+private:
+ /** Copy constructor
+ @param other Object to copy from */
+ AliFMD(const AliFMD& other);
+ /** Assignment operator
+ @param other Object to assign from
+ @return Reference to this object */
+ AliFMD& operator=(const AliFMD& other);
+
ClassDef(AliFMD,11) // Base class FMD entry point
};
//
#include <TTree.h> // ROOT_TTree
-//#include <TRandom.h> // ROOT_TRandom
+#include <TRandom.h> // ROOT_TRandom
#include <AliLog.h> // ALILOG_H
#include "AliFMDDigitizer.h" // ALIFMDDIGITIZER_H
#include "AliFMD.h" // ALIFMD_H
// is also called.
// SetDetectors(); // default to fOpt="All". This variable not written out.
- SetMarkerColor(kRed);
+//PH SetMarkerColor(kRed);
}
//______________________________________________________________________
AliITS::AliITS(const char *name, const char *title):AliDetector(name,title),
fDetTypeSim = new AliITSDetTypeSim();
- SetMarkerColor(kRed);
+ //PH SetMarkerColor(kRed);
if(!fLoader) MakeLoader(AliConfig::GetDefaultEventFolderName());
fDetTypeSim->SetLoader((AliITSLoader*)fLoader);
}
}
//______________________________________________________________________
-AliITS::AliITS(const AliITS &source) : AliDetector(source),
-fDetTypeSim(0),
-fEuclidOut(0),
-fOpt("All"),
-fIdN(0),
-fIdSens(0),
-fIdName(0),
-fITSmodules(0)
-{
- // Copy constructor. This is a function which is not allowed to be
- // done to the ITS. It exits with an error.
- // Inputs:
- // AliITS &source An AliITS class.
- // Outputs:
- // none.
- // Return:
- // none.
-
- if(this==&source) return;
- Error("Copy constructor",
- "You are not allowed to make a copy of the AliITS");
- exit(1);
-}
-//______________________________________________________________________
-AliITS& AliITS::operator=(const AliITS &source){
- // Assignment operator. This is a function which is not allowed to be
- // done to the ITS. It exits with an error.
- // Inputs:
- // AliITS &source An AliITS class.
- // Outputs:
- // none.
- // Return:
- // none.
-
- if(this==&source) return *this;
- Error("operator=","You are not allowed to make a copy of the AliITS");
- exit(1);
- return *this; //fake return
-}
-//______________________________________________________________________
AliDigitizer* AliITS::CreateDigitizer(AliRunDigitizer* manager)const{
// Creates the AliITSDigitizer in a standard way for use via AliModule.
// This function can not be included in the .h file because of problems
AliITS(); // Default creator.
AliITS(const char *name, const char *title); // standard Creator
virtual ~AliITS(); // destructor
- AliITS(const AliITS &source); // copy constructor. Not to be used!
- AliITS& operator=(const AliITS &source); // = operator. Not to be used!
virtual Int_t IsVersion() const {return 1;}
virtual Int_t DistancetoPrimitive(Int_t , Int_t ) {return 999;}
Int_t *fIdSens; //[fIdN] layer identifier
TString *fIdName; //[fIdN] layer identifier
TObjArray *fITSmodules; //! Pointer to ITS modules
+
+ private:
+ AliITS(const AliITS &source); // copy constructor. Not to be used!
+ AliITS& operator=(const AliITS &source); // = operator. Not to be used!
ClassDef(AliITS,6) // Base class for ITS
};
#include <TF1.h>
#include <TH1.h>
#include <TFile.h>
+#include <TRandom.h>
#include "AliITS.h"
#include "AliITSMapA2.h"
#include <stdlib.h>
#include <Riostream.h>
#include <TObjArray.h>
+#include <TRandom.h>
+
#include "AliITSmodule.h"
#include "AliITSMapA2.h"
#include "AliITSpList.h"
}
-//______________________________________________________________________
-AliITSv11::AliITSv11(const AliITSv11 &source) :
- AliITS(source),
- fGeomDetOut(kFALSE), // Don't write .det file
- fGeomDetIn(kTRUE), // Read .det file
- fByThick(kTRUE),
- fMajorVersion(0),
- fMinorVersion(0),
- fSDDgeom(0)
-{
- // Copy Constructor for ITS version 11. This function is not to be
- // used. If any other instance of this function, other than "this" is
- // passed, an error message is returned.
- // Inputs:
- // const AliITSv11 &source This class
-
- if(&source == this) return;
- Warning("Copy Constructor","Not allowed to copy AliITSv11");
- return;
-}
-
-
-//______________________________________________________________________
-AliITSv11& AliITSv11::operator=(const AliITSv11
- &source){
- // Assignment operator for the ITS version 11. This function is not
- // to be used. If any other instance of this function, other than "this"
- // is passed, an error message is returned.
- // Inputs:
- // const AliITSv11 &source This class
-
- if(&source == this) return *this;
- Warning("= operator","Not allowed to copy AliITSv11");
- return *this;
-}
-
-
//______________________________________________________________________
AliITSv11::~AliITSv11() {
delete fSDDgeom;
AliITSv11(const char *name, const char *title);
AliITSv11(Int_t debugITS, Int_t debugSPD = 0, Int_t debugSDD = 0,
Int_t debugSSD = 0, Int_t debugSUP = 0);
- AliITSv11(const AliITSv11 &source); // copy constructor
- AliITSv11& operator=(const AliITSv11 &source); // assignment operator
virtual ~AliITSv11() ;
virtual void BuildGeometry();
virtual void CreateGeometry();
private:
+ AliITSv11(const AliITSv11 &source); // copy constructor
+ AliITSv11& operator=(const AliITSv11 &source); // assignment operator
void InitAliITSgeom();
Bool_t fGeomDetOut; // Flag to write .det file out
for(Int_t a=0;a<60;a++) fWrite[a] = '\0';
}
-//______________________________________________________________________
-AliITSvBeamTestITS04::AliITSvBeamTestITS04(const AliITSvBeamTestITS04 &source) : AliITS(source),
-fITSmotherVolume(source.fITSmotherVolume),
-fNspd(source.fNspd),
-fNsdd(source.fNsdd),
-fNssd(source.fNssd),
-fGeomDetOut(source.fGeomDetOut),
-fGeomDetIn(source.fGeomDetIn){
- //Copy constructor
-
-}
-//______________________________________________________________________
-AliITSvBeamTestITS04& AliITSvBeamTestITS04::operator=(const AliITSvBeamTestITS04 &source){
-
-
- // This class is not to be copied. Function only dummy.
- if(&source == this) return *this;
- Warning("= operator","Not allowed to copy AliITSvSDD03");
- return *this;
-}
-
//__________________________________________________________________
AliITSvBeamTestITS04::~AliITSvBeamTestITS04()
{
AliITSvBeamTestITS04();
AliITSvBeamTestITS04(const char* name,const char *title);
- AliITSvBeamTestITS04(const AliITSvBeamTestITS04 &source); // Copy constructor
- AliITSvBeamTestITS04& operator=(const AliITSvBeamTestITS04 &source); // = operator
virtual ~AliITSvBeamTestITS04();
virtual void SetNumberOfSPD(Int_t nSPD) {fNspd=nSPD;}
char fWrite[60]; //! file name to write .det file
char fRead[60]; // file name to read .det file (JC)
+ private:
+ AliITSvBeamTestITS04(const AliITSvBeamTestITS04 &source); // Copy constructor
+ AliITSvBeamTestITS04& operator=(const AliITSvBeamTestITS04 &source); // = operator
+
ClassDef(AliITSvBeamTestITS04,2)
};
strncpy(fRead,"$ALICE_ROOT/ITS/ITSgeometry_vPPRasymmFMD.det",60);
}
//______________________________________________________________________
-AliITSvPPRasymmFMD::AliITSvPPRasymmFMD(const AliITSvPPRasymmFMD &source) :
- AliITS(source),
- fGeomDetOut(kFALSE),
- fGeomDetIn(kFALSE),
- fByThick(kTRUE),
- fMajorVersion(IsVersion()),
- fMinorVersion(2),
- fDet1(0),
- fDet2(0),
- fChip1(0),
- fChip2(0),
- fRails(0),
- fFluid(0),
- fIDMother(0) {
- // Copy Constructor for ITS version 10. This function is not to be
- // used. If any other instance of this function, other than "this" is
- // passed, an error message is returned.
- // Inputs:
- // const AliITSvPPRasymmFMD &source This class
- // Outputs:
- // none.
- // Return:
- // an error message
-
- if(&source == this) return;
- Warning("Copy Constructor","Not allowed to copy AliITSvPPRasymmFMD");
- return;
-}
-//______________________________________________________________________
-AliITSvPPRasymmFMD& AliITSvPPRasymmFMD::operator=(const AliITSvPPRasymmFMD
- &source){
- // Assignment operator for the ITS version 10. This function is not
- // to be used. If any other instance of this function, other than "this"
- // is passed, an error message is returned.
- // Inputs:
- // const AliITSvPPRasymmFMD &source This class
- // Outputs:
- // none.
- // Return:
- // an error message
-
- if(&source == this) return *this;
- Warning("= operator","Not allowed to copy AliITSvPPRasymmFMD");
- return *this;
-}
-//______________________________________________________________________
AliITSvPPRasymmFMD::~AliITSvPPRasymmFMD() {
// Standard destructor for the ITS version 10.
// Inputs:
public:
AliITSvPPRasymmFMD();
AliITSvPPRasymmFMD(const char *name, const char *title);
- AliITSvPPRasymmFMD(const AliITSvPPRasymmFMD &source); // copy constructor
- AliITSvPPRasymmFMD& operator=(const AliITSvPPRasymmFMD &source); // assignment operator
virtual ~AliITSvPPRasymmFMD() ;
virtual void BuildGeometry();
virtual void CreateGeometry();
return fFluid;}
private:
+ AliITSvPPRasymmFMD(const AliITSvPPRasymmFMD &source); // copy constructor
+ AliITSvPPRasymmFMD& operator=(const AliITSvPPRasymmFMD &source); // assignment operator
void InitAliITSgeom();
// TString fEuclidGeomtery,fEuclidMaterial defined in AliModule.
fIdSens = new Int_t[fIdN];
for (Int_t i=0;i<fIdN;i++) fIdSens[i]=0;
}
-//____________________________________________________________________________
-AliITSvPPRcoarseasymm::AliITSvPPRcoarseasymm(const AliITSvPPRcoarseasymm &s) :
- AliITS(s),
-fMajorVersion(s.fMajorVersion),
-fMinorVersion(s.fMinorVersion),
-fRails(s.fRails),
-fSuppMat(s.fSuppMat){
-////////////////////////////////////////////////////////////////////////
-// Copy Constructor for ITS version 6.
-////////////////////////////////////////////////////////////////////////
-}
-//_____________________________________________________________________________
-AliITSvPPRcoarseasymm& AliITSvPPRcoarseasymm::operator=(const AliITSvPPRcoarseasymm &source){
-////////////////////////////////////////////////////////////////////////
-// Assignment operator for the ITS version 6.
-////////////////////////////////////////////////////////////////////////
- if(&source == this) return *this;
- Warning("= operator","Not allowed to copy AliITSvPPRcoarseasymm");
- return *this;
-}
//_____________________________________________________________________________
AliITSvPPRcoarseasymm::~AliITSvPPRcoarseasymm() {
////////////////////////////////////////////////////////////////////////
public:
AliITSvPPRcoarseasymm();
AliITSvPPRcoarseasymm(const char *name, const char *title);
- AliITSvPPRcoarseasymm(const AliITSvPPRcoarseasymm &source); // copy constructor
- AliITSvPPRcoarseasymm& operator=(const AliITSvPPRcoarseasymm &source); // assignment operator
virtual ~AliITSvPPRcoarseasymm() ;
virtual void BuildGeometry();
virtual void CreateGeometry();
private:
+ AliITSvPPRcoarseasymm(const AliITSvPPRcoarseasymm &source); // copy constructor
+ AliITSvPPRcoarseasymm& operator=(const AliITSvPPRcoarseasymm &source); // assignment operator
+
Int_t fMajorVersion; // Major version number == IsVersion
Int_t fMinorVersion; // Minor version number
Int_t fRails; // flag to switch rails on (=1) and off (=0)
strncpy(fWrite,fEuclidGeomDet,60);
}
//______________________________________________________________________
-AliITSvSDD03::AliITSvSDD03(const AliITSvSDD03 &source) : AliITS(source){
- ////////////////////////////////////////////////////////////////////////
- // Copy Constructor for ITS SDD test beam 2002 version 1.
- // This class is not to be copied. Function only dummy.
- // Inputs:
- // const AliITSvSDD03 &source The class to be copied
- // Outputs:
- // none.
- // Return:
- // A warning message.
- ////////////////////////////////////////////////////////////////////////
- if(&source == this) return;
- Warning("Copy Constructor","Not allowed to copy AliITSvSDD03");
- return;
-}
-//______________________________________________________________________
-AliITSvSDD03& AliITSvSDD03::operator=(const AliITSvSDD03 &source){
- ////////////////////////////////////////////////////////////////////////
- // Assignment operator for the ITS SDD test beam 2002 version 1.
- // This class is not to be copied. Function only dummy.
- // Inputs:
- // const AliITSvSDD03 &source The class to be copied
- // Outputs:
- // none.
- // Return:
- // A Warning message
- ////////////////////////////////////////////////////////////////////////
- if(&source == this) return *this;
- Warning("= operator","Not allowed to copy AliITSvSDD03");
- return *this;
-}
-//______________________________________________________________________
AliITSvSDD03::~AliITSvSDD03() {
////////////////////////////////////////////////////////////////////////
// Standard destructor for the ITS SDD test beam 2002 version 1.
public:
AliITSvSDD03(); // default constructor
AliITSvSDD03(const char *title,Int_t year); // standard constructor
- AliITSvSDD03(const AliITSvSDD03 &source); // Copy constructor
- AliITSvSDD03& operator=(const AliITSvSDD03 &source); // = operator
virtual ~AliITSvSDD03(); // destructor
virtual void BuildGeometry();
virtual void CreateGeometry();
Int_t &lad,Int_t &det) const;
//
private:
+ AliITSvSDD03(const AliITSvSDD03 &source); // Copy constructor
+ AliITSvSDD03& operator=(const AliITSvSDD03 &source); // = operator
void InitAliITSgeom();
Bool_t fGeomDetOut; // Flag to write .det file out
Bool_t fGeomDetIn; // Flag to read .det file or directly from Geat.
strncpy(fWrite,fEuclidGeomDet,60);
}
//______________________________________________________________________
-AliITSvSPD02::AliITSvSPD02(const AliITSvSPD02 &source) : AliITS(source){
- ////////////////////////////////////////////////////////////////////////
- // Copy Constructor for ITS SPD test beam 2002 version 1.
- // This class is not to be copied. Function only dummy.
- // Inputs:
- // const AliITSvSPD02 &source The class to be copied
- // Outputs:
- // none.
- // Return:
- // A warning message.
- ////////////////////////////////////////////////////////////////////////
- if(&source == this) return;
- Warning("Copy Constructor","Not allowed to copy AliITSvSPD02");
- return;
-}
-//______________________________________________________________________
-AliITSvSPD02& AliITSvSPD02::operator=(const AliITSvSPD02 &source){
- ////////////////////////////////////////////////////////////////////////
- // Assignment operator for the ITS SPD test beam 2002 version 1.
- // This class is not to be copied. Function only dummy.
- // Inputs:
- // const AliITSvSPD02 &source The class to be copied
- // Outputs:
- // none.
- // Return:
- // A Warning message
- ////////////////////////////////////////////////////////////////////////
- if(&source == this) return *this;
- Warning("= operator","Not allowed to copy AliITSvSPD02");
- return *this;
-}
-//______________________________________________________________________
AliITSvSPD02::~AliITSvSPD02() {
////////////////////////////////////////////////////////////////////////
// Standard destructor for the ITS SPD test beam 2002 version 1.
public:
AliITSvSPD02(); // default constructor
AliITSvSPD02(const char *title,Int_t geomnum=2002); // standard constructor
- AliITSvSPD02(const AliITSvSPD02 &source); // Copy constructor
- AliITSvSPD02& operator=(const AliITSvSPD02 &source); // = operator
virtual ~AliITSvSPD02(); // destructor
virtual void BuildGeometry();
virtual void CreateGeometry();
void CreateMaterials2002();
private:
+ AliITSvSPD02(const AliITSvSPD02 &source); // Copy constructor
+ AliITSvSPD02& operator=(const AliITSvSPD02 &source); // = operator
void InitAliITSgeom();
Bool_t fGeomDetOut; // Flag to write .det file out
Bool_t fGeomDetIn; // Flag to read .det file or directly from Geat.
strncpy(fWrite,fEuclidGeomDet,60);
}
//______________________________________________________________________
-AliITSvSSD03::AliITSvSSD03(const AliITSvSSD03 &source) : AliITS(source){
- ////////////////////////////////////////////////////////////////////////
- // Copy Constructor for ITS SSD test beam 2003 version 1.
- // This class is not to be copied. Function only dummy.
- // Inputs:
- // const AliITSvSSD03 &source The class to be copied
- // Outputs:
- // none.
- // Return:
- // A warning message.
- ////////////////////////////////////////////////////////////////////////
- if(&source == this) return;
- Warning("Copy Constructor","Not allowed to copy AliITSvSSD03");
- return;
-}
-//______________________________________________________________________
-AliITSvSSD03& AliITSvSSD03::operator=(const AliITSvSSD03 &source){
- ////////////////////////////////////////////////////////////////////////
- // Assignment operator for the ITS SSD test beam 2003 version 1.
- // This class is not to be copied. Function only dummy.
- // Inputs:
- // const AliITSvSSD03 &source The class to be copied
- // Outputs:
- // none.
- // Return:
- // A Warning message
- ////////////////////////////////////////////////////////////////////////
- if(&source == this) return *this;
- Warning("= operator","Not allowed to copy AliITSvSSD03");
- return *this;
-}
-//______________________________________________________________________
AliITSvSSD03::~AliITSvSSD03() {
////////////////////////////////////////////////////////////////////////
// Standard destructor for the ITS SSD test beam 2003 version 1.
public:
AliITSvSSD03(); // default constructor
AliITSvSSD03(const char *title,Int_t geomnum=2003); // standard constructor
- AliITSvSSD03(const AliITSvSSD03 &source); // Copy constructor
- AliITSvSSD03& operator=(const AliITSvSSD03 &source); // = operator
virtual ~AliITSvSSD03(); // destructor
virtual void BuildGeometry();
virtual void CreateGeometry();
void CreateMaterials2003();
private:
+ AliITSvSSD03(const AliITSvSSD03 &source); // Copy constructor
+ AliITSvSSD03& operator=(const AliITSvSSD03 &source); // = operator
void InitAliITSgeom();
Bool_t fGeomDetOut; // Flag to write .det file out
Bool_t fGeomDetIn; // Flag to read .det file or directly from Geat.
for(i=0;i<60;i++) fWrite[i] = '\0';
for(i=0;i<60;i++) fEuclidGeomDet[i] = '\0';
}
-//____________________________________________________________________________
-AliITSvtest::AliITSvtest(const AliITSvtest &source) : AliITS(source){
-////////////////////////////////////////////////////////////////////////
-// Copy Constructor for ITS test version.
-////////////////////////////////////////////////////////////////////////
- if(&source == this) return;
- Warning("Copy Constructor","Not allowed to copy AliITSvtest");
- return;
-}
-//_____________________________________________________________________________
-AliITSvtest& AliITSvtest::operator=(const AliITSvtest &source){
-////////////////////////////////////////////////////////////////////////
-// Assignment operator for the ITS version 1.
-////////////////////////////////////////////////////////////////////////
- if(&source == this) return *this;
- Warning("= operator","Not allowed to copy AliITSvtest");
- return *this;
-}
//_____________________________________________________________________________
AliITSvtest::~AliITSvtest() {
// Standard destructor for the ITS
AliITSvtest();
AliITSvtest(const char *fileeuc,const char *filetme,
const char *name, const char *title);
- AliITSvtest(const AliITSvtest &source); // copy constructor
- AliITSvtest& operator=(const AliITSvtest &source); // assignment operator
virtual ~AliITSvtest() ;
virtual void CreateGeometry();
virtual void CreateMaterials();
return fMinorVersion;}
private:
+ AliITSvtest(const AliITSvtest &source); // copy constructor
+ AliITSvtest& operator=(const AliITSvtest &source); // assignment operator
void InitAliITSgeom();
// TString fEuclidGeomtery,fEuclidMaterial defined in AliModule.
AliDebug(1,Form("ctor this=%p",this));
fIshunt = 0;
- SetMarkerColor(kRed);//
+ //PH SetMarkerColor(kRed);//
// Geometry builder
fGeometryBuilder = new AliMUONGeometryBuilder(this);
#include <TH2.h>
#include <TMinuit.h>
#include <TMatrixD.h>
+#include <TRandom.h>
#include "AliMUONClusterFinderAZ.h"
#include "AliMUONClusterDrawAZ.h"
/* History of cvs commits:
*
* $Log$
+ * Revision 1.102 2006/10/27 17:14:27 kharlov
+ * Introduce AliDebug and AliLog (B.Polichtchouk)
+ *
* Revision 1.101 2006/10/13 06:47:29 kharlov
* Simulation of RAW data applies real mapping (B.Polichtchouk)
*
{
}
-//____________________________________________________________________________
-void AliPHOS::Copy(TObject &obj)const
-{
- // copy method to be used by the cpy ctor
- TObject::Copy(obj);
-}
-
//____________________________________________________________________________
AliDigitizer* AliPHOS::CreateDigitizer(AliRunDigitizer* manager) const
{
/* History of cvs commits:
*
* $Log$
+ * Revision 1.68 2006/08/11 12:36:25 cvetan
+ * Update of the PHOS code needed in order to read and reconstruct the beam test raw data (i.e. without an existing galice.root)
+ *
* Revision 1.67 2006/04/07 08:42:00 hristov
* Follow AliAlignObj framework and remove AliPHOSAlignData (Yu.Kharlov)
*
AliPHOS() ;
AliPHOS(const char* name, const char* title="") ;
- AliPHOS(AliPHOS & phos) : AliDetector(phos) {
- //Copy(*this) ;
- phos.Copy(*this);
- }
virtual ~AliPHOS() ;
virtual void AddHit(Int_t, Int_t*, Float_t *) {
// do not use this definition but the one below
}
virtual void AddHit( Int_t shunt, Int_t primary, Int_t track,
Int_t id, Float_t *hits ) = 0 ;
- virtual void Copy(TObject &phos)const;
virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const;
virtual void CreateMaterials() ;
virtual void Digits2Raw();
virtual AliLoader* MakeLoader(const char* topfoldername);
virtual void SetTreeAddress();
virtual const TString Version() const {return TString(" ") ; }
- AliPHOS & operator = (const AliPHOS & /*rvalue*/) {
- Fatal("operator =", "not implemented") ; return *this ; }
protected:
static Double_t fgTimeMax ; // maximum sampled time of the raw RO signal
static Double_t fgTimePeak ; // peaking time of the raw RO signal
static Double_t fgTimeTrigger ; // time of the trigger for the RO signal
-
+
+ private:
+ AliPHOS(AliPHOS & phos);
+ AliPHOS & operator = (const AliPHOS & /*rvalue*/);
+
ClassDef(AliPHOS,6) // Photon Spectrometer Detector (base class)
} ;
/* History of cvs commits:
*
* $Log$
+ * Revision 1.82 2006/09/27 19:55:57 kharlov
+ * Alignment object with symbolic volume names are introduced
+ *
* Revision 1.81 2006/03/04 20:25:56 kharlov
* Set geom parameters from CDB
*
GetGeometry() ;
}
-//____________________________________________________________________________
-void AliPHOSv0::Copy(TObject & phos) const
-{
- TObject::Copy(phos) ;
- AliPHOS::Copy(phos) ;
-}
-
//____________________________________________________________________________
void AliPHOSv0::BuildGeometry()
{
/* History of cvs commits:
*
* $Log$
+ * Revision 1.44 2006/09/27 19:55:57 kharlov
+ * Alignment object with symbolic volume names are introduced
+ *
* Revision 1.43 2005/05/28 14:19:05 schutz
* Compilation warnings fixed by T.P.
*
AliPHOSv0() {}
AliPHOSv0(const char *name, const char *title="") ;
- AliPHOSv0(AliPHOSv0 & phos) : AliPHOS(phos) {
- phos.Copy(*this) ;
- }
virtual ~AliPHOSv0(void){
// dtor
}
- virtual void Copy(TObject &phos) const;
// virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) {
//this function is not a final-overrider for AliPHOS::AddHit, to
return TString("v0") ;
}
- AliPHOSv0 & operator = (const AliPHOSv0 & /*rvalue*/) {
- // assignement operator requested by coding convention but not needed
- Fatal("operator =", "not implemented") ;
- return *this ;
- }
-
- protected:
+ private:
+ AliPHOSv0(AliPHOSv0 & phos);
+ AliPHOSv0 & operator = (const AliPHOSv0 & /*rvalue*/);
ClassDef(AliPHOSv0,1) // Implementation of PHOS manager class for layout EMC+PPSD
/* History of cvs commits:
*
* $Log$
+ * Revision 1.105 2006/09/13 07:31:01 kharlov
+ * Effective C++ corrections (T.Pocheptsov)
+ *
* Revision 1.104 2005/05/28 14:19:05 schutz
* Compilation warnings fixed by T.P.
*
fAPDFactor = (fRecalibrationFactor/100.) * fAPDGain ;
}
-AliPHOSv1::AliPHOSv1(AliPHOSv1 & phos) :
- AliPHOSv0(phos),
- fLightYieldMean(0.),
- fIntrinsicPINEfficiency(0.),
- fLightYieldAttenuation(0.),
- fRecalibrationFactor(0.),
- fElectronsPerGeV(0.),
- fAPDGain(0.),
- fLightFactor(0.),
- fAPDFactor(0.)
-{
- //Copy ctor. Can be wrong.
- phos.Copy(*this) ;
-}
-
-
//____________________________________________________________________________
AliPHOSv1::~AliPHOSv1()
{
}
}
-//____________________________________________________________________________
-void AliPHOSv1::Copy(TObject & base)const
-{
- TObject::Copy(base) ;
- AliPHOSv0::Copy(base) ;
- AliPHOSv1 &phos = static_cast<AliPHOSv1 &>(base);
- phos.fLightYieldMean = fLightYieldMean ;
- phos.fIntrinsicPINEfficiency = fIntrinsicPINEfficiency ;
- phos.fLightYieldAttenuation = fLightYieldAttenuation ;
- phos.fRecalibrationFactor = fRecalibrationFactor ;
- phos.fElectronsPerGeV = fElectronsPerGeV ;
- phos.fAPDGain = fAPDGain ;
- phos.fLightFactor = fLightFactor ;
- phos.fAPDFactor = fAPDFactor ;
-}
-
//____________________________________________________________________________
void AliPHOSv1::AddHit(Int_t shunt, Int_t primary, Int_t Id, Float_t * hits)
{
/* History of cvs commits:
*
* $Log$
+ * Revision 1.40 2006/09/13 07:31:01 kharlov
+ * Effective C++ corrections (T.Pocheptsov)
+ *
* Revision 1.39 2005/05/28 14:19:05 schutz
* Compilation warnings fixed by T.P.
*
AliPHOSv1(void) ;
AliPHOSv1(const char *name, const char *title="") ;
- AliPHOSv1(AliPHOSv1 & phos);
virtual ~AliPHOSv1(void) ;
- virtual void Copy(TObject &phos) const;
-
using AliPHOSv0::AddHit;
virtual void AddHit( Int_t shunt, Int_t primary, Int_t id, Float_t *hits) ;
virtual void FinishEvent() ;
virtual void StepManager(void) ;
virtual const TString Version(void)const { return TString("v1") ; }
- AliPHOSv1 & operator = (const AliPHOSv1 & /*rvalue*/) {
- // assignement operator requested by coding convention but not needed
- Fatal("operator =", "not implemented") ;
- return *this ;
- }
-
void CPVDigitize (TLorentzVector p, Float_t *xy, TClonesArray *digits) ;
Float_t CPVPadResponseFunction(Float_t qhit, Float_t zg, Float_t xg) ;
Double_t CPVCumulPadResponse(Double_t x, Double_t y) ;
Float_t fLightFactor ; //! a calculated factor
Float_t fAPDFactor ; //! a calculated factor
+ private:
+ AliPHOSv1(AliPHOSv1 & phos);
+ AliPHOSv1 & operator = (const AliPHOSv1 & /*rvalue*/);
+
ClassDef(AliPHOSv1,2) // Implementation of PHOS manager class for layout EMC+PPSD
};
/* History of cvs commits:
*
* $Log$
+ * Revision 1.24 2005/05/28 14:19:05 schutz
+ * Compilation warnings fixed by T.P.
+ *
*/
//_________________________________________________________________________
// dtor
}
-//____________________________________________________________________________
-void AliPHOSv2::Copy(TObject & phos)const
-{
- TObject::Copy(phos) ;
- AliPHOSv1::Copy(phos) ;
-}
-
//____________________________________________________________________________
void AliPHOSv2::AddHit(Int_t shunt, Int_t primary, Int_t Id, Float_t * hits)
{
/* History of cvs commits:
*
* $Log$
+ * Revision 1.19 2005/07/01 20:01:36 kharlov
+ * Warning fix on AddHit in gcc 3.4.2
+ *
* Revision 1.18 2005/05/28 14:19:05 schutz
* Compilation warnings fixed by T.P.
*
AliPHOSv2(void) ;
AliPHOSv2(const char *name, const char *title="") ;
- AliPHOSv2(AliPHOSv2 & phos) : AliPHOSv1(phos){
- phos.Copy(*this) ;
- }
virtual ~AliPHOSv2(void) ;
- virtual void Copy(TObject &phos) const;
using AliPHOSv1::AddHit;
virtual void AddHit( Int_t shunt, Int_t primary, Int_t id, Float_t *hits);
virtual Int_t IsVersion(void) const {
return TString("v2") ;
}
-protected:
+private:
+
+ AliPHOSv2(AliPHOSv2 & phos);
ClassDef(AliPHOSv2,1) // Class AliPHOSv0 which allows to write ond disk al the information of the hits.
/* History of cvs commits:
*
* $Log$
+ * Revision 1.30 2006/09/13 07:31:01 kharlov
+ * Effective C++ corrections (T.Pocheptsov)
+ *
* Revision 1.29 2005/05/28 14:19:05 schutz
* Compilation warnings fixed by T.P.
*
SetBigBox(2, GetGeometry()->GetOuterBoxSize(2) );
}
-//____________________________________________________________________________
-AliPHOSvFast::AliPHOSvFast(AliPHOSvFast & fast) :
- AliPHOS(fast),
- fBigBoxX(0.),
- fBigBoxY(0.),
- fBigBoxZ(0.),
- fFastRecParticles(0),
- fNRecParticles(0),
- fRan(0),
- fResPara1(0.),
- fResPara2(0.),
- fResPara3(0.),
- fPosParaA0(0.),
- fPosParaA1(0.),
- fPosParaB0(0.),
- fPosParaB1(0.),
- fPosParaB2(0.)
-{
- //Copy ctor.
- fast.Copy(*this) ;
-}
-
-
//____________________________________________________________________________
AliPHOSvFast::~AliPHOSvFast()
{
}
-//____________________________________________________________________________
-void AliPHOSvFast::Copy(TObject & base)const
-{
- TObject::Copy(base) ;
- AliPHOS::Copy(base) ;
- AliPHOSvFast &fast = static_cast<AliPHOSvFast &>(base);
- fast.fBigBoxX = fBigBoxX ;
- fast.fBigBoxY = fBigBoxY ;
- fast.fBigBoxZ = fBigBoxZ ;
- fast.fNRecParticles = fNRecParticles ;
- fast.fRan = fRan ;
- fast.fResPara1 = fResPara1 ;
- fast.fResPara2 = fResPara2 ;
- fast.fResPara3 = fResPara3 ;
- fast.fPosParaA0 = fPosParaA0 ;
- fast.fPosParaA1 = fPosParaA1 ;
- fast.fPosParaB0 = fPosParaB0 ;
- fast.fPosParaB1 = fPosParaB1 ;
- fast.fFastRecParticles = new TClonesArray(fFastRecParticles->GetClass()->GetName(), 100) ;
- Int_t index ;
- for (index = 0 ; index < fFastRecParticles->GetEntries(); index++)
- (fast.fFastRecParticles)->AddAt(fFastRecParticles->At(index), index) ;
-}
-
//____________________________________________________________________________
void AliPHOSvFast::AddRecParticle(const AliPHOSFastRecParticle & rp)
{
/* History of cvs commits:
*
* $Log$
+ * Revision 1.26 2006/09/13 07:31:01 kharlov
+ * Effective C++ corrections (T.Pocheptsov)
+ *
* Revision 1.25 2005/05/28 14:19:05 schutz
* Compilation warnings fixed by T.P.
*
AliPHOSvFast() ;
AliPHOSvFast(const char *name, const char *title="") ;
- AliPHOSvFast(AliPHOSvFast & fast);
virtual ~AliPHOSvFast(void) ;
- virtual void Copy(TObject &fast) const;
void AddRecParticle(const AliPHOSFastRecParticle & rp) ; // adds primary particle to the RecParticles list
virtual void BuildGeometry(void) ; // creates the geometry for the ROOT display
virtual void CreateGeometry(void) ; // creates the geometry for GEANT
return TString("vFast") ;
}
- AliPHOSvFast & operator = (const AliPHOSvFast & ) {
- Fatal("operator =", "not implemented") ; return *this ;
- }
-
private:
+ AliPHOSvFast(AliPHOSvFast & fast);
+ AliPHOSvFast & operator = (const AliPHOSvFast & );
Float_t fBigBoxX ; // main box containing all PHOS (EMC+PPSD)
Float_t fBigBoxY ; // main box containing all PHOS (EMC+PPSD)
/* History of cvs commits:
*
* $Log$
+ * Revision 1.23 2006/09/13 07:31:01 kharlov
+ * Effective C++ corrections (T.Pocheptsov)
+ *
* Revision 1.22 2005/06/17 07:39:07 hristov
* Removing GetDebug and SetDebug from AliRun and AliModule. Using AliLog for the messages
*
}
-//____________________________________________________________________________
-AliPHOSvImpacts::AliPHOSvImpacts(AliPHOSvImpacts & phos):
- AliPHOSv1(phos),
- fEMCImpacts(0),
- fCPVImpacts(0),
- fPPSDImpacts(0)
-{
- phos.Copy(*this);
-}
-
//____________________________________________________________________________
AliPHOSvImpacts::~AliPHOSvImpacts()
{
}
}
-//____________________________________________________________________________
-void AliPHOSvImpacts::Copy(TObject & phos) const
-{
- TObject::Copy(phos) ;
- AliPHOS::Copy(phos) ;
-}
-
-
//____________________________________________________________________________
void AliPHOSvImpacts::AddImpact(const char* det, Int_t shunt, Int_t primary, Int_t track, Int_t module,
Int_t pid, TLorentzVector p, Float_t *xyz)
/* History of cvs commits:
*
* $Log$
+ * Revision 1.9 2006/09/13 07:31:01 kharlov
+ * Effective C++ corrections (T.Pocheptsov)
+ *
* Revision 1.8 2005/05/28 14:19:05 schutz
* Compilation warnings fixed by T.P.
*
AliPHOSvImpacts(void) ;
AliPHOSvImpacts(const char *name, const char *title="") ;
- AliPHOSvImpacts(AliPHOSvImpacts & phos);
virtual ~AliPHOSvImpacts(void) ;
- virtual void Copy(TObject & phos) const;
virtual void AddImpact(const char* detector, Int_t shunt, Int_t primary, Int_t track,
Int_t module, Int_t pid, TLorentzVector p, Float_t *xyz) ;
virtual void MakeBranch(Option_t *opt=" ");
return TString("vImpacts") ;
}
- AliPHOSvImpacts & operator = (const AliPHOSvImpacts & /*rvalue*/) {
- // assignement operator requested by coding convention but not needed
- Fatal("operator =", "not implemented") ;
- return *this ;
- }
-
protected:
TList * fEMCImpacts; // Array of impacts in EMC modules
Int_t fNCPVImpacts[5]; // Number of CPV impacts per module
Int_t fNPPSDImpacts[5]; // Number of PPSD impacts per module
+ private:
+ AliPHOSvImpacts(AliPHOSvImpacts & phos);
+ AliPHOSvImpacts & operator = (const AliPHOSvImpacts & /*rvalue*/);
ClassDef(AliPHOSvImpacts,1) // Implementation of PHOS manager class for layout EMC+PPSD
#include <TFile.h>
#include <TNtuple.h>
#include <TParticle.h>
+#include <TRandom.h>
#include "AliLog.h"
#include "AliRun.h"
//ctor & dtor
AliRICH(const char *nm,const char *ttl); //named ctor
AliRICH( ):AliDetector( ),fSdi(0),fDig(0),fClu(0) {} //default ctor
- AliRICH(const AliRICH &rich ):AliDetector(rich),fSdi(0),fDig(0),fClu(0) {} //copy ctor not implemented
virtual ~AliRICH();
- AliRICH& operator=(const AliRICH&) {return *this;} //not implemented
//framework part
void BuildGeometry ( ) {} //from AliModule invoked from AliMC::InitGeometry() to build geometry for old event display
virtual void CreateMaterials ( )=0; //from AliModule invoked from AliMC::ConstructGeometry() to define detector materials
TObjArray *fDig; //! each chamber holds it's one list of digits
TObjArray *fClu; //! each chamber holds it's one list of clusters
+ private:
+ AliRICH(const AliRICH &rich );
+ AliRICH& operator=(const AliRICH&);
+
ClassDef(AliRICH,11) //Main RICH class
};//class AliRICH
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// fRecPoints = new AliSTARTRecPoint();
fIshunt = 1;
// fIdSens = 0;
- SetMarkerColor(kRed);
+ //PH SetMarkerColor(kRed);
}
//_____________________________________________________________________________
*/
}
-//______________________________________________________________________________
-AliSTART::AliSTART(const AliSTART &source):
- AliDetector(source)
-{
- // Copy constructor
- // not implemented
- AliWarning("Copy constructor not implemented!");
-}
-
-//______________________________________________________________________________
-AliSTART& AliSTART::operator= (const AliSTART& source)
-{
- // Asignment operator
- // not implemented
- if(this==&source) return *this;
-
- AliWarning("Asignment operator not implemented!");
-
- ((TObject *)this)->operator=(source);
-
- return *this;
-}
-
//_____________________________________________________________________________
void AliSTART::AddHit(Int_t track, Int_t *vol, Float_t *hits)
{
AliSTARTdigit *fDigits;
AliSTARTRecPoint *fRecPoints;
+ private:
AliSTART(const AliSTART&);
AliSTART& operator=(const AliSTART&);
//
}
-//_______________________________________________________________________
-AliDetector::AliDetector(const AliDetector &det):
- AliModule(det),
- fTimeGate(200.e-9),
- fIshunt(0),
- fNhits(0),
- fNdigits(0),
- fBufferSize(1600),
- fMaxIterHit(0),
- fCurIterHit(0),
- fHits(0),
- fDigits(0),
- fPoints(0),
- fLoader(0x0)
-{
- det.Copy(*this);
-}
-
//_____________________________________________________________________________
AliDetector::AliDetector(const char* name,const char *title):
AliModule(name,title),
}
}
-//_______________________________________________________________________
-void AliDetector::Copy(TObject &) const
-{
- //
- // Copy *this onto det -- not implemented
- //
- AliFatal("Not implemented");
-}
-
//_______________________________________________________________________
void AliDetector::FinishRun()
{
for(trk=0; trk<tracks; ++trk) {
if(ntrk[trk]) {
points = new AliPoints();
- points->SetMarkerColor(GetMarkerColor());
- points->SetMarkerSize(GetMarkerSize());
+ points->SetMarkerColor(3); //PH color=3 was set in AliModule
+ points->SetMarkerSize(1); //PH size-1 is the default value
points->SetDetector(this);
points->SetParticle(trk);
- points->SetPolyMarker(ntrk[trk],coor[trk],GetMarkerStyle());
+ points->SetPolyMarker(ntrk[trk],coor[trk],1);//PH style=1 is the default value
fPoints->AddAt(points,trk);
delete [] coor[trk];
coor[trk]=0;
// Creators - distructors
AliDetector(const char* name, const char *title);
AliDetector();
- AliDetector(const AliDetector &det);
virtual ~AliDetector();
// Inline functions
- void Copy(TObject &det) const;
virtual int GetNdigits() const {return fNdigits;}
virtual int GetNhits() const {return fNhits;}
TClonesArray *Digits() const {return fDigits;}
TObjArray *Points() const {return fPoints;}
Int_t GetIshunt() const {return fIshunt;}
void SetIshunt(Int_t ishunt) {fIshunt=ishunt;}
- AliDetector &operator=(const AliDetector &det)
- {det.Copy(*this); return (*this);}
// Other methods
virtual void Publish(const char *dir, void *c, const char *name=0) const;
AliLoader* fLoader;//! pointer to getter for this module skowron
+ private:
+ AliDetector(const AliDetector &det);
+ AliDetector &operator=(const AliDetector &det);
+
ClassDef(AliDetector,5) //Base class for ALICE detectors
};
#endif
gAlice->AddModule(this);
- SetMarkerColor(3);
+ //PH SetMarkerColor(3);
//
// Clear space for tracking media and material indexes
for(Int_t i=0;i<100;i++) (*fIdmate)[i]=(*fIdtmed)[i]=0;
}
-//_______________________________________________________________________
-AliModule::AliModule(const AliModule &mod):
- TNamed(mod),
- TAttLine(mod),
- TAttMarker(mod),
- AliRndm(mod),
- fEuclidMaterial(""),
- fEuclidGeometry(""),
- fIdtmed(0),
- fIdmate(0),
- fLoMedium(0),
- fHiMedium(0),
- fActive(0),
- fHistograms(0),
- fNodes(0),
- fEnable(0),
- fTrackReferences(0),
- fMaxIterTrackRef(0),
- fCurrentIterTrackRef(0),
- fRunLoader(0)
-{
- //
- // Copy constructor
- //
- mod.Copy(*this);
-}
-
//_______________________________________________________________________
AliModule::~AliModule()
{
}
-//_______________________________________________________________________
-void AliModule::Copy(TObject & /* mod */) const
-{
- //
- // Copy *this onto mod, not implemented for AliModule
- //
- AliFatal("Not implemented!");
-}
-
//_______________________________________________________________________
void AliModule::Disable()
{
//
#include <Riostream.h>
-#include <TAttLine.h>
-#include <TAttMarker.h>
#include <TNamed.h>
-#include "AliRndm.h"
#include "AliTriggerDetector.h"
class TClonesArray;
class AliRawReader;
-class AliModule : public TNamed , public TAttLine, public TAttMarker,
- public AliRndm {
+class AliModule : public TNamed {
public:
// Creators - distructors
AliModule(const char* name, const char *title);
AliModule();
- AliModule(const AliModule &mod);
virtual ~AliModule();
// Inline functions
virtual void Digits2Raw();
virtual void Raw2Digits() {}
virtual Bool_t Raw2SDigits(AliRawReader*) {return kFALSE;}
- virtual void Browse(TBrowser *) {}
+ virtual void Browse(TBrowser *) {} //PH Do we need it?
virtual void CreateGeometry() {}
virtual void CreateMaterials() {}
virtual void AddAlignableVolumes() const;
virtual AliLoader* GetLoader() const {return 0x0;} //skowron
- virtual void Paint(Option_t *) {}
+ virtual void Paint(Option_t *) {} //PH Do we need it?
virtual void ResetDigits() {}
virtual void ResetSDigits() {}
virtual void ResetHits() {}
{fRunLoader = runLoader;}
//
- AliModule& operator=(const AliModule &mod)
- {mod.Copy(*this); return (*this);}
protected:
- void Copy(TObject &mod) const;
// Data members
AliRunLoader* fRunLoader; //!local pointer to run loader
+ private:
+ AliModule(const AliModule &mod);
+ AliModule& operator=(const AliModule &mod);
+
ClassDef(AliModule,7) //Base class for ALICE Modules
};
#endif
//
// Standard constructor
//
- SetMarkerColor(7);
- SetMarkerStyle(2);
- SetMarkerSize(0.4);
+ //PH SetMarkerColor(7);
+ //PH SetMarkerStyle(2);
+ //PH SetMarkerSize(0.4);
}
//_____________________________________________________________________________
//
// Standard constructor
//
- SetMarkerColor(7);
- SetMarkerStyle(2);
- SetMarkerSize(0.4);
}
//_____________________________________________________________________________
//
// Standard constructor of the Alice external volume
//
- SetMarkerColor(7);
- SetMarkerStyle(2);
- SetMarkerSize(0.4);
+ //PH SetMarkerColor(7);
+ //PH SetMarkerStyle(2);
+ //PH SetMarkerSize(0.4);
}
//_____________________________________________________________________________
//
// Standard constructor for the Magnetic Dipole
//
- SetMarkerColor(7);
- SetMarkerStyle(2);
- SetMarkerSize(0.4);
+ //PH SetMarkerColor(7);
+ //PH SetMarkerStyle(2);
+ //PH SetMarkerSize(0.4);
}
//_____________________________________________________________________________
{
//
// Standard constructor for the magnetic dipole version 2
- SetMarkerColor(7);
- SetMarkerStyle(2);
- SetMarkerSize(0.4);
}
void AliDIPOv2::CreateGeometry()
// Standard constructor
//
- SetMarkerColor(7);
- SetMarkerStyle(2);
- SetMarkerSize(0.4);
+ //PH SetMarkerColor(7);
+ //PH SetMarkerStyle(2);
+ //PH SetMarkerSize(0.4);
}
//
// Standard constructor for the experimental Hall
//
- SetMarkerColor(7);
- SetMarkerStyle(2);
- SetMarkerSize(0.4);
+ //PH SetMarkerColor(7);
+ //PH SetMarkerStyle(2);
+ //PH SetMarkerSize(0.4);
}
//_____________________________________________________________________________
*/
//End_Html
- SetMarkerColor(7);
- SetMarkerStyle(2);
- SetMarkerSize(0.4);
+ //PH SetMarkerColor(7);
+ //PH SetMarkerStyle(2);
+ //PH SetMarkerSize(0.4);
}
//_____________________________________________________________________________
//
// Standard constructor for beam pipe
//
- SetMarkerColor(7);
- SetMarkerStyle(2);
- SetMarkerSize(0.4);
+ //PH SetMarkerColor(7);
+ //PH SetMarkerStyle(2);
+ //PH SetMarkerSize(0.4);
}
//
// Standard constructor for muon shield
//
- SetMarkerColor(7);
- SetMarkerStyle(2);
- SetMarkerSize(0.4);
+ //PH SetMarkerColor(7);
+ //PH SetMarkerStyle(2);
+ //PH SetMarkerSize(0.4);
}
//_____________________________________________________________________________
//
// Standard constructor for muon shield
//
- SetMarkerColor(7);
- SetMarkerStyle(2);
- SetMarkerSize(0.4);
// Pb cone not yet compatible with muon chamber inner radii
// Switched off by default
}
//
// Standard constructor for muon shield
//
- SetMarkerColor(7);
- SetMarkerStyle(2);
- SetMarkerSize(0.4);
// Pb cone not yet compatible with muon chamber inner radii
// Switched off by default
}
//
// Standard constructor for muon shield
//
- SetMarkerColor(7);
- SetMarkerStyle(2);
- SetMarkerSize(0.4);
}
//_____________________________________________________________________________
//
// Standard constructor for muon shield
//
- SetMarkerColor(7);
- SetMarkerStyle(2);
- SetMarkerSize(0.4);
// Pb cone not yet compatible with muon chamber inner radii
// Switched off by default
}
//
// (Transfer Functions to be inserted here)
//
- SetMarkerColor(7);
- SetMarkerStyle(2);
- SetMarkerSize(0.4);
+ //PH SetMarkerColor(7);
+ //PH SetMarkerStyle(2);
+ //PH SetMarkerSize(0.4);
// Strip Parameters
//fGapA = 4.; //cm Gap beetween tilted strip in A-type plate
// //
//_________________________________________________________________________//
-#include "Riostream.h"
+#include <Riostream.h>
-#include "TFile.h"
-#include "TH1F.h"
-#include "TTree.h"
+#include <TFile.h>
+#include <TH1F.h>
+#include <TTree.h>
+#include <TRandom.h>
#include "AliLoader.h"
#include "AliLog.h"
#include "AliTOFSDigit.h"
#include "AliTOF.h"
-extern TDirectory *gDirectory;
-extern TFile *gFile;
-extern TRandom *gRandom;
-
-extern AliRun *gAlice;
-
-
ClassImp(AliTOFDigitizer)
//___________________________________________
// Use case: see AliTOFhits2sdigits.C macro in the CVS //
//__________________________________________________________//
-#include "TBenchmark.h"
-#include "TF1.h"
-#include "TFile.h"
-#include "TParticle.h"
-#include "TTree.h"
+#include <TBenchmark.h>
+#include <TF1.h>
+#include <TFile.h>
+#include <TParticle.h>
+#include <TTree.h>
+#include <TRandom.h>
#include "AliLoader.h"
#include "AliLog.h"
#include "AliTOFSDigit.h"
#include "AliTOF.h"
-extern TBenchmark *gBenchmark;
-extern TDirectory *gDirectory;
-extern TFile *gFile;
-extern TRandom *gRandom;
-extern TROOT *gROOT;
-
-extern AliRun *gAlice;
-
ClassImp(AliTOFSDigitizer)
//
//_________________________________________________________________________
-#include "TCanvas.h"
-#include "TClonesArray.h"
-#include "TFile.h"
-#include "TFolder.h"
-#include "TFrame.h"
-#include "TH1.h"
-#include "TParticle.h"
-#include "TBenchmark.h"
-#include "TTask.h"
-#include "TTree.h"
+#include <TCanvas.h>
+#include <TClonesArray.h>
+#include <TFile.h>
+#include <TFolder.h>
+#include <TFrame.h>
+#include <TH1.h>
+#include <TParticle.h>
+#include <TBenchmark.h>
+#include <TTask.h>
+#include <TTree.h>
+#include <TRandom.h>
#include "AliMC.h"
#include "AliRun.h"
#include "AliTOFT0.h"
#include "AliTOF.h"
-extern TBenchmark *gBenchmark;
-extern TSystem *gSystem;
-extern TRandom *gRandom;
-extern TROOT *gROOT;
-
-extern AliRun *gAlice;
-
-
ClassImp(AliTOFT0)
//____________________________________________________________________________
fIshunt = 0;
//
// Initialise color attributes
- SetMarkerColor(kYellow);
+ //PH SetMarkerColor(kYellow);
//
// Set TPC parameters
}
//_____________________________________________________________________________
-AliTPC::AliTPC(const AliTPC& t):AliDetector(t),
- fDefaults(0),
- fSens(0),
- fNsectors(0),
- fDigitsArray(0),
- fTPCParam(0),
- fTrackHits(0),
- fHitType(0),
- fDigitsSwitch(0),
- fSide(0),
- fNoiseDepth(0),
- fNoiseTable(0),
- fCurrentNoise(0),
- fActiveSectors(0)
-{
- //
- // dummy copy constructor
- //
-}
-//
-AliTPC & AliTPC::operator =(const AliTPC & param)
-{
- //
- // assignment operator - dummy
- //
- fDefaults=param.fDefaults;
- return (*this);
-}
-
-//
AliTPC::~AliTPC()
{
//
for(trk=0; trk<tracks; ++trk) {
if(ntrk[trk]) {
points = new AliPoints();
- points->SetMarkerColor(GetMarkerColor());
- points->SetMarkerSize(GetMarkerSize());
+ points->SetMarkerColor(kYellow); //PH kYellow it the default in TPC
+ points->SetMarkerSize(1);//PH Default size=1
points->SetDetector(this);
points->SetParticle(trk);
- points->SetPolyMarker(ntrk[trk],coor[trk],GetMarkerStyle());
+ points->SetPolyMarker(ntrk[trk],coor[trk],1); // Default style=1
fPoints->AddAt(points,trk);
delete [] coor[trk];
coor[trk]=0;
for(trk=0; trk<tracks; ++trk) {
if(ntrk[trk]) {
points = new AliPoints();
- points->SetMarkerColor(GetMarkerColor()+1);
+ points->SetMarkerColor(kMagenta); //PH kYellow + 1 is kMagenta
points->SetMarkerStyle(5);
points->SetMarkerSize(0.2);
points->SetDetector(this);
public:
AliTPC();
AliTPC(const char *name, const char *title);
- AliTPC(const AliTPC& t);
- AliTPC &operator = (const AliTPC & param);
virtual AliLoader* MakeLoader(const char* topfoldername);
Float_t fSide; // selects left(-1), right(+1), or both(0) sides of the TPC
private:
+ AliTPC(const AliTPC& t);
+ AliTPC &operator = (const AliTPC & param);
//
void SetDefaults();
void DigitizeRow(Int_t irow,Int_t isec,TObjArray **rowTriplet);
#include <TParticle.h>
#include <TVector.h>
+#include <TRandom.h>
#include "AliRunLoader.h"
#include "AliRun.h"
#include <TStyle.h>
#include <TSystem.h>
#include <TFile.h>
+#include <TRandom.h>
//------ AliRoot headers ------
#include "AliGausCorr.h"
#include "AliTracker.h"
fHits = new TClonesArray("AliTRDhit",405);
gAlice->GetMCApp()->AddHitList(fHits);
- SetMarkerColor(kWhite);
-
-}
-
-//_____________________________________________________________________________
-AliTRD::AliTRD(const AliTRD &trd)
- :AliDetector(trd)
- ,fGeometry(trd.fGeometry)
- ,fGasDensity(trd.fGasDensity)
- ,fFoilDensity(trd.fFoilDensity)
- ,fDrawTR(trd.fDrawTR)
- ,fDisplayType(trd.fDisplayType)
-{
- //
- // Copy constructor
- //
+ //PH SetMarkerColor(kWhite);
}
}
-//_____________________________________________________________________________
-void AliTRD::Copy(TObject &trd) const
-{
- //
- // Copy function
- //
-
- ((AliTRD &) trd).fGeometry = fGeometry;
- ((AliTRD &) trd).fGasDensity = fGasDensity;
- ((AliTRD &) trd).fFoilDensity = fFoilDensity;
- ((AliTRD &) trd).fDrawTR = fDrawTR;
- ((AliTRD &) trd).fDisplayType = fDisplayType;
-
-}
-
//_____________________________________________________________________________
void AliTRD::CreateGeometry()
{
// Set the dEdx points
if (ntrkE[trk]) {
- points->SetMarkerColor(GetMarkerColor());
- points->SetMarkerSize(GetMarkerSize());
- points->SetPolyMarker(ntrkE[trk],coorE[trk],GetMarkerStyle());
+ points->SetMarkerColor(kWhite); //PH This is the default color in TRD
+ points->SetMarkerSize(1); //PH Default size=1
+ points->SetPolyMarker(ntrkE[trk],coorE[trk],1); //PH Default style=1
delete [] coorE[trk];
coorE[trk] = 0;
}
AliTRD();
AliTRD(const char *name, const char *title);
- AliTRD(const AliTRD &trd);
virtual ~AliTRD();
- AliTRD &operator=(const AliTRD &trd);
-
- virtual void Copy(TObject &trd) const;
virtual void Init();
virtual Int_t IsVersion() const = 0;
virtual void ResetDigits();
Int_t fDrawTR; // Switches marking the TR photons in the display
Int_t fDisplayType; // Display type (0: normal, 1: detailed)
+ private:
+ AliTRD(const AliTRD &trd);
+ AliTRD &operator=(const AliTRD &trd);
+
ClassDef(AliTRD,9) // Transition Radiation Detector base class
};
}
-//_____________________________________________________________________________
-AliTRDv1::AliTRDv1(const AliTRDv1 &trd)
- :AliTRD(trd)
- ,fTRon(trd.fTRon)
- ,fTR(NULL)
- ,fTypeOfStepManager(trd.fTypeOfStepManager)
- ,fStepSize(trd.fStepSize)
- ,fDeltaE(NULL)
- ,fDeltaG(NULL)
- ,fTrackLength0(trd.fTrackLength0)
- ,fPrimaryTrackPid(trd.fPrimaryTrackPid)
-{
- //
- // Copy constructor
- //
-
- fDeltaE->Copy(*((AliTRDv1 &) trd).fDeltaE);
- fDeltaG->Copy(*((AliTRDv1 &) trd).fDeltaG);
- fTR->Copy(*((AliTRDv1 &) trd).fTR);
-
-}
-
//_____________________________________________________________________________
AliTRDv1::~AliTRDv1()
{
}
-//_____________________________________________________________________________
-AliTRDv1 &AliTRDv1::operator=(const AliTRDv1 &trd)
-{
- //
- // Assignment operator
- //
-
- if (this != &trd) ((AliTRDv1 &) trd).Copy(*this);
-
- return *this;
-
-}
-
-//_____________________________________________________________________________
-void AliTRDv1::Copy(TObject &trd) const
-{
- //
- // Copy function
- //
-
- ((AliTRDv1 &) trd).fTypeOfStepManager = fTypeOfStepManager;
- ((AliTRDv1 &) trd).fStepSize = fStepSize;
- ((AliTRDv1 &) trd).fTRon = fTRon;
- ((AliTRDv1 &) trd).fTrackLength0 = fTrackLength0;
- ((AliTRDv1 &) trd).fPrimaryTrackPid = fPrimaryTrackPid;
-
- fDeltaE->Copy(*((AliTRDv1 &) trd).fDeltaE);
- fDeltaG->Copy(*((AliTRDv1 &) trd).fDeltaG);
- fTR->Copy(*((AliTRDv1 &) trd).fTR);
-
-}
-
//_____________________________________________________________________________
void AliTRDv1::AddAlignableVolumes() const
{
AliTRDv1();
AliTRDv1(const char *name, const char *title);
- AliTRDv1(const AliTRDv1 &trd);
virtual ~AliTRDv1();
- AliTRDv1 &operator=(const AliTRDv1 &trd);
- virtual void Copy(TObject &trd) const;
virtual void Init();
virtual Int_t IsVersion() const { return 1; }
Double_t fStepSize; // Used for the fixed step size
private:
+ AliTRDv1(const AliTRDv1 &trd);
+ AliTRDv1 &operator=(const AliTRDv1 &trd);
Double_t BetheBloch(Double_t bg);
Double_t BetheBlochGeant(Double_t bg);
fMaxDestepQua = -1.0;
fMaxDestepAlu = -1.0;
- SetMarkerColor(kRed);
+ //PH SetMarkerColor(kRed);
}
//_____________________________________________________________________________
// --- ROOT system ---
#include <TTree.h>
+#include <TRandom.h>
// --- AliRoot header files ---
#include "AliVZEROConst.h"