Fork me on GitHub

Changes in / [771843a:b5e2583] in git


Ignore:
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • modules/PdgCodeFilter.cc

    r771843a rb5e2583  
    7676  fInvert = GetBool("Invert", false);
    7777
    78   // no pileup
    79   fRequireNotPileup = GetBool("RequireNotPileup", false);
    80 
    8178  fRequireStatus = GetBool("RequireStatus", false);
    8279  fStatus = GetInt("Status", 1);
     
    130127    if(fRequireStatus && (candidate->Status != fStatus)) continue;
    131128    if(fRequireCharge && (candidate->Charge != fCharge)) continue;
    132     if(fRequireNotPileup && (candidate->IsPU   >0     )) continue;
    133129
    134130    pass = kTRUE;
  • modules/PdgCodeFilter.h

    r771843a rb5e2583  
    5555  Bool_t fRequireCharge; //!
    5656  Int_t fCharge; //!
    57   Bool_t fRequireNotPileup; //!
     57
    5858
    5959  std::vector<Int_t> fPdgCodes;
  • modules/StatusPidFilter.cc

    r771843a rb5e2583  
    153153{
    154154  // PT threshold
     155
    155156  fPTMin = GetDouble("PTMin", 0.5);
    156 
    157   // keep or remove pileup particles
    158   fRequireNotPileup = GetBool("RequireNotPileup", false);
    159157
    160158  // import input array
     
    229227    if(!pass || (candidate->Momentum.Pt() < fPTMin && !(is_b_hadron || is_b_quark || is_tau_daughter || is_W_daughter)) ) continue;
    230228
    231     // not pileup particles
    232     if(fRequireNotPileup && (candidate->IsPU >0)) continue;
    233 
    234229    fOutputArray->Add(candidate);
    235230  }
  • modules/StatusPidFilter.h

    r771843a rb5e2583  
    5151  Double_t fPTMin; //!
    5252
    53   Bool_t fRequireNotPileup; //!
    54 
    5553  TIterator *fItInputArray; //!
    5654
  • readers/DelphesProMC.cpp

    r771843a rb5e2583  
    125125    candidate->Status = status;
    126126
    127     candidate->IsPU=0;
    128     if (mutableParticles->barcode(i)>0) candidate->IsPU=1; // pileup particle
    129 
    130127    candidate->M1 = mutableParticles->mother1(i);
    131128    candidate->M2 = mutableParticles->mother2(i);
     
    234231      cout << "** Reading " << argv[i] << endl;
    235232
    236       // use 64 bit
    237       //inputFile = new ProMCBook(argv[i], "r", true);
    238 
    239       //use 32 bit zip (faster but limitted to 64k events)
    240233      inputFile = new ProMCBook(argv[i], "r");
    241234
Note: See TracChangeset for help on using the changeset viewer.