1 #include "AliEveTRDDataEditor.h"
2 #include "AliEveTRDData.h"
4 ClassImp(AliEveTRDHitsEditor)
5 //ClassImp(AliEveTRDDigitsEditor)
7 ///////////////////////////////////////////////////////////
8 //////////// AliEveTRDHitsEditor ///////////////////
9 ///////////////////////////////////////////////////////////
10 AliEveTRDHitsEditor::AliEveTRDHitsEditor(const TGWindow* p, Int_t width, Int_t height,
11 UInt_t options, Pixel_t back) :
12 TGedFrame(p, width, height, options, back)
17 MakeTitle("TRD Points");
20 void AliEveTRDHitsEditor::SetModel(TObject* obj)
24 fM = dynamic_cast<AliEveTRDHits*>(obj);
27 // for(int ihit=0; ihit<fM->GetN(); ihit++){
28 // fM->GetPoint(ihit, x, y, z);
29 // printf("%3d : x=%6.3f y=%6.3f z=%6.3f\n", ihit, x, y, z);
33 ///////////////////////////////////////////////////////////
34 ///////////// AliEveTRDDigitsEditor /////////////////////
35 ///////////////////////////////////////////////////////////
36 // AliEveTRDDigitsEditor::AliEveTRDDigitsEditor(const TGWindow* p, Int_t width, Int_t height,
37 // UInt_t options, Pixel_t back) :
38 // TGedFrame(p, width, height, options, back)
43 // MakeTitle("TRD Pixels");
46 // void AliEveTRDDigitsEditor::SetModel(TObject* obj)
48 // // Set model object.
50 // fM = dynamic_cast<AliEveTRDDigits*>(obj);
51 // //fM->fParent->SpawnEditor();
53 // // printf("Chamber %d", fM->fParent->GetID());
54 // // for (Int_t row = 0; row < fM->fParent->GetRowMax(); row++)
55 // // for (Int_t col = 0; col < fM->fParent->GetColMax(); col++)
56 // // for (Int_t time = 0; time < fM->fParent->GetTimeMax(); time++) {
57 // // printf("\tA(%d %d %d) = %d\n", row, col, time, fM->fData.GetDataUnchecked(row, col, time));