/*
$Log$
+Revision 1.10 2000/10/02 21:28:13 fca
+Removal of useless dependecies via forward declarations
+
Revision 1.9 2000/07/13 16:41:29 fca
New START corrected for coding conventions
TTree *td = gAlice->TreeD();
digits = new AliSTARTdigit();
- td->Branch(branchname,"AliSTARTdigit",&digits, buffersize);
+ td->Branch(branchname,"AliSTARTdigit",digits, buffersize);
printf("Making Branch %s for digits\n",branchname);
/*
**************************************************************************/
/*
$Log$
+Revision 1.3 2000/07/13 16:41:29 fca
+New START corrected for coding conventions
+
Revision 1.2 2000/03/24 17:40:35 alla
New AliSTART
*/
-#include <iostream.h>
-#include <fstream.h>
-#include "AliRun.h"
-#include "AliSTART.h"
#include "AliSTARTdigit.h"
ClassImp(AliSTARTdigit)
-AliSTARTdigit::AliSTARTdigit(Int_t Timeav, Int_t Timediff)
- //: AliDigit(tracks)
-{
- //
- // Create START digit
- // The creator for the AliSTARTdigit class. This routine fills the
- // AliSTARTdigit data members from the array digits. The array of track
- // numbers are passed to the AliDigit creator. The order of the elements
- // in the digits array are fEvent = digits[0], fAmplitude = digits[1],
- // fTimeAverage = digits[1], fTimeDiff = digits[1], and fDet = digits[4].
- // Therefore the array digits is expected to be at least 5 elements long.
- //
- Timeav = fTimeAverage;
- Timediff = fTimeDiff;
-}
/* $Id$ */
#include <TObject.h>
-#include "AliSTART.h"
+
//___________________________________________
class AliSTARTdigit: public TObject {
////////////////////////////////////////////////////////////////////////
public:
- AliSTARTdigit();
- AliSTARTdigit(Int_t , Int_t );
+ AliSTARTdigit(Int_t Timeav=999999, Int_t Timediff=999999);
virtual ~AliSTARTdigit() {}
void Set(Int_t, Int_t);
Int_t GetTime();
ClassDef(AliSTARTdigit,1) //Digit (Header) object for set:START
};
-inline AliSTARTdigit::AliSTARTdigit(){fTimeAverage=999999;fTimeDiff=999999;}
+inline AliSTARTdigit::AliSTARTdigit(Int_t Timeav, Int_t Timediff):fTimeAverage(Timeav),fTimeDiff(Timediff)
+{
+ //
+ // Create START digit
+ //
+}
inline Int_t AliSTARTdigit::GetTime(){return fTimeDiff;}
inline void AliSTARTdigit::Set(Int_t Timeav, Int_t Timediff)
{fTimeAverage=Timeav; fTimeDiff=Timediff;}