Fork me on GitHub

Changeset 29b722a in git for modules/CscClusterId.cc


Ignore:
Timestamp:
Dec 9, 2021, 8:42:12 PM (3 years ago)
Author:
christinaw97 <christina.wang@…>
Children:
a09b75f
Parents:
d612dec
Message:

Added DelphesCscClusterFormula

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/CscClusterId.cc

    rd612dec r29b722a  
    2929#include "classes/DelphesClasses.h"
    3030#include "classes/DelphesFactory.h"
    31 #include "classes/DelphesFormula.h"
     31#include "classes/DelphesCscClusterFormula.h"
    3232
    3333#include "ExRootAnalysis/ExRootClassifier.h"
     
    5555  fFormula(0), fItInputArray(0)
    5656{
    57   fFormula = new DelphesFormula;
     57  fFormula = new DelphesCscClusterFormula;
    5858}
    5959
     
    113113    eta = (cosTheta == 1.0 ? signPz * 999.9 : momentum.Eta());
    114114
    115     NStationEff = fFormula->Eval(decayR, decayZ, Ehad); //pt is used as argument in DelphesFormula
     115    NStationEff = fFormula->Eval(decayR, decayZ, Ehad); //pt is used as argument in DelphesCscClusterFormula
    116116
    117117    // assign average station for the cluster
Note: See TracChangeset for help on using the changeset viewer.