Fork me on GitHub

Changeset b4a3c55 in git


Ignore:
Timestamp:
Jan 20, 2020, 2:19:47 PM (5 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
Timing
Children:
9867b49
Parents:
d4e5b6a
Message:

added energy loss module

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cards/FCC/FCChh_PileUpVtx.tcl

    rd4e5b6a rb4a3c55  
    2929  MuonMomentumSmearing
    3030
     31  EnergyLoss
     32
    3133  TrackMerger
     34
    3235
    3336  TrackSmearing
     
    149152  set Bz 4.0
    150153}
    151 
    152154
    153155
     
    252254}
    253255
     256#################################
     257# Charged Energy Loss (dE/dx)
     258#################################
     259
     260module EnergyLoss EnergyLoss {
     261  add InputArray ChargedHadronMomentumSmearing/chargedHadrons
     262  add InputArray ElectronMomentumSmearing/electrons
     263  add InputArray MuonMomentumSmearing/muons
     264}
     265
    254266##############
    255267# Track merger
     
    263275  set OutputArray tracks
    264276}
     277
    265278
    266279
  • classes/DelphesClasses.cc

    rd4e5b6a rb4a3c55  
    148148  Phi(0), ErrorPhi(0),
    149149  Xd(0), Yd(0), Zd(0), Td(0),
     150  DeDx(0),
    150151  VertexingWeight(0),
    151152  TrackResolution(0),
     
    306307  object.Area = Area;
    307308  object.L = L;
     309  object.DeDx = DeDx;
    308310  object.ErrorT = ErrorT;
    309311  object.D0 = D0;
     
    437439  Area.SetXYZT(0.0, 0.0, 0.0, 0.0);
    438440  L = 0.0;
     441  DeDx = 0.0;
    439442  ErrorT = 0.0;
    440443  D0 = 0.0;
  • classes/DelphesClasses.h

    rd4e5b6a rb4a3c55  
    477477  Float_t ErrorDZ; // track longitudinal impact parameter error
    478478
     479  Float_t DeDx; // track charged energy loss in MeV/cm
     480
    479481  TRef Particle; // reference to generated particle
    480482
     
    567569
    568570  Int_t VertexIndex; // reference to vertex
     571
     572  Float_t DeDx; // track charged energy loss in MeV/cm
    569573
    570574  static CompBase *fgCompare; //!
     
    674678  Float_t Zd;
    675679
     680  // PID variables
     681  Float_t DeDx; // track charged energy loss in MeV/cm
     682
     683
    676684  // Vertexing variables
    677685  Float_t VertexingWeight;
  • modules/ModulesLinkDef.h

    rd4e5b6a rb4a3c55  
    3232#include "modules/ParticlePropagator.h"
    3333#include "modules/Efficiency.h"
     34#include "modules/EnergyLoss.h"
    3435#include "modules/IdentificationMap.h"
    3536#include "modules/EnergySmearing.h"
     
    8990#pragma link C++ class ParticlePropagator+;
    9091#pragma link C++ class Efficiency+;
     92#pragma link C++ class EnergyLoss+;
    9193#pragma link C++ class IdentificationMap+;
    9294#pragma link C++ class EnergySmearing+;
  • modules/TreeWriter.cc

    rd4e5b6a rb4a3c55  
    346346
    347347    entry->L = candidate->L;
     348    entry->DeDx = candidate->DeDx; // in MeV/cm
    348349
    349350    entry->D0 = candidate->D0;
     
    492493
    493494    entry->L = candidate->L;
     495    entry->DeDx = candidate->DeDx;
    494496
    495497    entry->D0 = candidate->D0;
Note: See TracChangeset for help on using the changeset viewer.