/*
$Log$
+Revision 1.9 1999/10/15 15:35:19 fca
+New version for frame1099 with and without holes
+
Revision 1.9 1999/09/29 09:24:33 fca
Introduction of the Copyright and cvs Log
#include <TBRIK.h>
#include "AliRun.h"
#include "AliConst.h"
-#include <stdlib.h>
ClassImp(AliTOF)
SetMarkerColor(7);
SetMarkerStyle(2);
SetMarkerSize(0.4);
- //
- // Check that FRAME is there otherwise we have no place where to
- // put TOF
- AliModule* FRAME=gAlice->GetModule("FRAME");
- if(!FRAME) {
- Error("Ctor","TOF needs FRAME to be present\n");
- exit(1);
- }
}
//_____________________________________________________________________________
//
// Initialise TOF detector after it has been built
//
- Int_t i;
- //
- printf("\n");
- for(i=0;i<35;i++) printf("*");
- printf(" TOF_INIT ");
- for(i=0;i<35;i++) printf("*");
- printf("\n");
- cout << "TOF version " << IsVersion() <<" initialized" << endl;
//
// Set id of TOF sensitive volume
if (IsVersion() !=0) fIdSens=gMC->VolId("FPAD");
//
- for(i=0;i<80;i++) printf("*");
- printf("\n");
}
/*
$Log$
+Revision 1.12 1999/10/22 08:04:14 fca
+Correct improper use of negative parameters
+
Revision 1.11 1999/10/16 19:30:05 fca
Corrected Rotation Matrix and CVS log
// //
///////////////////////////////////////////////////////////////////////////////
+#include <stdlib.h>
+
#include "AliTOFv0.h"
#include "AliRun.h"
#include "AliConst.h"
//
// Initialise the detector after the geometry has been defined
//
+ printf("**************************************"
+ " TOF "
+ "**************************************\n");
+ printf("\n Version 0 of TOF initialing, "
+ "with openings for PHOS and RICH\n\n");
+
AliTOF::Init();
+
+ //
+ // Check that FRAME is there otherwise we have no place where to
+ // put TOF
+ AliModule* FRAME=gAlice->GetModule("FRAME");
+ if(!FRAME) {
+ Error("Ctor","TOF needs FRAME to be present\n");
+ exit(1);
+ } else
+ if(FRAME->IsVersion()!=0) {
+ Error("Ctor","FRAME version 0 needed with this version of TOF\n");
+ exit(1);
+ }
+
fIdFTO2=gMC->VolId("FTO2");
fIdFTO3=gMC->VolId("FTO3");
fIdFLT1=gMC->VolId("FLT1");
fIdFLT2=gMC->VolId("FLT2");
fIdFLT3=gMC->VolId("FLT3");
+
+ printf("**************************************"
+ " TOF "
+ "**************************************\n");
}
//_____________________________________________________________________________
/*
$Log$
+Revision 1.12 1999/10/22 08:04:14 fca
+Correct improper use of negative parameters
+
Revision 1.11 1999/10/16 19:30:05 fca
Corrected Rotation Matrix and CVS log
// //
///////////////////////////////////////////////////////////////////////////////
+#include <stdlib.h>
+
#include "AliTOFv1.h"
#include "AliRun.h"
#include "AliConst.h"
//
// Initialise the detector after the geometry has been defined
//
+ printf("**************************************"
+ " TOF "
+ "**************************************\n");
+ printf("\n Version 1 of TOF initialing, "
+ "with openings for PHOS and RICH\n\n");
+
AliTOF::Init();
+
+ //
+ // Check that FRAME is there otherwise we have no place where to
+ // put TOF
+ AliModule* FRAME=gAlice->GetModule("FRAME");
+ if(!FRAME) {
+ Error("Ctor","TOF needs FRAME to be present\n");
+ exit(1);
+ } else
+ if(FRAME->IsVersion()!=0) {
+ Error("Ctor","FRAME version 0 needed with this version of TOF\n");
+ exit(1);
+ }
+
fIdFTO2=gMC->VolId("FTO2");
fIdFTO3=gMC->VolId("FTO3");
fIdFLT1=gMC->VolId("FLT1");
fIdFLT2=gMC->VolId("FLT2");
fIdFLT3=gMC->VolId("FLT3");
+
+ printf("**************************************"
+ " TOF "
+ "**************************************\n");
}
//_____________________________________________________________________________
/*
$Log$
+Revision 1.12 1999/10/22 08:04:14 fca
+Correct improper use of negative parameters
+
Revision 1.11 1999/10/16 19:30:05 fca
Corrected Rotation Matrix and CVS log
// //
///////////////////////////////////////////////////////////////////////////////
+#include <stdlib.h>
+
#include "AliTOFv2.h"
#include "AliRun.h"
#include "AliConst.h"
//
// Initialise the detector after the geometry has been defined
//
+ printf("**************************************"
+ " TOF "
+ "**************************************\n");
+ printf("\n Version 2 of TOF initialing, "
+ "with openings for PHOS and RICH in symmetric frame\n\n");
+
AliTOF::Init();
+
+ //
+ // Check that FRAME is there otherwise we have no place where to
+ // put TOF
+ AliModule* FRAME=gAlice->GetModule("FRAME");
+ if(!FRAME) {
+ Error("Ctor","TOF needs FRAME to be present\n");
+ exit(1);
+ } else
+ if(FRAME->IsVersion()!=1) {
+ Error("Ctor","FRAME version 1 needed with this version of TOF\n");
+ exit(1);
+ }
+
fIdFTO2=gMC->VolId("FTO2");
fIdFTO3=gMC->VolId("FTO3");
fIdFLT1=gMC->VolId("FLT1");
fIdFLT2=gMC->VolId("FLT2");
fIdFLT3=gMC->VolId("FLT3");
+ printf("**************************************"
+ " TOF "
+ "**************************************\n");
}
//_____________________________________________________________________________
/*
$Log$
+Revision 1.11 1999/10/22 08:04:14 fca
+Correct improper use of negative parameters
+
Revision 1.10 1999/10/16 19:30:06 fca
Corrected Rotation Matrix and CVS log
//
// Initialise the detector after the geometry has been defined
//
+ printf("**************************************"
+ " TOF "
+ "**************************************\n");
+ printf("\n Version 3 of TOF initialing, "
+ "symmetric TOF\n\n");
+
AliTOF::Init();
+
+ //
+ // Check that FRAME is there otherwise we have no place where to
+ // put TOF
+ AliModule* FRAME=gAlice->GetModule("FRAME");
+ if(!FRAME) {
+ Error("Ctor","TOF needs FRAME to be present\n");
+ exit(1);
+ } else
+ if(FRAME->IsVersion()!=1) {
+ Error("Ctor","FRAME version 1 needed with this version of TOF\n");
+ exit(1);
+ }
+
fIdFTO2=gMC->VolId("FTO2");
fIdFTO3=gMC->VolId("FTO3");
fIdFLT1=gMC->VolId("FLT1");
fIdFLT2=gMC->VolId("FLT2");
fIdFLT3=gMC->VolId("FLT3");
+
+ printf("**************************************"
+ " TOF "
+ "**************************************\n");
}
//_____________________________________________________________________________
/*
$Log$
+Revision 1.2 1999/10/16 19:22:18 fca
+Corrected Rotation Matrix and CVS log
+
Revision 1.1 1999/10/15 15:35:20 fca
New version for frame1099 with and without holes
// //
///////////////////////////////////////////////////////////////////////////////
+#include <stdlib.h>
+
#include "AliTOFv4.h"
#include "AliRun.h"
#include "AliConst.h"
//
// Initialise the detector after the geometry has been defined
//
+ printf("**************************************"
+ " TOF "
+ "**************************************\n");
+ printf("\n Version 4 of TOF initialing, "
+ "with openings for PHOS and RICH\n\n");
+
AliTOF::Init();
+
+ //
+ // Check that FRAME is there otherwise we have no place where to
+ // put TOF
+ AliModule* FRAME=gAlice->GetModule("FRAME");
+ if(!FRAME) {
+ Error("Ctor","TOF needs FRAME to be present\n");
+ exit(1);
+ } else
+ if(FRAME->IsVersion()!=0) {
+ Error("Ctor","FRAME version 0 needed with this version of TOF\n");
+ exit(1);
+ }
+
fIdFTO2=gMC->VolId("FTO2");
fIdFTO3=gMC->VolId("FTO3");
fIdFLT1=gMC->VolId("FLT1");
fIdFLT2=gMC->VolId("FLT2");
fIdFLT3=gMC->VolId("FLT3");
+ printf("**************************************"
+ " TOF "
+ "**************************************\n");
}
//_____________________________________________________________________________
/*
$Log$
+Revision 1.2 1999/10/16 19:21:57 fca
+Corrected Rotation Matrix and CVS logAliTOFv4.cxx
+
Revision 1.1 1999/10/15 15:35:20 fca
New version for frame1099 with and without holes
// //
///////////////////////////////////////////////////////////////////////////////
+#include <stdlib.h>
+
#include "AliTOFv5.h"
#include "AliRun.h"
#include "AliConst.h"
//
// Initialise the detector after the geometry has been defined
//
+ printf("**************************************"
+ " TOF "
+ "**************************************\n");
+ printf("\n Version 5 of TOF initialing, "
+ "with openings for PHOS and RICH in symmetric frame\n\n");
+
AliTOF::Init();
+
+ //
+ // Check that FRAME is there otherwise we have no place where to
+ // put TOF
+ AliModule* FRAME=gAlice->GetModule("FRAME");
+ if(!FRAME) {
+ Error("Ctor","TOF needs FRAME to be present\n");
+ exit(1);
+ } else
+ if(FRAME->IsVersion()!=1) {
+ Error("Ctor","FRAME version 1 needed with this version of TOF\n");
+ exit(1);
+ }
+
fIdFTO2=gMC->VolId("FTO2");
fIdFTO3=gMC->VolId("FTO3");
fIdFLT1=gMC->VolId("FLT1");
fIdFLT2=gMC->VolId("FLT2");
fIdFLT3=gMC->VolId("FLT3");
+
+ printf("**************************************"
+ " TOF "
+ "**************************************\n");
}
//_____________________________________________________________________________
/*
$Log$
+Revision 1.2 1999/10/16 19:21:57 fca
+Corrected Rotation Matrix and CVS logAliTOFv4.cxx
+
Revision 1.1 1999/10/15 15:35:20 fca
New version for frame1099 with and without holes
// //
///////////////////////////////////////////////////////////////////////////////
+#include <stdlib.h>
+
#include "AliTOFv6.h"
#include "AliRun.h"
#include "AliConst.h"
//
// Initialise the detector after the geometry has been defined
//
+ printf("**************************************"
+ " TOF "
+ "**************************************\n");
+ printf("\n Version 6 of TOF initialing, "
+ "symmetric TOF\n\n");
+
AliTOF::Init();
+
+ //
+ // Check that FRAME is there otherwise we have no place where to
+ // put TOF
+ AliModule* FRAME=gAlice->GetModule("FRAME");
+ if(!FRAME) {
+ Error("Ctor","TOF needs FRAME to be present\n");
+ exit(1);
+ } else
+ if(FRAME->IsVersion()!=1) {
+ Error("Ctor","FRAME version 1 needed with this version of TOF\n");
+ exit(1);
+ }
+
fIdFTO2=gMC->VolId("FTO2");
fIdFTO3=gMC->VolId("FTO3");
fIdFLT1=gMC->VolId("FLT1");
fIdFLT2=gMC->VolId("FLT2");
fIdFLT3=gMC->VolId("FLT3");
+
+ printf("**************************************"
+ " TOF "
+ "**************************************\n");
}
//_____________________________________________________________________________
/*
$Log$
+Revision 1.11 1999/09/29 09:24:34 fca
+Introduction of the Copyright and cvs Log
+
*/
///////////////////////////////////////////////////////////////////////////////
// //
///////////////////////////////////////////////////////////////////////////////
-#include <stdlib.h>
-
#include <TMath.h>
#include <TNode.h>
#include <TPGON.h>
// Standard constructor for the TRD
//
-
- // Check that FRAME is there otherwise we have no place where to put the TRD
- AliModule* FRAME = gAlice->GetModule("FRAME");
- if (!FRAME) {
- Error("AliTRD","TRD needs FRAME to be present\n");
- exit(1);
- }
-
// Allocate the hit array
fHits = new TClonesArray("AliTRDhit", 405);
// Initialise the TRD detector after the geometry has been created
//
- Int_t i;
-
- printf("\n");
- for(i=0;i<35;i++) printf("*");
- printf(" TRD_INIT ");
- for(i=0;i<35;i++) printf("*");
- printf("\n");
-
// Here the TRD initialisation code (if any!)
if (fGasMix == 1)
printf(" Gas Mixture: 90%% Xe + 10%% CO2\n");
/*
$Log$
+Revision 1.10 1999/09/29 09:24:35 fca
+Introduction of the Copyright and cvs Log
+
*/
///////////////////////////////////////////////////////////////////////////////
// //
///////////////////////////////////////////////////////////////////////////////
+#include <stdlib.h>
+
#include <TMath.h>
#include <TRandom.h>
#include <TVector.h>
AliTRD::Init();
+ printf("**************************************"
+ " TRD "
+ "**************************************\n");
+ printf("\n Version 0 of TRD initialing, "
+ "symmetric TRD\n\n");
+
+ //
+ // Check that FRAME is there otherwise we have no place where to
+ // put TRD
+ AliModule* FRAME=gAlice->GetModule("FRAME");
+ if(!FRAME) {
+ Error("Ctor","TRD needs FRAME to be present\n");
+ exit(1);
+ } else
+ if(FRAME->IsVersion()!=1) {
+ Error("Ctor","FRAME version 1 needed with this version of TRD\n");
+ exit(1);
+ }
+
for (Int_t i = 0; i < 80; i++) printf("*");
printf("\n");
fIdChamber2 = gMC->VolId("UCIM");
fIdChamber3 = gMC->VolId("UCII");
+ printf("**************************************"
+ " TRD "
+ "**************************************\n");
}
//_____________________________________________________________________________
/*
$Log$
+Revision 1.10 1999/09/29 09:24:35 fca
+Introduction of the Copyright and cvs Log
+
*/
///////////////////////////////////////////////////////////////////////////////
// //
///////////////////////////////////////////////////////////////////////////////
+#include <stdlib.h>
+
#include <TMath.h>
#include <TRandom.h>
#include <TVector.h>
// Initialise the Transition Radiation Detector after the geometry is built
//
+ printf("**************************************"
+ " TRD "
+ "**************************************\n");
+ printf("\n Version 1 of TRD initialing, "
+ "with openings for PHOS and RICH\n\n");
+
AliTRD::Init();
+ //
+ // Check that FRAME is there otherwise we have no place where to
+ // put TRD
+ AliModule* FRAME=gAlice->GetModule("FRAME");
+ if(!FRAME) {
+ Error("Ctor","TRD needs FRAME to be present\n");
+ exit(1);
+ } else
+ if(FRAME->IsVersion()!=0) {
+ Error("Ctor","FRAME version 0 needed with this version of TRD\n");
+ exit(1);
+ }
+
for (Int_t i = 0; i < 80; i++) printf("*");
printf("\n");
fIdChamber2 = gMC->VolId("UCIM");
fIdChamber3 = gMC->VolId("UCII");
+ printf("**************************************"
+ " TRD "
+ "**************************************\n");
}
//_____________________________________________________________________________
/*
$Log$
+Revision 1.14 1999/10/04 14:48:07 fca
+Avoid warnings on non-ansi compiler HP-UX CC
+
Revision 1.13 1999/09/29 09:24:35 fca
Introduction of the Copyright and cvs Log
// //
///////////////////////////////////////////////////////////////////////////////
+#include <stdlib.h>
+
#include <TMath.h>
#include <TVector.h>
#include <TRandom.h>
// Includes the default settings of all parameter for the digitization.
//
+ printf("**************************************"
+ " TRD "
+ "**************************************\n");
+ printf("\n Version 2 of TRD initialing, "
+ "symmetric TRD\n\n");
+
AliTRD::Init();
+
+ //
+ // Check that FRAME is there otherwise we have no place where to
+ // put TRD
+ AliModule* FRAME=gAlice->GetModule("FRAME");
+ if(!FRAME) {
+ Error("Ctor","TRD needs FRAME to be present\n");
+ exit(1);
+ } else
+ if(FRAME->IsVersion()!=1) {
+ Error("Ctor","FRAME version 1 needed with this version of TRD\n");
+ exit(1);
+ }
+
if (fSensPlane)
printf(" Only plane %d is sensitive\n",fSensPlane);
if (fSensChamber)
if (!(fDiffusionT)) fDiffusionT = 0.060;
if (!(fDiffusionL)) fDiffusionL = 0.017;
+ printf("**************************************"
+ " TRD "
+ "**************************************\n");
}
//_____________________________________________________________________________