**************************************************************************/
/*
$Log$
+Revision 1.59 2002/11/21 17:01:56 alibrary
+Removing AliMCProcess and AliMC
+
+Revision 1.58 2002/10/21 09:01:33 alibrary
+Getting rid of unused variable
+
+Revision 1.57 2002/10/14 14:57:29 hristov
+Merging the VirtualMC branch to the main development branch (HEAD)
+
Revision 1.56.6.2 2002/07/24 10:07:20 alibrary
Updating VirtualMC
#include "AliMUONTriggerDecision.h"
#include "AliRun.h"
#include "AliHeader.h"
-#include "AliMC.h"
#include "AliMUONClusterInput.h"
#include "AliMUONMerger.h"
-#include "iostream.h"
+#include "Riostream.h"
#include "AliConst.h"
// Defaults parameters for Z positions of chambers
// Destructor
if(fDebug) printf("%s: Calling AliMUON destructor !!!\n",ClassName());
- Int_t i;
fIshunt = 0;
// Delete TObjArrays
new(lhits[fNhits++]) AliMUONHit(fIshunt,track,vol,hits);
}
//___________________________________________
-void AliMUON::AddPadHit(Int_t *clhits)
+void AliMUON::AddHit(Int_t fIshunt, Int_t track, Int_t iChamber,
+ Int_t idpart, Float_t X, Float_t Y, Float_t Z,
+ Float_t tof, Float_t momentum, Float_t theta,
+ Float_t phi, Float_t length, Float_t destep)
+{
+ TClonesArray &lhits = *fHits;
+ new(lhits[fNhits++]) AliMUONHit(fIshunt, track, iChamber,
+ idpart, X, Y, Z,
+ tof, momentum, theta,
+ phi, length, destep);
+}
+//___________________________________________
+void AliMUON::AddPadHit(Int_t *clhits) // To be removed
{
TClonesArray &lclusters = *fPadHits;
new(lclusters[fNPadHits++]) AliMUONPadHit(clhits);
const char *cR = strstr(option,"R");
const char *cH = strstr(option,"H");
+ // PadHits to be removed
if (fPadHits && gAlice->TreeH() && cH) {
MakeBranchInTree(gAlice->TreeH(),
branchname, &fPadHits, kBufferSize, file);
}
//___________________________________________
+// To be removed
void AliMUON::MakePadHits(Float_t xhit,Float_t yhit, Float_t zhit,
Float_t eloss, Float_t tof, Int_t idvol)
{
AliMUONPadHit* AliMUON::FirstPad(AliMUONHit* hit, TClonesArray *clusters)
{
-//
+// to be removed
// Initialise the pad iterator
// Return the address of the first padhit for hit
TClonesArray *theClusters = clusters;
AliMUONPadHit* AliMUON::NextPad(TClonesArray *clusters)
{
+ // To be removed
// Get next pad (in iterator)
//
AliMUON::fCurIterPad++;