Changeset 2256 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 07/01/03 12:30:55 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/CT1collarea.C
r1988 r2256 25 25 26 26 27 void CT1collarea(TString filename="MC 3.root", TString outname="")27 void CT1collarea(TString filename="MC1.root", TString outname="") 28 28 { 29 29 // … … 46 46 47 47 MBinning binsx("BinningE"); 48 binsx.SetEdges(30,2.,5.); 48 // binsx.SetEdges(30,2.,5.); 49 50 Double_t xedge[10] = 51 {2.50515, 2.69897, 2.89763, 3.09691, 3.30103, 3.49969, 3.69984, 3.89982, 4.10003, 4.29994}; 52 const TArrayD xed; 53 xed.Set(10,xedge); 54 binsx.SetEdges(xed); 49 55 50 56 MBinning binsy("BinningTheta"); 51 const Double_t yedge[7] = {12.5, 17.5, 23.5, 29.5, 35.5, 42., 48.}; 52 const TArrayD yed(7,yedge); 57 const Double_t yedge[7] = {0.0, 17.5, 23.5, 29.5, 35.5, 42., 50.}; 58 const TArrayD yed; 59 yed.Set(7,yedge); 53 60 binsy.SetEdges(yed); 54 61 … … 59 66 tasklist.AddToList(&reader); 60 67 68 /* 61 69 MF filterhadrons("HadNN.fHadronness<0.25"); 62 70 tasklist.AddToList(&filterhadrons); 71 */ 63 72 64 73 MFillH filler("MHMcCT1CollectionArea","MMcEvt"); 65 filler.SetFilter(&filterhadrons);74 // filler.SetFilter(&filterhadrons); 66 75 tasklist.AddToList(&filler); 67 76
Note:
See TracChangeset
for help on using the changeset viewer.