Changes in modules/ClusterCounting.cc [6216fb2:d4fb268] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/ClusterCounting.cc
r6216fb2 rd4fb268 1 1 /* 2 2 * Delphes: a framework for fast simulation of a generic collider experiment 3 3 * Copyright (C) 2020 Universite catholique de Louvain (UCLouvain), Belgium … … 28 28 */ 29 29 30 //FIXME add reference to Bedeschi-code 31 //FIXME make sure about units of P, X 32 //FIXME fix pt > 200 GeV issue and angle > 6.41 33 30 34 #include "modules/ClusterCounting.h" 35 31 36 #include "classes/DelphesClasses.h" 32 37 #include "TrackCovariance/TrkUtil.h" … … 103 108 { 104 109 Candidate *candidate, *mother, *particle; 105 Double_t mass, trackLength,Ncl;110 Double_t mass, Ncl; 106 111 107 112 fItInputArray->Reset(); … … 119 124 mass = candidateMomentum.M(); 120 125 121 trackLength = fTrackUtil->TrkLen(Par);122 123 126 mother = candidate; 124 127 candidate = static_cast<Candidate*>(candidate->Clone()); 125 128 126 Ncl = 0.; 127 if (fTrackUtil->IonClusters(Ncl, mass, Par)) 129 Ncl = -999; 130 // computation of Nclusters is not supported for electrons 131 if (TMath::Abs(particle->PID) == 11) 128 132 { 129 133 candidate->Nclusters = Ncl; 130 candidate->dNdx = (trackLength > 0.) ? Ncl/trackLength : -1;131 134 } 135 else if (fTrackUtil->IonClusters(Ncl, mass, Par)) 136 { 137 candidate->Nclusters = Ncl; 138 } 139 //cout<<candidate->PID<<", "<<mass<<", "<<candidate->Nclusters<<endl; 132 140 133 141 candidate->AddCandidate(mother);
Note:
See TracChangeset
for help on using the changeset viewer.