/*
$Log$
+Revision 1.14 1999/11/05 22:39:06 fca
+New hits structure
+
Revision 1.13 1999/11/01 20:41:57 fca
Added protections against using the wrong version of FRAME
//
// Standard constructor
//
+ //
+ // 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);
+ }
+
}
//_____________________________________________________________________________
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");
/*
$Log$
+Revision 1.14 1999/11/05 22:39:06 fca
+New hits structure
+
Revision 1.13 1999/11/01 20:41:57 fca
Added protections against using the wrong version of FRAME
//
// Standard constructor
//
+
+ //
+ // 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);
+ }
+
}
//_____________________________________________________________________________
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");
/*
$Log$
+Revision 1.14 1999/11/05 22:39:06 fca
+New hits structure
+
Revision 1.13 1999/11/01 20:41:57 fca
Added protections against using the wrong version of FRAME
//
// Standard constructor
//
+ //
+ // 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);
+ }
+
}
//_____________________________________________________________________________
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");
/*
$Log$
+Revision 1.14 1999/11/05 22:39:06 fca
+New hits structure
+
Revision 1.13 1999/11/02 11:26:39 fca
added stdlib.h for exit
//
// Standard constructor
//
+ //
+ // 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);
+ }
+
}
//_____________________________________________________________________________
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");
/*
$Log$
+Revision 1.4 1999/11/05 22:39:06 fca
+New hits structure
+
Revision 1.3 1999/11/01 20:41:57 fca
Added protections against using the wrong version of FRAME
//
// Standard constructor
//
+ //
+ // 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);
+ }
+
}
//_____________________________________________________________________________
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");
/*
$Log$
+Revision 1.4 1999/11/05 22:39:06 fca
+New hits structure
+
Revision 1.3 1999/11/01 20:41:58 fca
Added protections against using the wrong version of FRAME
//
// Standard constructor
//
+ //
+ // 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);
+ }
+
}
//_____________________________________________________________________________
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");
/*
$Log$
+Revision 1.4 1999/11/05 22:39:06 fca
+New hits structure
+
Revision 1.3 1999/11/01 20:41:58 fca
Added protections against using the wrong version of FRAME
//
// Standard constructor
//
+ //
+ // 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);
+ }
}
//_____________________________________________________________________________
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");