/*
$Log$
+Revision 1.8 2001/03/16 15:32:06 morsch
+Corrections of overlap with beam shield and dipole (A. de Falco)
+
Revision 1.7 2001/03/14 17:22:15 pcrochet
Geometry of the trigger chambers : a vertical gap of has been introduced around x=0 according fig.3.27 of the TDR (P.Dupieux)
ClassImp(AliMUONConstants)
-Int_t AliMUONConstants::fgNCh = 14;
+const Int_t AliMUONConstants::fgNCh = 14;
Int_t AliMUONConstants::fgNTrackingCh = 10;
Int_t AliMUONConstants::fgNTriggerCh = 4;
Int_t AliMUONConstants::fgNTriggerCircuit = 234;
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
-/*$Id $*/
+/*$Id$*/
#include <TObject.h>
AliMUONConstants(){}
virtual ~AliMUONConstants(){}
private:
- static Int_t fgNCh; // Number of Chambers
+ static const Int_t fgNCh; // Number of Chambers
static Int_t fgNTrackingCh; // Number of Tracking Chambers
static Int_t fgNTriggerCh; // Number of Trigger Chambers
static Int_t fgNTriggerCircuit; // Number of Trigger Circuits
/*
$Log$
+Revision 1.5 2001/10/31 16:40:07 jchudoba
+change preprocessor constant to C++ constant
+
Revision 1.4 2001/10/18 14:44:09 jchudoba
Define constant MAXTRACKS for maximum number of tracks associated with 1 digit
#include "AliMUONDigit.h"
+#include <iostream.h>
+
ClassImp(AliMUONDigit)
//_____________________________________________________________________________
AliMUONDigit::AliMUONDigit(Int_t *digits)
{
// Destructor
}
+
+////////////////////////////////////////////////////////////////////////
+void AliMUONDigit::Print(Option_t *option) const
+{
+ // print
+ cout<<"fPadX, fPadY, fCathode, fSignal, fPhysics, fHit: \n";
+ cout<<" "<<fPadX<<" "<<fPadY<<" "<<fCathode<<" "
+ <<fSignal<<" "<<fPhysics<<" "<<fHit<<endl;
+}
+
+////////////////////////////////////////////////////////////////////////
virtual Int_t TrackCharge(Int_t i) const {return fTcharges[i];}
virtual void AddSignal(Int_t q) {fSignal += q;}
virtual void AddPhysicsSignal(Int_t q) {fPhysics += q;}
- private:
+ virtual void Print(Option_t *option="") const;
+ private:
Int_t fPadX; // Pad number along x
Int_t fPadY; // Pad number along y
Int_t fCathode; // Cathode number
/*
$Log$
+Revision 1.8 2002/02/13 09:03:24 jchudoba
+Remove some deletes from dtor, those objects are deleted earlier in Exec() method (where they are created)
+
Revision 1.7 2001/11/22 11:15:41 jchudoba
Proper deletion of arrays (thanks to Rene Brun)
fMask = fManager->GetMask(inputFile);
fDigits[0] = ipx;
fDigits[1] = ipy;
+ if (!(fHitMap[fNch]->ValidateHit(fDigits[0], fDigits[1]))) continue;
fDigits[2] = icat;
fDigits[3] = iqpad;
if (inputFile == 0) {
/*
$Log$
+Revision 1.17 2001/09/03 14:54:55 gosset
+Corrections for suppressing "segmentation violation" errors
+when using buttons "Chamber +", "Chamber -", "Cathode <>"
+
Revision 1.16 2001/08/31 08:18:43 jchudoba
Changes needed to run with Root 3.01
mdig = (AliMUONDigit*)muonDigits->UncheckedAt(digit);
if (mdig->Cathode() != cathode-1) continue;
+// debug hit numbers
+// printf(" Chamber, cathode, digit, hit: %3d, %3d, %3d, %3d \n",
+// chamber,cathode,digit,mdig->Hit());
+
//
// First get all needed parameters
//
fPhits->AddAt(points,nhold+hit);
points->SetMarkerColor(kRed);
points->SetMarkerStyle(5);
- points->SetMarkerSize(1.);
+ points->SetMarkerSize(2.); // JCH change
points->SetParticle(mHit->Track());
points->SetHitIndex(hit);
points->SetTrackIndex(track);
/*
$Log$
+Revision 1.8 2002/02/22 12:14:21 morsch
+Validate pad hit before digitization.
+
Revision 1.7 2001/11/22 11:15:41 jchudoba
Proper deletion of arrays (thanks to Rene Brun)
TTree *treeH = gAlice->TreeH();
Int_t ntracks = (Int_t) treeH->GetEntries();
+ treeH->SetBranchStatus("*",0); // switch off all branches
+ treeH->SetBranchStatus("MUON*",1); // switch on only MUON
for (fTrack = 0; fTrack < ntracks; fTrack++) {
gAlice->ResetHits();
- treeH->GetEvent(fTrack);
+ treeH->GetEntry(fTrack,0);
//
// Loop over hits
for(AliMUONHit* mHit = (AliMUONHit*)pMUON->FirstHit(-1);
/*
$Log$
+Revision 1.29 2001/06/21 14:54:37 morsch
+Put volumes of station 3 into DIPO if present. (A. de Falco)
+
Revision 1.28 2001/05/16 14:57:17 alibrary
New files for folders and Stack
ClassImp(AliMUONv1)
//___________________________________________
-AliMUONv1::AliMUONv1() : AliMUON()
+AliMUONv1::AliMUONv1()
{
// Constructor
- fChambers = 0;
}
//___________________________________________
: AliMUON(name,title)
{
// Constructor
+// this->SetDebug(2);
AliMUONFactory::Build(this, title);
}
#pragma link C++ class AliMUONMerger+;
#pragma link C++ class AliMUONFactory+;
#pragma link C++ class AliMUONDigitizer+;
+#pragma link C++ class AliMUONDigitContainer+;
#endif
AliMUONSegmentationSlatModule.cxx AliMUONSegmentationSlatModuleN.cxx \
AliMUONSegmentationSlat.cxx AliMUONSegmentationSlatN.cxx \
AliMUONRecoEvent.cxx AliMUONRecoDisplay.cxx \
- AliMUONMerger.cxx AliMUONFactory.cxx AliMUONDigitizer.cxx
+ AliMUONMerger.cxx AliMUONFactory.cxx AliMUONDigitizer.cxx \
+ AliMUONDigitContainer.cxx
# C++ Headers