FEDRA emulsion software from the OPERA Collaboration
testd.C File Reference

Functions

void testd ()
 

Variables

EdbDisplayds
 

Function Documentation

◆ testd()

void testd ( )
3 {
4 gStyle->SetPalette(1);
5 ds=new EdbDisplay("display-t",-6000.,6000.,-6000.,6000.,-40050,110.);
6 //float plate[3]={207.,1380.,207.};
7 ds->SetCuts(-9000,9000,-9000,9000);
8  TTree *tree;
9 // TFile *f = new TFile("linked_couples.root");
10 // if (f) tree = (TTree*)f->Get("couples");
11  TFile *f = new TFile("linked_tracks.root");
12  if (f) tree = (TTree*)f->Get("tracks");
13  ds->SetAffine(1,0,0,1,0,0);
14 // ds->AddCouplesTree(tree,plate,0.,-1.,1.,-1.,1.);
15  ds->SetNsegmin(5);
16  ds->AddTracksTree(tree,0.,-1.,1.,-1.,1.);
17 // ds->AddCouplesTree(tree,plate,0.,-1.,-.01,-1.,-.01);
18 // ds->AddCouplesTree(tree,plate,0.,.01,1.,-1.,-.01);
19 // ds->AddCouplesTree(tree,plate,0.,-1.,-.01,-1.,-.01);
20 // ds->AddCouplesTree(tree,plate,0.,.01,1.,.01,1.);
21 /* TFile *f = new TFile("02_001.cp.root");
22  if (f) tree = (TTree*)f->Get("couples");
23  ds->SetAffine();
24  ds->AddCouplesTree(tree,plate,-300.);
25  TFile *f = new TFile("03_001.cp.root");
26  if (f) tree = (TTree*)f->Get("couples");
27  ds->SetAffine();
28  ds->AddCouplesTree(tree,plate,-600.);
29  TFile *f = new TFile("04_001.cp.root");
30  if (f) tree = (TTree*)f->Get("couples");
31  ds->SetAffine();
32  ds->AddCouplesTree(tree,plate,-1990.);
33 */
34  ds->Draw();
35 }
FILE * f
Definition: RecDispMC.C:150
virtual void Draw(Option_t *option="")
Definition: EdbDisplayBase.cxx:786
Definition: EdbDisplay.h:21
EdbDisplay * ds
Definition: testd.C:1

Variable Documentation

◆ ds