Changeset 2268 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 07/07/03 16:22:51 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/CT1collarea.C
r2261 r2268 24 24 \* ======================================================================== */ 25 25 26 #include "/home/magic/Mars/mhistmc/MHMcCT1CollectionArea.h" 26 27 27 28 void CT1collarea(TString filename="MC_SC4.root", TString outname="") 28 29 { 30 29 31 // 30 32 // first we have to create our empty lists … … 47 49 MBinning binsx("BinningE"); 48 50 49 // binsx.SetEdges(30,2.,5.); 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 53 51 /* 54 52 Double_t xedge[15] = {2.47712, 2.64345, 2.82607, 3., 3.17609, 3.35218, 3.52892, 3.70415, 3.88024, 4.05652, 4.23274, 4.40875, 4.58478, 4.76080, 4.90309}; 55 56 53 const TArrayD xed; 57 54 xed.Set(15,xedge); 58 55 binsx.SetEdges(xed); 56 collarea->SetEaxis(kLog10Energy); 57 */ 58 59 // 60 // SetEaxis tells MHMcCT1CollectionArea whether the variable to histogram 61 // is the Energy (argument is kEnergy) or its decimal logarithm 62 // (kLog10Energy). Of course this depends on how the energy binning is 63 // defined via the object binsx. 64 // 65 binsx.SetEdgesLog(14,300,1.e5); 66 collarea->SetEaxis(kEnergy); 67 59 68 60 69 MBinning binsy("BinningTheta");
Note:
See TracChangeset
for help on using the changeset viewer.