Fork me on GitHub

Changes in / [25291dd:4e5ed02] in git


Ignore:
Files:
8 added
23 deleted
28 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r25291dd r4e5ed02  
    8989DISPLAYLIB = libDelphesDisplay.lib
    9090
    91 VERSION = x.y.z
     91VERSION = $(shell cat VERSION)
    9292DISTDIR = Delphes-$(VERSION)
    9393DISTTAR = $(DISTDIR).tar.gz
     
    174174tmp/examples/Example1.$(ObjSuf): \
    175175        examples/Example1.cpp \
     176        classes/DelphesClasses.h \
     177        external/ExRootAnalysis/ExRootResult.h \
     178        external/ExRootAnalysis/ExRootTreeBranch.h \
     179        external/ExRootAnalysis/ExRootTreeReader.h \
     180        external/ExRootAnalysis/ExRootTreeWriter.h \
     181        external/ExRootAnalysis/ExRootUtilities.h
     182DelphesValidation$(ExeSuf): \
     183        tmp/validation/DelphesValidation.$(ObjSuf)
     184
     185tmp/validation/DelphesValidation.$(ObjSuf): \
     186        validation/DelphesValidation.cpp \
    176187        classes/DelphesClasses.h \
    177188        external/ExRootAnalysis/ExRootResult.h \
     
    188199        stdhep2pileup$(ExeSuf) \
    189200        CaloGrid$(ExeSuf) \
    190         Example1$(ExeSuf)
     201        Example1$(ExeSuf) \
     202        DelphesValidation$(ExeSuf)
    191203
    192204EXECUTABLE_OBJ +=  \
     
    198210        tmp/converters/stdhep2pileup.$(ObjSuf) \
    199211        tmp/examples/CaloGrid.$(ObjSuf) \
    200         tmp/examples/Example1.$(ObjSuf)
     212        tmp/examples/Example1.$(ObjSuf) \
     213        tmp/validation/DelphesValidation.$(ObjSuf)
    201214
    202215DelphesHepMC$(ExeSuf): \
     
    24212434        @echo ">> Building $(DISTTAR)"
    24222435        @mkdir -p $(DISTDIR)
    2423         @cp -a AUTHORS CHANGELOG CMakeLists.txt COPYING DelphesEnv.sh LICENSE NOTICE README README_4LHCb Makefile MinBias.pileup configure cards classes converters display doc examples external modules python readers validation $(DISTDIR)
     2436        @cp -a AUTHORS CHANGELOG CMakeLists.txt COPYING DelphesEnv.sh LICENSE NOTICE README README_4LHCb VERSION Makefile MinBias.pileup configure cards classes converters display doc examples external modules python readers validation $(DISTDIR)
    24242437        @find $(DISTDIR) -depth -name .\* -exec rm -rf {} \;
    24252438        @tar -czf $(DISTTAR) $(DISTDIR)
  • cards/FCC/FCChh.tcl

    r25291dd r4e5ed02  
    44#  Main authors:  Michele Selvaggi (CERN)
    55#
    6 #  Released on: October 14th, 2020
    7 #
    8 #  - fix muon resolution at high pT
    9 #  - updated btagging, tau tagging and photon ID
    10 #
     6#  Released on: Dec. 1st, 2017
    117#
    128#  Configuration: FCC-hh baseline detector
     
    10531049  (abs(eta) <= 2.5) * (pt > 1.0 && pt < 5.0)  * (0.70) +
    10541050  (abs(eta) <= 2.5) * (pt > 5.0 && pt < 10.0) * (0.85) +
    1055   (abs(eta) <= 2.5) * (pt > 10.0)             * (0.90) +
     1051  (abs(eta) <= 2.5) * (pt > 10.0)             * (0.95) +
    10561052   
    10571053  (abs(eta) > 2.5 && abs(eta) <= 4.0) * (pt > 1.0 && pt < 5.0)  * (0.60) +
     
    11421138  (abs(eta) < 2.5)                   * (pt > 500.0 && pt < 15000.0) * (0.01)*(1.0 - pt/15000.) + \
    11431139  (abs(eta) < 2.5)                   * (pt > 15000.0)               * (0.00) + \
    1144   (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 500)      * (0.01) + \
    1145   (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 500.0 && pt < 15000.0) * (0.01)*(1.0 - pt/15000.) + \
     1140  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 500)      * (0.0075) + \
     1141  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 500.0 && pt < 15000.0) * (0.0075)*(1.0 - pt/15000.) + \
    11461142  (abs(eta) < 2.5 && abs(eta) < 4.0) * (pt > 15000.0)               * (0.000) + \
    11471143  (abs(eta) > 4.0) * (0.00)}
     
    11501146
    11511147  (pt <= 10.0)                       * (0.00) +
    1152   (abs(eta) < 2.5)                   * (pt > 10.0 && pt < 500)      * (0.15) + \
    1153   (abs(eta) < 2.5)                   * (pt > 500.0 && pt < 15000.0) * (0.15)*(1.0 - pt/15000.) + \
     1148  (abs(eta) < 2.5)                   * (pt > 10.0 && pt < 500)      * (0.05) + \
     1149  (abs(eta) < 2.5)                   * (pt > 500.0 && pt < 15000.0) * (0.05)*(1.0 - pt/15000.) + \
    11541150  (abs(eta) < 2.5)                   * (pt > 15000.0)               * (0.000) + \
    1155   (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 500)      * (0.10) + \
    1156   (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 500.0 && pt < 15000.0) * (0.10)*(1.0 - pt/15000.) + \
     1151  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 500)      * (0.03) + \
     1152  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 500.0 && pt < 15000.0) * (0.03)*(1.0 - pt/15000.) + \
    11571153  (abs(eta) < 2.5 && abs(eta) < 4.0) * (pt > 15000.0)               * (0.000) + \
    11581154  (abs(eta) > 4.0) * (0.00)}
     
    11611157
    11621158  (pt <= 10.0)                                                       * (0.00) +
    1163   (abs(eta) < 2.5)                    * (pt > 10.0 && pt < 500)      * (0.82) +
    1164   (abs(eta) < 2.5)                    * (pt > 500.0 && pt < 15000.0) * (0.82)*(1.0 - pt/15000.) +
     1159  (abs(eta) < 2.5)                    * (pt > 10.0 && pt < 500)      * (0.85) +
     1160  (abs(eta) < 2.5)                    * (pt > 500.0 && pt < 15000.0) * (0.85)*(1.0 - pt/15000.) +
    11651161  (abs(eta) < 2.5)                    * (pt > 15000.0)               * (0.000) +
    11661162  (abs(eta) >= 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 500)      * (0.64) +
     
    12211217
    12221218  (pt <= 10.0)                                                       * (0.00) +
    1223   (abs(eta) < 2.5)                   * (pt > 10.0 && pt < 5000.0)    * (0.02) + \
    1224   (abs(eta) < 2.5)                   * (pt > 5000.0 && pt < 34000.0) * (0.02)  *(8./9. - pt/30000.) + \
     1219  (abs(eta) < 2.5)                   * (pt > 10.0 && pt < 5000.0)    * (0.01) + \
     1220  (abs(eta) < 2.5)                   * (pt > 5000.0 && pt < 34000.0) * (0.01)  *(8./9. - pt/30000.) + \
    12251221  (abs(eta) < 2.5)                   * (pt > 34000.0)                * (0.000) + \
    12261222  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 5000.0)    * (0.0075) + \
     
    12321228
    12331229  (pt <= 10.0)                                                       * (0.00) +
    1234   (abs(eta) < 2.5)                   * (pt > 10.0 && pt < 5000.0)    * (0.001) + \
    1235   (abs(eta) < 2.5)                   * (pt > 5000.0 && pt < 34000.0) * (0.001)  *(8./9. - pt/30000.) + \
     1230  (abs(eta) < 2.5)                   * (pt > 10.0 && pt < 5000.0)    * (0.005) + \
     1231  (abs(eta) < 2.5)                   * (pt > 5000.0 && pt < 34000.0) * (0.005)  *(8./9. - pt/30000.) + \
    12361232  (abs(eta) < 2.5)                   * (pt > 34000.0)                * (0.000) + \
    1237   (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 5000.0)    * (0.001) + \
    1238   (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 5000.0 && pt < 34000.0) * (0.001)*(8./9. - pt/30000.) + \
     1233  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 5000.0)    * (0.00375) + \
     1234  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 5000.0 && pt < 34000.0) * (0.00375)*(8./9. - pt/30000.) + \
    12391235  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 34000.0)                * (0.00) + \
    12401236  (abs(eta) > 4.0)                   * (0.00)}
  • cards/FCC/muonMomentumResolutionVsP.tcl

    r25291dd r4e5ed02  
    1212set ResolutionFormula {
    1313 
    14 
    15 ( abs(eta) < 1.35 ) *
    16 
    17     (sqrt(0.0000364164 + (
    18                           3*9.06262e-8 *pt^2* cosh(
    19          eta)^2 *(2.82074e-7/sin(2*atan(exp(-abs(eta))))^2 + (
    20           504.525 *(1/400000000 + (0.117945* 1/cosh(eta)^2)/(
    21              pt^2 *sin(2*atan(exp(-abs(eta))))^2)))/
    22           sin(2*atan(exp(-abs(eta))))^2) *sin(2*atan(exp(-abs(eta))))^2)/(
    23        0.00516429/sin(2*atan(exp(-abs(eta))))^2 + (
    24         96868.8 *(1/400000000 + 5*(0.117945 * 1/cosh(eta)^2)/(
    25            pt^2 *sin(2*atan(exp(-abs(eta))))^2)))/
    26         sin(2*atan(exp(-abs(eta))))^2))
    27 
    28     ) +
     14( abs(eta) < 1.35 ) *
     15
     16(sqrt(0.0000364164 + (
     17   9.06262e-8 *pt^2* cosh(
     18     eta)^2 *(2.82074e-7/sin(2*atan(exp(-abs(eta))))^2 + (
     19      504.525 *(1/400000000 + (0.117945* 1/cosh(eta)^2)/(
     20         pt^2 *sin(2*atan(exp(-abs(eta))))^2)))/
     21      sin(2*atan(exp(-abs(eta))))^2) *sin(2*atan(exp(-abs(eta))))^2)/(
     22   0.00516429/sin(2*atan(exp(-abs(eta))))^2 + (
     23    96868.8 *(1/400000000 + (0.117945 * 1/cosh(eta)^2)/(
     24       pt^2 *sin(2*atan(exp(-abs(eta))))^2)))/
     25    sin(2*atan(exp(-abs(eta))))^2))
     26
     27) +
    2928 
    3029( abs(eta) > 1.35 && abs(eta) < 2.00) *
  • cards/ILCgen/ILCgen_BTagging_N.tcl

    r25291dd r4e5ed02  
    104104    source ILCgen/ILCgen_BTagging_50.tcl
    105105}
     106
  • cards/ILCgen/ILCgen_BeamCalEfficiency.tcl

    r25291dd r4e5ed02  
    22# Based on IDR Figure 8.8a and Moritz Hebermehl PhD Thesis Figure 4.10
    33# A.F.Zarnecki,  June 2020
     4
     5# set EfficiencyFormula {efficiency formula as a function of eta and pt}
    46
    57set EfficiencyFormula {
  • cards/ILCgen/ILCgen_BeamCalF_Binning.tcl

    r25291dd r4e5ed02  
    22# corrected by A.F.Zarnecki
    33
    4 set pi [expr {acos(-1)} ]
    5 
     4set pi [expr {acos(-1)}]
     5   
    66# BeamCal eta range 4.0 - 5.8 -> 2.099-0.347 =1.752deg
    77#
  • cards/ILCgen/ILCgen_BeamCalR_Binning.tcl

    r25291dd r4e5ed02  
    22# corrected by A.F.Zarnecki
    33
    4 set pi [expr {acos(-1)} ]
    5 
     4set pi [expr {acos(-1)}]
     5   
    66# BeamCal eta range 4.0 - 5.8 -> 2.099-0.347 =1.752deg
    77#
  • cards/ILCgen/ILCgen_BeamCal_EnergyFractions.tcl

    r25291dd r4e5ed02  
    11#P.Sopicki
     2  # default energy fractions {abs(PDG code)} {fraction of energy deposited in BeamCal}
    23
    34  add EnergyFraction {0} {0.0}
     
    1920  add EnergyFraction {310} {0.3}
    2021  add EnergyFraction {3122} {0.3}
     22
  • cards/ILCgen/ILCgen_BeamCal_Resolution.tcl

    r25291dd r4e5ed02  
    11# P.Sopicki, corrected by A.F.Zarnecki
    22# BeamCal resolution
     3
     4# set ResolutionFormula {resolution formula as a function of eta and energy}
    35
    46  set ResolutionFormula {
     
    68  (abs(eta) > 4.8 && abs(eta) <= 5.8) * sqrt(energy^2*0.03^2 + energy*0.45^2)
    79  }
     10
  • cards/ILCgen/ILCgen_CTagging_N.tcl

    r25291dd r4e5ed02  
    104104    source ILCgen/ILCgen_CTagging_20.tcl
    105105}
     106
  • cards/ILCgen/ILCgen_ChrgHadMomentumSmearing.tcl

    r25291dd r4e5ed02  
    66
    77set ResolutionFormula {
    8   (abs(eta) <= 2.0) *
    9     exp( -6.82012  - 0.284133*abs(eta) + 0.64585*eta*eta
     8
     9(abs(eta) <= 2.0) *
     10  exp( -6.82012  - 0.284133*abs(eta) + 0.64585*eta*eta
    1011     + (0.829675 -0.188197*abs(eta) +  0.106226 * eta*eta  - 1.0) * log(pt)
    1112     + (0.0766417-0.00435667*abs(eta) + 0.00174804*eta*eta) * log(pt)*log(pt))
    12   +
    13   (abs(eta) > 2.0 && abs(eta) <= 3.0) *
    14     exp(  -4.54609
     13
     14+
     15
     16(abs(eta) > 2.0 && abs(eta) <= 3.0) *
     17  exp(  -4.54609
    1518     + ( 0.87526 - 1.0) * log(pt)
    1619     + (-0.0800672 + 0.0891669 * abs(eta)) * log(pt)*log(pt))
    17   }
     20
     21}
     22
  • cards/ILCgen/ILCgen_ChrgHadTrackingEff.tcl

    r25291dd r4e5ed02  
    44#  A.F.Zarnecki, June 12, 2020
    55
    6 set EfficiencyFormula {
    7                                                                  (pt <= 0.1)   * (0.00)  +
    8                        (abs(eta) <= 1.83)     *      (pt > 0.1 && pt <= 0.2)   * (0.70)  +
    9                        (abs(eta) <= 1.83)     *      (pt > 0.2 && pt <= 0.3)   * (0.93)  +
    10                        (abs(eta) <= 1.83)     *      (pt > 0.3 && pt <= 0.7)   * (0.995) +
    11                        (abs(eta) <= 1.83)     *      (pt > 0.7)                * (1.00)  +
    12     (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.1 && pt <= 0.2)   * (0.697) +
    13     (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.2 && pt <= 0.3)   * (0.925) +
    14     (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.3 && pt <= 0.7)   * (0.99)  +
    15     (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.7)                * (0.995) +
    16     (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.1 && pt <= 0.2)   * (0.665) +
    17     (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.2 && pt <= 0.3)   * (0.884) +
    18     (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.3 && pt <= 0.7)   * (0.945) +
    19     (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.7)                * (0.95)  +
    20     (abs(eta) > 3.00)                         *      (pt > 0.1)                * (0.00)
    21   }
     6  set EfficiencyFormula {                                                    (pt <= 0.1)   * (0.00)  +
     7                                   (abs(eta) <= 1.83)     *      (pt > 0.1 && pt <= 0.2)   * (0.70)  +
     8                                   (abs(eta) <= 1.83)     *      (pt > 0.2 && pt <= 0.3)   * (0.93)  +
     9                                   (abs(eta) <= 1.83)     *      (pt > 0.3 && pt <= 0.7)   * (0.995) +
     10                                   (abs(eta) <= 1.83)     *      (pt > 0.7)                * (1.00)  +
     11                (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.1 && pt <= 0.2)   * (0.697) +
     12                (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.2 && pt <= 0.3)   * (0.925) +
     13                (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.3 && pt <= 0.7)   * (0.99)  +
     14                (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.7)                * (0.995) +
     15                (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.1 && pt <= 0.2)   * (0.665) +
     16                (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.2 && pt <= 0.3)   * (0.884) +
     17                (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.3 && pt <= 0.7)   * (0.945) +
     18                (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.7)                * (0.95)  +
     19                (abs(eta) > 3.00)                         *      (pt > 0.1)                * (0.00)  }
  • cards/ILCgen/ILCgen_ECAL_EnergyFractions.tcl

    r25291dd r4e5ed02  
    11#P.Sopicki
    2 
     2# default energy fractions {abs(PDG code)} {fraction in ECAL or LumiCal}
    33  add EnergyFraction {0} {0.0}
    44  # energy fractions for e, gamma and pi0
  • cards/ILCgen/ILCgen_ECAL_Resolution.tcl

    r25291dd r4e5ed02  
    22# ECAL and LumiCal resolution: same formula used at the moment
    33#
    4 
     4# set ResolutionFormula {resolution formula as a function of eta and energy}
    55set ResolutionFormula {
    66    (abs(eta) <= 3 )                 * sqrt(energy^2*0.01^2 + energy*0.17^2)+
    77    (abs(eta) > 3 && abs(eta) <= 4 ) * sqrt(energy^2*0.01^2 + energy*0.17^2)
    8   }
     8 }
  • cards/ILCgen/ILCgen_ElectronEfficiency.tcl

    r25291dd r4e5ed02  
     1
     2  # set EfficiencyFormula {efficiency formula as a function of eta and pt}
    13
    24# efficiency formula for electrons (ECAL and LumiCal)
  • cards/ILCgen/ILCgen_ElectronMomentumSmearing.tcl

    r25291dd r4e5ed02  
    66
    77set ResolutionFormula {
    8   (abs(eta) <= 2.0) *
    9     exp( -6.82012  - 0.284133*abs(eta) + 0.64585*eta*eta
     8
     9(abs(eta) <= 2.0) *
     10  exp( -6.82012  - 0.284133*abs(eta) + 0.64585*eta*eta
    1011     + (0.829675 -0.188197*abs(eta) +  0.106226 * eta*eta  - 1.0) * log(pt)
    1112     + (0.0766417-0.00435667*abs(eta) + 0.00174804*eta*eta) * log(pt)*log(pt))
    12   +
    13   (abs(eta) > 2.0 && abs(eta) <= 3.0) *
    14     exp(  -4.54609
     13
     14+
     15
     16(abs(eta) > 2.0 && abs(eta) <= 3.0) *
     17  exp(  -4.54609
    1518     + ( 0.87526 - 1.0) * log(pt)
    1619     + (-0.0800672 + 0.0891669 * abs(eta)) * log(pt)*log(pt))
    17   }
     20
     21}
     22
  • cards/ILCgen/ILCgen_ElectronTrackingEff.tcl

    r25291dd r4e5ed02  
    44#  A.F.Zarnecki, June 12, 2020
    55
    6 set EfficiencyFormula {
    7                                                                  (pt <= 0.1)   * (0.00)  +
    8                        (abs(eta) <= 1.83)     *      (pt > 0.1 && pt <= 0.2)   * (0.70)  +
    9                        (abs(eta) <= 1.83)     *      (pt > 0.2 && pt <= 0.3)   * (0.93)  +
    10                        (abs(eta) <= 1.83)     *      (pt > 0.3 && pt <= 0.7)   * (0.995) +
    11                        (abs(eta) <= 1.83)     *      (pt > 0.7)                * (1.00)  +
    12     (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.1 && pt <= 0.2)   * (0.697) +
    13     (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.2 && pt <= 0.3)   * (0.925) +
    14     (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.3 && pt <= 0.7)   * (0.99)  +
    15     (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.7)                * (0.995) +
    16     (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.1 && pt <= 0.2)   * (0.665) +
    17     (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.2 && pt <= 0.3)   * (0.884) +
    18     (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.3 && pt <= 0.7)   * (0.945) +
    19     (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.7)                * (0.95)  +
    20     (abs(eta) > 3.00)                         *      (pt > 0.1)                * (0.00)
    21   }
     6  set EfficiencyFormula {                                                    (pt <= 0.1)   * (0.00)  +
     7                                   (abs(eta) <= 1.83)     *      (pt > 0.1 && pt <= 0.2)   * (0.70)  +
     8                                   (abs(eta) <= 1.83)     *      (pt > 0.2 && pt <= 0.3)   * (0.93)  +
     9                                   (abs(eta) <= 1.83)     *      (pt > 0.3 && pt <= 0.7)   * (0.995) +
     10                                   (abs(eta) <= 1.83)     *      (pt > 0.7)                * (1.00)  +
     11                (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.1 && pt <= 0.2)   * (0.697) +
     12                (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.2 && pt <= 0.3)   * (0.925) +
     13                (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.3 && pt <= 0.7)   * (0.99)  +
     14                (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.7)                * (0.995) +
     15                (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.1 && pt <= 0.2)   * (0.665) +
     16                (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.2 && pt <= 0.3)   * (0.884) +
     17                (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.3 && pt <= 0.7)   * (0.945) +
     18                (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.7)                * (0.95)  +
     19                (abs(eta) > 3.00)                         *      (pt > 0.1)                * (0.00)  }
  • cards/ILCgen/ILCgen_HCAL_EnergyFractions.tcl

    r25291dd r4e5ed02  
    11#P.Sopicki
    2 
     2# default energy fractions {abs(PDG code)} {fraction in HCAL or LHCAL}
    33  add EnergyFraction {0} {1.0}
    44  # energy fractions for e, gamma and pi0
  • cards/ILCgen/ILCgen_HCAL_Resolution.tcl

    r25291dd r4e5ed02  
    22# HCAL and LHCAL resolution: same formula used at the moment
    33#
    4 
     4# set ResolutionFormula {resolution formula as a function of eta and energy}
    55set ResolutionFormula {
    66   (abs(eta) <= 2.8 )                 * sqrt(energy^2*0.017^2 + energy*0.45^2)+
    77   (abs(eta) > 2.8 && abs(eta)<=3.8 ) * sqrt(energy^2*0.017^2 + energy*0.45^2)
    8   }
     8}
     9
  • cards/ILCgen/ILCgen_MuonMomentumSmearing.tcl

    r25291dd r4e5ed02  
    66
    77set ResolutionFormula {
    8   (abs(eta) <= 2.0) *
    9     exp( -6.82012  - 0.284133*abs(eta) + 0.64585*eta*eta
     8
     9(abs(eta) <= 2.0) *
     10  exp( -6.82012  - 0.284133*abs(eta) + 0.64585*eta*eta
    1011     + (0.829675 -0.188197*abs(eta) +  0.106226 * eta*eta  - 1.0) * log(pt)
    1112     + (0.0766417-0.00435667*abs(eta) + 0.00174804*eta*eta) * log(pt)*log(pt))
    12   +
    13   (abs(eta) > 2.0 && abs(eta) <= 3.0) *
    14     exp(  -4.54609
     13
     14+
     15
     16(abs(eta) > 2.0 && abs(eta) <= 3.0) *
     17  exp(  -4.54609
    1518     + ( 0.87526 - 1.0) * log(pt)
    1619     + (-0.0800672 + 0.0891669 * abs(eta)) * log(pt)*log(pt))
    17   }
     20
     21}
     22
  • cards/ILCgen/ILCgen_MuonTrackingEff.tcl

    r25291dd r4e5ed02  
    44#  A.F.Zarnecki, June 12, 2020
    55
    6 set EfficiencyFormula {
    7                                                                  (pt <= 0.1)   * (0.00)  +
    8                        (abs(eta) <= 1.83)     *      (pt > 0.1 && pt <= 0.2)   * (0.70)  +
    9                        (abs(eta) <= 1.83)     *      (pt > 0.2 && pt <= 0.3)   * (0.93)  +
    10                        (abs(eta) <= 1.83)     *      (pt > 0.3 && pt <= 0.7)   * (0.995) +
    11                        (abs(eta) <= 1.83)     *      (pt > 0.7)                * (1.00)  +
    12     (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.1 && pt <= 0.2)   * (0.697) +
    13     (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.2 && pt <= 0.3)   * (0.925) +
    14     (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.3 && pt <= 0.7)   * (0.99)  +
    15     (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.7)                * (0.995) +
    16     (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.1 && pt <= 0.2)   * (0.665) +
    17     (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.2 && pt <= 0.3)   * (0.884) +
    18     (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.3 && pt <= 0.7)   * (0.945) +
    19     (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.7)                * (0.95)  +
    20     (abs(eta) > 3.00)                         *      (pt > 0.1)                * (0.00)
    21   }
     6  set EfficiencyFormula {                                                    (pt <= 0.1)   * (0.00)  +
     7                                   (abs(eta) <= 1.83)     *      (pt > 0.1 && pt <= 0.2)   * (0.70)  +
     8                                   (abs(eta) <= 1.83)     *      (pt > 0.2 && pt <= 0.3)   * (0.93)  +
     9                                   (abs(eta) <= 1.83)     *      (pt > 0.3 && pt <= 0.7)   * (0.995) +
     10                                   (abs(eta) <= 1.83)     *      (pt > 0.7)                * (1.00)  +
     11                (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.1 && pt <= 0.2)   * (0.697) +
     12                (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.2 && pt <= 0.3)   * (0.925) +
     13                (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.3 && pt <= 0.7)   * (0.99)  +
     14                (abs(eta) > 1.83 && abs(eta) <= 2.65)     *      (pt > 0.7)                * (0.995) +
     15                (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.1 && pt <= 0.2)   * (0.665) +
     16                (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.2 && pt <= 0.3)   * (0.884) +
     17                (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.3 && pt <= 0.7)   * (0.945) +
     18                (abs(eta) > 2.65 && abs(eta) <= 3.00)     *      (pt > 0.7)                * (0.95)  +
     19                (abs(eta) > 3.00)                         *      (pt > 0.1)                * (0.00)  }
  • cards/ILCgen/ILCgen_PhotonEfficiency.tcl

    r25291dd r4e5ed02  
    1 # set EfficiencyFormula (efficiency formula as a function of eta and pt)
    2 # efficiency formula for photons (ECAL + LumiCal)
     1
     2  # set EfficiencyFormula {efficiency formula as a function of eta and pt}
     3
     4  # efficiency formula for photons (ECAL + LumiCal)
    35
    46  set EfficiencyFormula {
  • doc/genMakefile.tcl

    r25291dd r4e5ed02  
    282282DISPLAYLIB = libDelphesDisplay.lib
    283283
    284 VERSION = x.y.z
     284VERSION = $(shell cat VERSION)
    285285DISTDIR = Delphes-$(VERSION)
    286286DISTTAR = $(DISTDIR).tar.gz
     
    290290}
    291291
    292 executableDeps {converters/*.cpp} {examples/*.cpp}
     292executableDeps {converters/*.cpp} {examples/*.cpp} {validation/*.cpp}
    293293
    294294executableDeps {readers/DelphesHepMC.cpp} {readers/DelphesLHEF.cpp} {readers/DelphesSTDHEP.cpp} {readers/DelphesROOT.cpp}
     
    434434        @echo ">> Building $(DISTTAR)"
    435435        @mkdir -p $(DISTDIR)
    436         @cp -a AUTHORS CHANGELOG CMakeLists.txt COPYING DelphesEnv.sh LICENSE NOTICE README README_4LHCb Makefile MinBias.pileup configure cards classes converters display doc examples external modules python readers validation $(DISTDIR)
     436        @cp -a AUTHORS CHANGELOG CMakeLists.txt COPYING DelphesEnv.sh LICENSE NOTICE README README_4LHCb VERSION Makefile MinBias.pileup configure cards classes converters display doc examples external modules python readers validation $(DISTDIR)
    437437        @find $(DISTDIR) -depth -name .\* -exec rm -rf {} \;
    438438        @tar -czf $(DISTTAR) $(DISTDIR)
  • modules/DualReadoutCalorimeter.cc

    r25291dd r4e5ed02  
    645645    //cout<<"Creating tower with Pt, Eta, Phi, Energy: "<<pt<<","<<eta<<","<<phi<<","<<neutralEnergy<<endl;
    646646    tower->Momentum.SetPtEtaPhiE(pt, eta, phi, neutralEnergy);
    647 
    648     // if no hadronic energy, use ECAL resolution
    649     if (fHCalTowerEnergy <= fHCalEnergyMin)
    650     {
    651       tower->Eem = neutralEnergy;
    652       tower->Ehad = 0.0;
    653       tower->PID = 22;
    654     }
    655 
    656     // if hadronic fraction > 0, use HCAL resolution
    657     else
    658     {
    659       tower->Eem = 0;
    660       tower->Ehad = neutralEnergy;
    661       tower->PID = 130;
    662     }
     647    tower->Eem = neutralEnergy;
     648    tower->Ehad = 0.0;
     649    tower->PID = 22;
     650
     651   
    663652
    664653    fEFlowPhotonOutputArray->Add(tower);
    665    
     654
    666655
    667656    //clone tracks
  • modules/TrackCovariance.cc

    r25291dd r4e5ed02  
    102102  while((candidate = static_cast<Candidate *>(fItInputArray->Next())))
    103103  {
    104 
    105     // converting to meters
    106     const TLorentzVector &candidatePosition = candidate->InitialPosition*1e-03;
     104    const TLorentzVector &candidatePosition = candidate->InitialPosition;
    107105    const TLorentzVector &candidateMomentum = candidate->Momentum;
    108106
     
    115113
    116114    candidate->Momentum.SetVectM(track.GetObsP(), mass);
     115    candidate->InitialPosition.SetXYZT(track.GetObsX().X(),track.GetObsX().Y(),track.GetObsX().Z(),candidatePosition.T());
    117116   
    118     // converting back to mm
    119     candidate->InitialPosition.SetXYZT(track.GetObsX().X()*1e03,track.GetObsX().Y()*1e03,track.GetObsX().Z()*1e03,candidatePosition.T()*1e03);
    120 
    121117    // save full covariance 5x5 matrix internally (D0, phi, Curvature, dz, ctg(theta))
    122118    candidate->TrackCovariance = track.GetCov();
     
    127123    ct = track.GetObsPar()[4];
    128124
    129     candidate->Xd = track.GetObsX().X()*1e03;
    130     candidate->Yd = track.GetObsX().Y()*1e03;
    131     candidate->Zd = track.GetObsX().Z()*1e03;
     125    candidate->Xd = track.GetObsX().X();
     126    candidate->Yd = track.GetObsX().Y();
     127    candidate->Zd = track.GetObsX().Z();
    132128   
    133     candidate->D0       = track.GetObsPar()[0]*1e03;
    134     candidate->Phi      = track.GetObsPar()[1];
    135     candidate->C        = track.GetObsPar()[2]*1e03;
    136     candidate->DZ       = track.GetObsPar()[3]*1e03;
     129    candidate->D0 = track.GetObsPar()[0];
     130    candidate->Phi = track.GetObsPar()[1];
     131    candidate->C = track.GetObsPar()[2];
     132    candidate->DZ = track.GetObsPar()[3];
    137133    candidate->CtgTheta = track.GetObsPar()[4];
    138     candidate->P        = track.GetObsP().Mag();
    139     candidate->PT       = pt;
    140     candidate->Charge   = q;
     134    candidate->P  = track.GetObsP().Mag();
     135    candidate->PT = pt;
     136    candidate->Charge = q;
    141137
    142     dd0       = TMath::Sqrt(track.GetCov()(0, 0))*1e03;
    143     ddz       = TMath::Sqrt(track.GetCov()(3, 3))*1e03;
     138    dd0       = TMath::Sqrt(track.GetCov()(0, 0));
     139    ddz       = TMath::Sqrt(track.GetCov()(3, 3));
    144140    dphi      = TMath::Sqrt(track.GetCov()(1, 1));
    145141    dct       = TMath::Sqrt(track.GetCov()(4, 4));
    146142    dpt       = 2 * TMath::Sqrt( track.GetCov()(2, 2))*pt*pt / (0.2998*fBz);
    147143    dp        = TMath::Sqrt((1.+ct*ct)*dpt*dpt + 4*pt*pt*ct*ct*dct*dct/(1.+ct*ct)/(1.+ct*ct));
    148     dC        = TMath::Sqrt(track.GetCov()(2, 2))*1e03;
     144    dC        = TMath::Sqrt(track.GetCov()(2, 2));
    149145
    150146    candidate->ErrorD0 = dd0;
  • readers/DelphesPythia8.cpp

    r25291dd r4e5ed02  
    296296
    297297    // jet matching
    298 #if PYTHIA_VERSION_INTEGER < 8300
    299298    matching = combined->getHook(*pythia);
    300299    if(!matching)
     
    303302    }
    304303    pythia->setUserHooksPtr(matching);
    305 #endif
    306304
    307305    if(pythia == NULL)
  • validation/DelphesValidation.cpp

    r25291dd r4e5ed02  
    3232#include "TGraph.h"
    3333#include "TGraphErrors.h"
    34 #include "TF1.h"
    3534#include "TH1.h"
    3635#include "TH2.h"
  • validation/validation.sh

    r25291dd r4e5ed02  
    3838outputrootdir=report_${cardbase%.*}/root
    3939cardlabel=${cardbase%.*}
    40 version=x.y.z
     40version=$(cat VERSION)
    4141outpdf=$mainoutputdir/${output%.*}.pdf
    4242cardsdir=validation/cards
Note: See TracChangeset for help on using the changeset viewer.