#include <TEveTreeTools.h>
#include "AliEveTOFDigitsInfo.h"
+
+#include <AliDAQ.h>
+
#include <AliTOFdigit.h>
#include <AliTOFGeometry.h>
-//#include <AliTOFDigitMap.h>
-
-using namespace std;
+#include <AliTOFrawData.h>
+#include <AliTOFRawStream.h>
//_________________________________________________________
ClassImp(AliEveTOFDigitsInfo)
- AliEveTOFDigitsInfo::AliEveTOFDigitsInfo():
+ AliEveTOFDigitsInfo::AliEveTOFDigitsInfo():
TObject(),
TEveRefCnt(),
fTree (0),
{}
/* ******************************************************* */
-AliEveTOFDigitsInfo:: ~AliEveTOFDigitsInfo()
+AliEveTOFDigitsInfo:: ~AliEveTOFDigitsInfo()
{
delete fGeom;
void AliEveTOFDigitsInfo::SetTree(TTree* tree)
{
static const TEveException eH("AliEveTOFDigitsInfo::SetTree ");
-
+
if(fGeom == 0) {
fGeom = new AliTOFGeometry();
}
*/
}
/* ******************************************************* */
+void AliEveTOFDigitsInfo::ReadRaw(AliRawReader* rawReader, Int_t nEvent)
+{
+ // Read raw-data. AliTOFdigit is used to
+ // store raw-adata for all sub-detectors.
+
+ //ofstream ftxt;
+ //Char_t fileName[100];
+ //sprintf(fileName,"TOFrawDataReadingFromEVE%d.txt",nEvent);
+
+ //ftxt.open(fileName,ios::app);
+ //ftxt << endl;
+ //ftxt << " " << nEvent << endl;
+
+ const Int_t kDDL = AliDAQ::NumberOfDdls("TOF");
+
+ TClonesArray *tofDigits = new TClonesArray("AliTOFdigit",10000);
+ fTree = new TTree();
+ Int_t bufsize = 32000;
+ TBranch *branch = fTree->Branch("TOF", &tofDigits, bufsize);
+ fTree->GetEntry(0);
+
+ TClonesArray * clonesRawData = 0x0;
+
+ Int_t detectorIndex[5];
+ Int_t digit[4];
+
+ AliTOFRawStream stream(rawReader);
+
+ for (Int_t indexDDL = 0; indexDDL < kDDL; indexDDL++) {
+
+ rawReader->Reset();
+ stream.LoadRawData(indexDDL);
+
+ clonesRawData = (TClonesArray*)stream.GetRawData();
+
+ for (Int_t iRawData = 0; iRawData<clonesRawData->GetEntriesFast(); iRawData++) {
+
+ AliTOFrawData *tofRawDatum = (AliTOFrawData*)clonesRawData->UncheckedAt(iRawData);
+
+ if (tofRawDatum->GetTOT()==-1 || tofRawDatum->GetTOF()==-1) continue;
+
+ digit[0] = tofRawDatum->GetTOF();
+ digit[1] = tofRawDatum->GetTOT();
+ digit[2] = tofRawDatum->GetTOT();
+ digit[3] = -1;
+ /*
+ if (indexDDL<10) ftxt << " " << indexDDL;
+ else ftxt << " " << indexDDL;
+ if (tofRawDatum->GetTRM()<10) ftxt << " " << tofRawDatum->GetTRM();
+ else ftxt << " " << tofRawDatum->GetTRM();
+ ftxt << " " << tofRawDatum->GetTRMchain();
+ if (tofRawDatum->GetTDC()<10) ftxt << " " << tofRawDatum->GetTDC();
+ else ftxt << " " << tofRawDatum->GetTDC();
+ ftxt << " " << tofRawDatum->GetTDCchannel();
+ */
+ stream.EquipmentId2VolumeId(indexDDL, tofRawDatum->GetTRM(), tofRawDatum->GetTRMchain(),
+ tofRawDatum->GetTDC(), tofRawDatum->GetTDCchannel(), detectorIndex);
+ //dummy = detectorIndex[3];
+ //detectorIndex[3] = detectorIndex[4];
+ //detectorIndex[4] = dummy;
+ /*
+ if (detectorIndex[0]<10) ftxt << " -> " << detectorIndex[0];
+ else ftxt << " -> " << detectorIndex[0];
+ ftxt << " " << detectorIndex[1];
+ if (detectorIndex[2]<10) ftxt << " " << detectorIndex[2];
+ else ftxt << " " << detectorIndex[2];
+ ftxt << " " << detectorIndex[3];
+ if (detectorIndex[4]<10) ftxt << " " << detectorIndex[4];
+ else ftxt << " " << detectorIndex[4];
+
+ if (tofRawDatum->GetTOT()<10) ftxt << " " << tofRawDatum->GetTOT();
+ else if (tofRawDatum->GetTOT()>=10 && tofRawDatum->GetTOT()<100) ftxt << " " << tofRawDatum->GetTOT();
+ else if (tofRawDatum->GetTOT()>=100 && tofRawDatum->GetTOT()<1000) ftxt << " " << tofRawDatum->GetTOT();
+ else if (tofRawDatum->GetTOT()>=1000 && tofRawDatum->GetTOT()<10000) ftxt << " " << tofRawDatum->GetTOT();
+ else if (tofRawDatum->GetTOT()>=10000 && tofRawDatum->GetTOT()<100000) ftxt << " " << tofRawDatum->GetTOT();
+ else if (tofRawDatum->GetTOT()>=100000 && tofRawDatum->GetTOT()<1000000) ftxt << " " << tofRawDatum->GetTOT();
+ else ftxt << " " << tofRawDatum->GetTOT();
+ if (tofRawDatum->GetTOF()<10) ftxt << " " << tofRawDatum->GetTOF() << endl;
+ else if (tofRawDatum->GetTOF()>=10 && tofRawDatum->GetTOF()<100) ftxt << " " << tofRawDatum->GetTOF() << endl;
+ else if (tofRawDatum->GetTOF()>=100 && tofRawDatum->GetTOF()<1000) ftxt << " " << tofRawDatum->GetTOF() << endl;
+ else if (tofRawDatum->GetTOF()>=1000 && tofRawDatum->GetTOF()<10000) ftxt << " " << tofRawDatum->GetTOF() << endl;
+ else if (tofRawDatum->GetTOF()>=10000 && tofRawDatum->GetTOF()<100000) ftxt << " " << tofRawDatum->GetTOF() << endl;
+ else if (tofRawDatum->GetTOF()>=100000 && tofRawDatum->GetTOF()<1000000) ftxt << " " << tofRawDatum->GetTOF() << endl;
+ else ftxt << " " << tofRawDatum->GetTOF() << endl;
+ */
+
+ TClonesArray &aDigits = *tofDigits;
+ Int_t last = tofDigits->GetEntriesFast();
+
+ fTOFdigitMap->AddDigit(detectorIndex, last);
+
+ AliDebug(2,Form(" %3i -> %2i %2i %2i %2i %2i %i %i\n",
+ last, detectorIndex[0], detectorIndex[1], detectorIndex[2], detectorIndex[4], detectorIndex[3],
+ digit[1], digit[0]));
+
+ Int_t tracknum[3]={-1,-1,-1};
+ new (aDigits[last]) AliTOFdigit(tracknum, detectorIndex, digit);
+
+ } // while loop
+
+ clonesRawData->Clear();
+
+ } // DDL Loop
+
+ fTree->Fill();
+
+ //ftxt.close();
+}
+
+/* ******************************************************* */
void AliEveTOFDigitsInfo::LoadDigits()
{
vol[0] = digs->GetSector(); // Sector Number (0-17)
vol[1] = digs->GetPlate(); // Plate Number (0-4)
vol[2] = digs->GetStrip(); // Strip Number (0-14/18)
- vol[3] = digs->GetPadx(); // TEvePad Number in x direction (0-47)
- vol[4] = digs->GetPadz(); // TEvePad Number in z direction (0-1)
+ vol[3] = digs->GetPadx(); // Pad Number in x direction (0-47)
+ vol[4] = digs->GetPadz(); // Pad Number in z direction (0-1)
fTOFdigitMap->AddDigit(vol, digitNumber);
//if (digitNumber==digitsTOF->GetEntries()-1) printf(" I am inside LoadDigits %3i \n", digitNumber);
for (Int_t ii=0; ii<3; ii++) {
if (nDigitsInVolume[ii]>=0 ) {
- //printf(" nDigitsInVolume[%2i] = %3i\n ", ii, nDigitsInVolume[ii]);
+ //AliDebug(2,Form(" nDigitsInVolume[%2i] = %3i\n ", ii, nDigitsInVolume[ii]));
digs = (AliTOFdigit*)digitsTOF->UncheckedAt(nDigitsInVolume[ii]);
informations[0] = digs->GetTdc();
informations[1] = digs->GetAdc();
/*
if (digitsTOFnew)
- printf("Sector %2i Plate %1i Strip %2i -> number of digits %3i \n",
- nSector, nPlate, nStrip, digitsTOFnew->GetEntries());
+ AliDebug(2,Form("Sector %2i Plate %1i Strip %2i -> number of digits %3i \n",
+ nSector, nPlate, nStrip, digitsTOFnew->GetEntries()));
*/
return digitsTOFnew;
//Int_t nSector = 1;
Int_t vol[5] = {nSector,-1,-1,-1,-1};
-
+
for(Int_t iPlate=0; iPlate<fGeom->NPlates(); iPlate++){
vol[1] = iPlate;
if(iPlate==2) nStrips=15;
for (Int_t ii=0; ii<3; ii++) {
if (nDigitsInVolume[ii]>=0 ) {
- //printf(" nDigitsInVolume[%2i] = %3i\n ", ii, nDigitsInVolume[ii]);
+
digs = (AliTOFdigit*)digitsTOF->UncheckedAt(nDigitsInVolume[ii]);
informations[0] = digs->GetTdc();
informations[1] = digs->GetAdc();
informations[2] = digs->GetToT();
informations[3] = digs->GetTdcND();
new (ldigits[newCounter++]) AliTOFdigit(dummy, vol, informations);
+
+ AliDebug(2,Form(" %2i -> %2i %2i %2i %2i %2i %7i %7i\n",
+ nDigitsInVolume[ii], vol[0], vol[1], vol[2], vol[4], vol[3],
+ informations[1], informations[0]));
+
}
}
/*
if (digitsTOFnew)
- printf("Sector %2i Plate %1i Strip %2i -> number of digits %3i \n",
- nSector, nPlate, nStrip, digitsTOFnew->GetEntries());
+ AliDebug(Form(("Sector %2i Plate %1i Strip %2i -> number of digits %3i \n",
+ nSector, nPlate, nStrip, digitsTOFnew->GetEntries()));
*/
return digitsTOFnew;
}
/* ******************************************************* */
+Int_t AliEveTOFDigitsInfo::GetTOFInfos() const
+{
+
+ return fTOFdigitMap->GetFilledCellNumber();
+
+}
+
+/* ******************************************************* */
+Int_t AliEveTOFDigitsInfo::IsStripFilled(Int_t iSector, Int_t iPlate, Int_t iStrip)
+{
+
+ Int_t vol[5] = {iSector, iPlate, iStrip, -1, -1};
+
+ Int_t index = 0;
+
+ for (Int_t iPadZ=0; iPadZ<fGeom->NpadZ(); iPadZ++)
+ for (Int_t iPadX=0; iPadX<fGeom->NpadX(); iPadX++)
+ {
+ vol[3] = iPadX;
+ vol[4] = iPadZ;
+ if (fTOFdigitMap->GetDigitIndex(vol,0)>=0) index++;
+ }
+
+ return index;
+
+}
+
+/* ******************************************************* */
void AliEveTOFDigitsInfo::GetDigits()
{
#include <TEveVSD.h>
-//#include <map>
-
#include <TObject.h>
#include <TClonesArray.h>
#include <TTree.h>
+#include <AliRawReader.h>
+
#include <AliTOF.h>
#include <AliTOFGeometry.h>
#include <AliTOFDigitMap.h>
-
+
class AliEveTOFDigitsInfo : public TObject, public TEveRefCnt
{
AliEveTOFDigitsInfo(const AliEveTOFDigitsInfo&); // Not implemented
AliEveTOFDigitsInfo& operator=(const AliEveTOFDigitsInfo&); // Not implemented
-
+
private:
protected:
AliEveTOFDigitsInfo();
virtual ~AliEveTOFDigitsInfo();
-
+
void SetTree(TTree* tree);
+ void ReadRaw(AliRawReader* rawReader, Int_t nEvent);
void LoadDigits();
- //TClonesArray* GetDigits(Int_t nSector,
void GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip,
Int_t nPadZ, Int_t nPadX,
Int_t indexDigit[3]);
TClonesArray* GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip);
TClonesArray* GetDigits(Int_t nSector);
+
+ Int_t IsStripFilled(Int_t iSector, Int_t iPlate, Int_t iStrip);
+ Int_t GetTOFInfos() const;
void GetDigits();
+ TTree* GetTree() {return fTree;};
+
+
ClassDef(AliEveTOFDigitsInfo, 1);
}; // endclass AliEveTOFDigitsInfo
fSector(-1),
fDx(0), fDy(0), fDz(0),
fAutoTrans (kTRUE),
- fMinTime (0), fMaxTime (0),
- fThreshold (5), fMaxVal (80),
+ //fMinTime (0), fMaxTime (0),
+ fThreshold (5), fMaxVal (80),
fSectorID (0),
- fPlateFlag (0), fPlateFlag0(kFALSE), fPlateFlag1(kFALSE), fPlateFlag2(kFALSE), fPlateFlag3(kTRUE), fPlateFlag4(kFALSE),
- fFrameColor(4),
- fRnrFrame (kFALSE),
+ //fPlateFlag0(kTRUE), fPlateFlag1(kTRUE), fPlateFlag2(kTRUE), fPlateFlag3(kTRUE), fPlateFlag4(kTRUE),
+ fPlateFlag (0x0),
+ //fFrameColor(4),
+ //fRnrFrame (kFALSE),
fGeoManager(0)
{
fPlateFlag = new Bool_t[5];
for (Int_t ii=0; ii<5; ii++) fPlateFlag[ii]=kTRUE;
- fGeoManager = (TGeoManager*)gEve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
+
+ //fGeoManager = (TGeoManager*)gEve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
if (!fGeoManager) {
printf("ERROR: no TGeo\n");
}
-}
+}
/* ************************************************************************ */
-AliEveTOFSector::AliEveTOFSector(TGeoManager *localGeoManager, Int_t nSector) :
- TEveQuadSet(Form("Sector%i", nSector)),
+AliEveTOFSector::AliEveTOFSector(TGeoManager *localGeoManager,
+ Int_t nSector)
+ :
+ TEveQuadSet(Form("Sector%i",nSector)),
fTOFgeometry(new AliTOFGeometry()),
fTOFarray(0x0),
fTOFtree(0x0),
fSector(nSector),
fDx(0), fDy(0), fDz(0),
fAutoTrans (kTRUE),
- fMinTime (0), fMaxTime (0),
+ //fMinTime (0), fMaxTime (0),
fThreshold (5), fMaxVal (80),
fSectorID (nSector),
- fPlateFlag (0), fPlateFlag0(kFALSE), fPlateFlag1(kFALSE), fPlateFlag2(kFALSE), fPlateFlag3(kTRUE), fPlateFlag4(kFALSE),
- fFrameColor(4),
- fRnrFrame (kFALSE),
+ //fPlateFlag0(kTRUE), fPlateFlag1(kTRUE), fPlateFlag2(kTRUE), fPlateFlag3(kTRUE), fPlateFlag4(kTRUE),
+ fPlateFlag (0x0),
+ //fFrameColor(4),
+ //fRnrFrame (kFALSE),
fGeoManager(localGeoManager)
{
*/
InitModule();
-}
+}
/* ************************************************************************ */
AliEveTOFSector::AliEveTOFSector(TGeoManager *localGeoManager,
fSector(nSector),
fDx(0), fDy(0), fDz(0),
fAutoTrans (kTRUE),
- fMinTime (0), fMaxTime (0),
- fThreshold (5), fMaxVal (80),
+ //fMinTime (0), fMaxTime (0),
+ fThreshold (5), fMaxVal (80),
fSectorID (nSector),
- fPlateFlag (0), fPlateFlag0(kFALSE), fPlateFlag1(kFALSE), fPlateFlag2(kFALSE), fPlateFlag3(kTRUE), fPlateFlag4(kFALSE),
- fFrameColor(4),
- fRnrFrame (kFALSE),
+ //fPlateFlag0(kTRUE), fPlateFlag1(kTRUE), fPlateFlag2(kTRUE), fPlateFlag3(kTRUE), fPlateFlag4(kTRUE),
+ fPlateFlag (0x0),
+ //fFrameColor(4),
+ //fRnrFrame (kFALSE),
fGeoManager(localGeoManager)
{
InitModule();
}
-
/* ************************************************************************ */
-AliEveTOFSector::AliEveTOFSector(TGeoManager* localGeoManager,
- Int_t nSector, TTree *tofTree) :
- TEveQuadSet(Form("Sector%i", nSector)),
+AliEveTOFSector::AliEveTOFSector(TGeoManager *localGeoManager,
+ Int_t nSector,
+ TTree *tofTree)
+ :
+ TEveQuadSet(Form("Sector%i",nSector)),
fTOFgeometry(new AliTOFGeometry()),
fTOFarray(0x0),
fTOFtree(tofTree),
fSector(nSector),
fDx(0), fDy(0), fDz(0),
fAutoTrans (kTRUE),
- fMinTime (0), fMaxTime (0),
- fThreshold (5), fMaxVal (80),
+ //fMinTime (0), fMaxTime (0),
+ fThreshold (5), fMaxVal (80),
fSectorID (nSector),
- fPlateFlag (0), fPlateFlag0(kFALSE), fPlateFlag1(kFALSE), fPlateFlag2(kFALSE), fPlateFlag3(kTRUE), fPlateFlag4(kFALSE),
- fFrameColor(4),
- fRnrFrame (kFALSE),
+ //fPlateFlag0(kTRUE), fPlateFlag1(kTRUE), fPlateFlag2(kTRUE), fPlateFlag3(kTRUE), fPlateFlag4(kTRUE),
+ fPlateFlag (0x0),
+ //fFrameColor(4),
+ //fRnrFrame (kFALSE),
fGeoManager(localGeoManager)
{
fgTOFsectorFrameBox->SetFrameColor((Color_t) 32);//31);
//fgTOFsectorPalette = new TEveRGBAPalette(0, 2048); // TOT
- fgTOFsectorPalette = new TEveRGBAPalette(0, 8192/*1024*/); // TDC
- fgTOFsectorPalette->SetLimits(0, 8192);
+ //fgTOFsectorPalette->SetLimits(0, 2048);
+ fgTOFsectorPalette = new TEveRGBAPalette(0, 8192); // TDC
+ //fgTOFsectorPalette->SetLimits(0, 8192);
fgStaticInitDone = kTRUE;
}
void AliEveTOFSector::LoadQuads()
{
- Reset(kQT_FreeQuad, kFALSE, 32);
-
//Int_t n_col = gStyle->GetNumberOfColors();
Int_t vol[5] = {fSectorID, -1, -1, -1, -1};
Double_t **coord = new Double_t*[4];
for (Int_t ii=0; ii<4; ii++) coord[ii] = new Double_t[3];
+ Reset(kQT_FreeQuad, kFALSE, 32);
+
//printf(" fTOFarray->GetEntries() = %4i \n",fTOFarray->GetEntries());
if (fTOFtree && !fTOFarray) {
vol[1] = digs->GetPlate(); // Plate Number (0-4)
vol[2] = digs->GetStrip(); // Strip Number (0-14/18)
- vol[3] = digs->GetPadx(); // TEvePad Number in x direction (0-47)
- vol[4] = digs->GetPadz(); // TEvePad Number in z direction (0-1)
+ vol[3] = digs->GetPadx(); // Pad Number in x direction (0-47)
+ vol[4] = digs->GetPadz(); // Pad Number in z direction (0-1)
informations[0] = digs->GetTdc();
informations[1] = digs->GetAdc();
// In principle could have color based on number of neigbours. We
// can insert the time-of-flight value for each pad
+
//QuadValue((Int_t)tot);
QuadValue((Int_t)tdc);
QuadId(tofDigit);
void AliEveTOFSector::DigitSelected(Int_t idx)
{
- // Override control-click from TEveQuadSet.
+ // Override control-click from TEveQuadSet
DigitBase_t* qb = GetDigit(idx);
TObject* obj = qb->fId.GetObject();
AliTOFdigit* digs = dynamic_cast<AliTOFdigit*>(obj);
// printf("AliEveTOFSector::QuadSelected "); Print();
+ /*
printf(" idx = %5i, value = %5d, obj = 0x%lx, digit = 0x%lx ",
idx, qb->fValue, (ULong_t)obj, (ULong_t)digs);
+ */
if (digs)
- printf("-> Sector = %2i Plate = %1i Strip = %2i ToT = %3i Tof = %5i\n",
- fSector , digs->GetPlate(), digs->GetStrip(), digs->GetToT(), digs->GetTdc());
+ printf("\n Sector = %2i Plate = %1i Strip = %2i PadZ = %1i PadX = %2i ToT = %3i Tof = %5i\n",
+ fSector , digs->GetPlate(), digs->GetStrip(), digs->GetPadz(), digs->GetPadx(), digs->GetToT(), digs->GetTdc());
else printf("\n");
}
#include <AliTOFGeometry.h>
-
+
class AliEveTOFSector : public TEveQuadSet
-
+
{
AliEveTOFSector(const AliEveTOFSector&); // Not implemented
AliEveTOFSector& operator=(const AliEveTOFSector&); // Not implemented
-
+
//Int_t fSectorID;
private:
Float_t fDz;
///////////////////////////////
- Bool_t fAutoTrans;
- Int_t fMinTime;
- Int_t fMaxTime;
+ Bool_t fAutoTrans;
+ //Int_t fMinTime;
+ //Int_t fMaxTime;
Short_t fThreshold;
Int_t fMaxVal;
Int_t fSectorID;
Bool_t *fPlateFlag;
- Bool_t fPlateFlag0;
- Bool_t fPlateFlag1;
- Bool_t fPlateFlag2;
- Bool_t fPlateFlag3;
- Bool_t fPlateFlag4;
+ //Bool_t fPlateFlag0;
+ //Bool_t fPlateFlag1;
+ //Bool_t fPlateFlag2;
+ //Bool_t fPlateFlag3;
+ //Bool_t fPlateFlag4;
- Color_t fFrameColor;
- Bool_t fRnrFrame;
+ //Color_t fFrameColor;
+ //Bool_t fRnrFrame;
TGeoManager *fGeoManager;
// Bool_t fAutoTrans;
virtual void InitModule();
- virtual void SetTrans();
+ virtual void SetTrans();
AliEveTOFSector(const Text_t* n="AliEveTOFSector", const Text_t* t=0);
AliEveTOFSector(TGeoManager *localGeoManager, Int_t nSector);
-
+
AliEveTOFSector(TGeoManager *localGeoManager, Int_t nSector,
TClonesArray *tofArray);
AliEveTOFSector(TGeoManager *localGeoManager,
AliEveTOFSectorEditor::AliEveTOFSectorEditor(const TGWindow *p, Int_t width, Int_t height,
UInt_t options, Pixel_t back) :
TGedFrame(p, width, height, options | kVerticalFrame, back),
- fM(0),
- fSectorID(0), fAutoTrans(0),
- fPlate(0), fPlate0(0), fPlate1(0), fPlate2(0), fPlate3(0), fPlate4(0),
- fThreshold(0), fMaxVal(0)
+ fM(0) ,
+ fSectorID (0), fAutoTrans (0),
+ fPlate (0),
+ fPlate0(0), fPlate1(0), fPlate2(0), fPlate3(0), fPlate4(0),
+ fThreshold (0), fMaxVal(0)
{
fPlate = new TGCheckButton*[5];
}
+/******************************************************************************/
+
AliEveTOFSectorEditor::~AliEveTOFSectorEditor()
{
delete [] fPlate;
fMaxVal->SetValue(fM->GetMaxVal());
Update();
}
+
+/*
+void AliEveTOFSectorEditor::DoTime()
+{
+ fM->SetMinTime((Int_t) fTime->GetMin());
+ fM->SetMaxTime((Int_t) fTime->GetMax());
+ Update();
+}
+*/
fGeoManager(0)
{
- fGeoManager = (TGeoManager*)gEve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
+ //fGeoManager = (TGeoManager*)gEve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");
if (!fGeoManager) printf("ERROR: no TGeo\n");
}
public:
AliEveTOFStrip(const Text_t* n="AliEveTOFStrip", const Text_t* t=0);
AliEveTOFStrip(TGeoManager *localGeoManager,
- Int_t nSector, Int_t nPlate, Int_t nStrip);
+ Int_t nSector, Int_t nPlate, Int_t nStrip);
AliEveTOFStrip(TGeoManager *localGeoManager,
- Int_t nSector, Int_t nPlate, Int_t nStrip,
- TClonesArray *tofArray);
+ Int_t nSector, Int_t nPlate, Int_t nStrip,
+ TClonesArray *tofArray);
virtual ~AliEveTOFStrip();
static Bool_t fgStaticInitDone;
* full copyright notice. *
**************************************************************************/
+
#include "AliEveTOFStripEditor.h"
#include <EveDet/AliEveTOFStrip.h>
#include <TGColorSelect.h>
#include <TGDoubleSlider.h>
-
//______________________________________________________________________________
// AliEveTOFStripEditor
//
* full copyright notice. *
**************************************************************************/
+
#ifndef ALIEVE_TOFStripEditor_H
#define ALIEVE_TOFStripEditor_H
class TGNumberEntry;
class TGColorSelect;
+
class AliEveTOFStrip;
ClassDef(AliEveTOFStripEditor, 0); // Editor for AliEveTOFStrip
}; // endclass AliEveTOFStripEditor
+
#endif