// ----------------------------------------------------------------------------------------------------- // // // // Compute expected numbers of WW->dilepton events in different measurement channels, based on // // Monte Carlo numbers, cross sections, and luminosities. // // // // Instructions : // // ============== // // (1) Set the flag "apply_syst", depending on whether systematic error estimates are to be included // // in the grand summary tables. // // WARNING : in general, systematic errors are assumed uncorrelated between different dilepton // // channels and background sources (the WW signal systematic is treated differently, because we // // know that the dominant systematic error sources (e.g. pT(WW) distribution) are common between // // e-e, e-mu and mu-mu. Correlations should be studied in detail and the appropriate modifications // // made to the error combination code. // // // // (2) For each background type, enter : // // (i) the number of events analysed // // (ii) the cross section in pb // // (iii) the filter efficiency (e.g. reported by HEPG filter in simulation log file). // // Set to 1.0 if no filter was applied. For the WW signal, the branching ratio is applied // // here. // // (iv) any k-factor that should be applied to the cross section in (ii). Note that if (ii) is // // already the best estimate (NLO or NNLO) of the cross section, no k-factor should be // // specified here. // // (v) systematic error estimate. // // (vi) the input ROOT file containing the cut counter 2-d histogram. // // // // (3) Specificy the variable "luminosity_systematic", currently 6%. // // // // (4) Specify the luminosities (in pb-1) for the different run ranges used in the analysis : // // (i) lum_nosi : good run list without silicon requirement (usually the largest number). // // (ii) lum_nosicmx : CMX good run list without silicon requirement. // // (iii) lum_si : good run list with silicon requirement. // // (iv) lum_sicmx : CMX good run list with silicon requirement (usually the smallest number). // // // // (5) Specify the trigger scale factors. Relevant CDF notes listed below. // // // // (6) Specify the (data/MC) efficiency scale factors. Relevant CDF notes listed below. // // // // (7) Run : setup CDF software, then > gmake clean; gmake; ./ww_dilepton.exe // // // // // // // // Date Person Notes // // ============================================================================================ // // 29.07.03 Dave Waters First version. // // // // ----------------------------------------------------------------------------------------------------- // #include #include #include #include #include #include #include #include #include "TFile.h" #include "TH1F.h" #include "TH2F.h" #include "TRandom3.h" #include "TVector3.h" #include "TMath.h" using std::cout; using std::hex; using std::dec; using std::endl; typedef std::vector rowd; typedef std::vector tabled; typedef std::vector rowi; typedef std::vector tablei; typedef std::vector label; typedef std::vector