21-apr-2006 NvE TFile.h included in header files of IceCalibrate and IceXtalk to prevent
compiler error with new ROOT 5.11 version.
// Destructor to delete dynamically allocated memory
}
///////////////////////////////////////////////////////////////////////////
-AliAttribObj::AliAttribObj(AliAttribObj& a) : TObject(a),AliAttrib(a)
+AliAttribObj::AliAttribObj(const AliAttribObj& a) : TObject(a),AliAttrib(a)
{
// Copy constructor
}
///////////////////////////////////////////////////////////////////////////
-TObject* AliAttribObj::Clone(const char* name)
+TObject* AliAttribObj::Clone(const char* name) const
{
// Make a deep copy of the current object and provide the pointer to the copy.
// This memberfunction enables automatic creation of new objects of the
class AliAttribObj : public TObject,public AliAttrib
{
public:
- AliAttribObj(); // Default constructor
- AliAttribObj(AliAttrib& a); // Constructor
- virtual ~AliAttribObj(); // Destructor
- AliAttribObj(AliAttribObj& a); // Copy constructor
- virtual TObject* Clone(const char* name=""); // Make a deep copy and provide its pointer
+ AliAttribObj(); // Default constructor
+ AliAttribObj(AliAttrib& a); // Constructor
+ virtual ~AliAttribObj(); // Destructor
+ AliAttribObj(const AliAttribObj& a); // Copy constructor
+ virtual TObject* Clone(const char* name="") const; // Make a deep copy and provide its pointer
- ClassDef(AliAttribObj,3) // Generic handling of detector signal (calibration) attributes.
+ ClassDef(AliAttribObj,4) // Generic handling of detector signal (calibration) attributes.
};
#endif
AliCalmodule(const AliCalmodule& m); // Copy constructor
AliCalmodule(Int_t row,Int_t col,Double_t sig); // Create a module and initialise data
virtual TObject* Clone(const char* name="") const; // Make a deep copy and provide its pointer
+ using AliSignal::SetSignal;
virtual void SetSignal(Double_t sig,Int_t j=1); // Set or change data for certain module
+ using AliSignal::AddSignal;
virtual void AddSignal(Double_t sig,Int_t j=1); // Add signal to a certain module
void SetRow(Int_t i); // Set the row number of the module
void SetColumn(Int_t i); // Set the column number of the module
Int_t fCol; // The current column number
Float_t fSigc; // The signal after clustering
- ClassDef(AliCalmodule,8) // Description of a module in a calorimeter system.
+ ClassDef(AliCalmodule,9) // Description of a module in a calorimeter system.
};
#endif
void AddSignal(AliCalmodule* m); // Add module signal to current calorimeter
void Reset(Int_t row,Int_t col); // Reset signal for a certain module
virtual void Reset(Int_t mode=0); // Reset the complete calorimeter
+ using AliDevice::GetSignal;
virtual Float_t GetSignal(Int_t row,Int_t col=0) { return GetSignal(row,col,0); }
Float_t GetSignal(Int_t row,Int_t col,Int_t mode); // Provide signal of a certain module
Int_t GetNsignals() const; // Return number of modules with a signal
AliObjMatrix* fPositions; //! Matrix dbase of module position pointers
void LoadMatrix(); // Loading of matrix lookup table from the linear hit array
- ClassDef(AliCalorimeter,10) // Description of a modular calorimeter system.
+ ClassDef(AliCalorimeter,11) // Description of a modular calorimeter system.
};
#endif
Int_t GetRunNumber() const; // Provide the run number
Int_t GetEventNumber() const; // Provide the event number
virtual void HeaderData(); // Print the event header information
+ using AliVertex::Data;
virtual void Data(TString f="car",TString u="rad"); // Print the event info within frame f and ang units u
void SetDevCopy(Int_t j); // (De)activate creation of private copies of the devices
Int_t GetDevCopy() const; // Provide DevCopy flag value
TObject* fDisplay; //! Temp. pointer to hold objects which serve event displays
TObjArray* fDevs; //! Temp. array to hold references to user selected devices
- ClassDef(AliEvent,21) // Creation and investigation of an Alice physics event.
+ ClassDef(AliEvent,22) // Creation and investigation of an Alice physics event.
};
#endif
fSelected->AddAt(tx,j); // add track at the end
break; // go for next track
}
-
+
+ val1=0;
+ val2=0;
+
switch (abs(mode))
{
case 1:
fSelected->AddAt(jx,j); // add jet at the end
break; // go for next jet
}
+
+ val1=0;
+ val2=0;
switch (abs(mode))
{
void AddVertex(AliVertex& v,Int_t connect=1); // Add (and connect) a (sec.) vertex to the current vertex
void AddJet(AliJet* j,Int_t tracks=1) { AddJet(*j,tracks); }
void AddVertex(AliVertex* v,Int_t connect=1) { AddVertex(*v,connect); }
+ using AliPosition::Data;
virtual void Data(TString f="car",TString u="rad"); // Print the vertex info within frame f and ang units u
virtual void List(TString f="car",TString u="rad"); // Vertex prim. track info for frame f and ang units u
virtual void ListAll(TString f="car",TString u="rad");// Prim.+sec. vtx full track info for frame f and ang units u
private:
void Dumps(AliVertex* v,Int_t n,TString f,TString u); // Recursively print all sec. vertices
- ClassDef(AliVertex,11) // Creation and investigation of an AliVertex.
+ ClassDef(AliVertex,12) // Creation and investigation of an AliVertex.
};
#endif
18-mar-2006 NvE Support for display of selected track array introduced in AliHelix.
Also copy ctor of AliHelix made complete for new datamembers.
22-mar-2006 NvE Line attribute selections for displays extended in AliHelix.
+20-apr-2006 NvE Several small modifications to prevent gcc warnings.
#include "TROOT.h"
#include "TTask.h"
#include "TString.h"
+#include "TFile.h"
#include "AliJob.h"
#include "IceEvent.h"
TFile* fCalfile; // The (optional) calibration input file in ROOT format
AliObjMatrix* fOmdb; // The OM database object
- ClassDef(IceCalibrate,1) // TTask derived class to perform the various calibrations
+ ClassDef(IceCalibrate,2) // TTask derived class to perform the various calibrations
};
#endif
#include "TROOT.h"
#include "TTask.h"
#include "TString.h"
+#include "TFile.h"
#include "AliJob.h"
#include "IceEvent.h"
Float_t fPmin; // The minimal probability to induce cross talk
Float_t fPe; // The nominal Xtalk signal in photo-electron equivalent
- ClassDef(IceXtalk,1) // TTask derived class to perform cross talk hit correction
+ ClassDef(IceXtalk,2) // TTask derived class to perform cross talk hit correction
};
#endif
29-mar-2006 NvE Modified numerical evaluation of pandel value in IcePandel to extend validity
range (by George and Dipo).
Also new memberfunction SetPenalty() introduced in IcePandel.
+21-apr-2006 NvE TFile.h included in header files of IceCalibrate and IceXtalk to prevent
+ compiler error with new ROOT 5.11 version.