This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 1) some user code : | |
def run ( nEvents ) : | |
for i in range( 0 , min( nEvents , 10 ) ) : print ' I run event %i ' % i | |
return 0 | |
## 2) configuration step | |
def configure ( datafiles , catalogs = [] , castor = False , params = {} ) : | |
print 'I am configuration step!' | |
return 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 1) some user code : | |
def run ( nEvents ) : | |
for i in range( 0 , min( nEvents , 10 ) ) : print ' I run event %i ' % ' | |
return 0 | |
## 2) configuration step | |
def configure ( datafiles , catalogs = [] , castor = False , params = {} ) : | |
print 'I am configuration step!' | |
return 0 | |
## 3) steer the job | |
if '__main__' == __name__ : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# ============================================================================= | |
## @file | |
# The most simple "do-nothing" Bender module | |
# | |
# This file is a part of | |
# <a href="http://cern.ch/lhcb-comp/Analysis/Bender/index.html">Bender project</a> | |
# <b>``Python-based Interactive Environment for Smart and Friendly | |
# Physics Analysis''</b> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from Bender.Main import setData, appMgr, SUCCESS | |
## The configuration of the job | |
def configure ( inputdata , ## the list of input files | |
catalogs = [] , ## xml-catalogs (filled by GRID) | |
castor = False , ## use the direct access to castor/EOS ? | |
params = {} ) : | |
## import DaVinci & configure it! | |
from Configurables import DaVinci | |
## delegate the actual configuration to DaVinci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# ============================================================================= | |
## @file HelloWorld.py | |
# | |
# The standard 'Hello,world!'-example | |
# | |
# This file is a part of | |
# <a href="http://cern.ch/lhcb-comp/Analysis/Bender/index.html">Bender project</a> | |
# <b>``Python-based Interactive Environment for Smart and Friendly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# ============================================================================= | |
## @file HistosAndTuples.py | |
# | |
# Inspect particles from certain TES location and fill histograms and tuple | |
# | |
# This file is a part of | |
# <a href="http://cern.ch/lhcb-comp/Analysis/Bender/index.html">Bender project</a> | |
# <b>``Python-based Interactive Environment for Smart and Friendly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# ============================================================================= | |
## @file MakeB.py | |
# | |
# Make combinatorics and composed particle creation in Bender | |
# | |
# This file is a part of | |
# <a href="http://cern.ch/lhcb-comp/Analysis/Bender/index.html">Bender project</a> | |
# <b>``Python-based Interactive Environment for Smart and Friendly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# ============================================================================= | |
## @file Tuples2.py | |
# | |
# Enhanced functionality for n-tuples | |
# | |
# This file is a part of | |
# <a href="http://cern.ch/lhcb-comp/Analysis/Bender/index.html">Bender project</a> | |
# <b>``Python-based Interactive Environment for Smart and Friendly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcome | |
LoKi LoKi | |
LoKi LoKi | |
LoKi Welcome to LoKi! LoKi | |
LoKi LoKi | |
LoKi (LOops & KInematics) LoKi | |
LoKi LoKi | |
LoKi Smart & Friendly C++ Physics Analysis Tool Kit LoKi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
****************************************************************************************** | |
Triggers for K | |
****************************************************************************************** | |
Hlt1_TIS K #lines: 10 #events 321 | |
( 72.27 +- 2.50 ) Hlt1DiMuonHighMassDecision | |
( 58.26 +- 2.75 ) Hlt1DiMuonLowMassDecision | |
( 0.31 +- 0.31 ) Hlt1DiProtonDecision | |
( 8.41 +- 1.55 ) Hlt1SingleMuonHighPTDecision | |
( 0.31 +- 0.31 ) Hlt1SingleMuonNoIPDecision | |
( 52.65 +- 2.79 ) Hlt1TrackAllL0Decision |
OlderNewer