Fork me on GitHub

source: git/cards/validation_card.tcl@ 4d7014e

ImprovedOutputFile Timing
Last change on this file since 4d7014e was 4d128b9, checked in by Michele Selvaggi <michele.selvaggi@…>, 8 years ago

fixed validation card for compliance with all cards

  • Property mode set to 100644
File size: 2.2 KB
Line 
1source delphes_card_CMS.tcl
2
3set ExecutionPath [lreplace $ExecutionPath end end]
4add ExecutionPath CaloJetFinder
5add ExecutionPath PFJetFinder
6add ExecutionPath CaloMissingET
7add ExecutionPath PFMissingET
8add ExecutionPath GenScalarHT
9add ExecutionPath PionFilter
10add ExecutionPath TreeWriter
11
12module FastJetFinder GenJetFinder {
13 set JetPTMin 1.0
14}
15
16module FastJetFinder FastJetFinder {
17 set JetPTMin 1.0
18}
19
20########################
21# Calorimeter jet finder
22########################
23
24module FastJetFinder CaloJetFinder {
25 set InputArray Calorimeter/towers
26
27 set OutputArray jets
28
29 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
30 set JetAlgorithm 6
31 set ParameterR 0.4
32
33 set JetPTMin 1.0
34}
35
36########################
37# PFJet finder
38########################
39
40module FastJetFinder PFJetFinder {
41 set InputArray EFlowMerger/eflow
42
43 set OutputArray jets
44
45 # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
46 set JetAlgorithm 6
47 set ParameterR 0.4
48
49 set JetPTMin 1.0
50}
51
52#########################
53# Calo Missing ET merger
54########################
55
56module Merger CaloMissingET {
57# add InputArray InputArray
58 add InputArray Calorimeter/towers
59 set MomentumOutputArray momentum
60}
61
62#########################
63# Calo Missing ET merger
64########################
65
66module Merger PFMissingET {
67# add InputArray InputArray
68 add InputArray EFlowMerger/eflow
69 set MomentumOutputArray momentum
70}
71
72
73#################
74# Gen Scalar HT
75#################
76
77module Merger GenScalarHT {
78# add InputArray InputArray
79 add InputArray NeutrinoFilter/filteredParticles
80 set EnergyOutputArray energy
81}
82
83#################
84# Pion filter
85#################
86
87module PdgCodeFilter PionFilter {
88 set InputArray HCal/eflowTracks
89 set OutputArray pions
90 set Invert true
91 add PdgCode {211}
92 add PdgCode {-211}
93}
94
95module TreeWriter TreeWriter {
96# add Branch InputArray BranchName BranchClass
97 add Branch CaloJetFinder/jets CaloJet Jet
98 add Branch PFJetFinder/jets PFJet Jet
99 add Branch CaloMissingET/momentum CaloMissingET MissingET
100 add Branch PFMissingET/momentum PFMissingET MissingET
101 add Branch GenScalarHT/energy GenScalarHT ScalarHT
102 add Branch PionFilter/pions Pion Track
103 add Branch ElectronFilter/electrons ElectronPF Electron
104}
Note: See TracBrowser for help on using the repository browser.