Fork me on GitHub

Changeset 526 in svn for trunk/interface/SmearUtil.h


Ignore:
Timestamp:
Aug 14, 2009, 2:20:19 PM (15 years ago)
Author:
Xavier Rouby
Message:

moving to TRandom3 for random numbers; BTAG_* are now 'float' and not 'int'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/interface/SmearUtil.h

    r494 r526  
    4242#include <string>
    4343#include "TLorentzVector.h"
     44#include "TRandom3.h"
    4445
    4546#include "D_Constants.h"
     
    9091  RESOLution(const RESOLution & DET);
    9192  RESOLution& operator=(const RESOLution& DET);
    92   ~RESOLution() { delete [] TOWER_eta_edges; delete [] TOWER_dphi;};
     93  ~RESOLution() { delete [] TOWER_eta_edges; delete [] TOWER_dphi; delete grandom;};
    9394 
    9495  // Detector coverage for the central detector
     
    215216 
    216217 //tagging definition
    217  int BTAG_b;         
    218  int BTAG_mistag_c;
    219  int BTAG_mistag_l;
     218 float BTAG_b;         
     219 float BTAG_mistag_c;
     220 float BTAG_mistag_l;
    220221 
    221222
     
    236237 PdgTable PDGtable;
    237238 string inputfilelist, detectorcard, triggercard;
     239 TRandom3 * grandom;
    238240
    239241  // to sort a vector
Note: See TracChangeset for help on using the changeset viewer.