Skip to content
Snippets Groups Projects
Commit e9fbe086 authored by Davide Fazzini's avatar Davide Fazzini
Browse files

remove option and ref files of unused tests

parent 346f7461
No related branches found
No related tags found
2 merge requests!1103Draft: Add AnalysisHelpers to DaVinci Stack,!405DV tests update
Pipeline #1780970 passed
#!/usr/bin/env gaudirun.py
###############################################################################
# (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
# -*- coding: utf-8 -*-
# =============================================================================
# @file
# Test for processing of MC-uDSTs
# @author Vanya BELYAEV Ivan.Belyaev@itep.ru
# @date 2017-05-16
# =============================================================================
from PhysConf.Selections import AutomaticData
kaons = AutomaticData('Phys/StdTightKaons/Particles')
from PhysConf.Selections import CombineSelection
phi = CombineSelection (
'Phi' , ## the name
kaons , ## input selection(s)
## algorithm properties
DecayDescriptor = 'phi(1020) -> K+ K-' ,
CombinationCut = " AM < 1050*MeV " ,
MotherCut = " ( CHI2VX < 10 ) & ( M < 1045 * MeV )"
)
from PhysConf.Selections import FilterSelection
phi = FilterSelection (
"TruePhi" , ## the name
phi , ## input selection(s)
## algorithm properties
Code = "mcMatch('phi(1020) => K+ K-', 2 )" , ## use mcTruth for only long protoparticles
Preambulo = [ 'from LoKiPhysMC.functions import mcMatch' ] ,
)
## from PhysConf.Selections import PrintSelection
## phi = PrintSelection ( phi )
from PhysConf.Selections import FilterSelection
phi = FilterSelection (
"MassPhi" , ## the name
phi , ## input selection(s)
## algorithm properties
Code = "0 < monitor( M/GeV , 'MASSPHI', 'MassKK' , histo)" ,
Preambulo = [
'from LoKiCore.functions import monitor, Gaudi' ,
'histo = Gaudi.Histo1DDef( "mass(K+K-)" , 1. , 1.04 , 80 )'
]
)
from Configurables import DaVinci
daVinci = DaVinci (
InputType = 'MDST' ,
DataType = "2016" ,
Simulation = True ,
StrippingStream='AllStreams' ,
##
HistogramFile = "DVHistos.root" ,
##
CondDBtag = 'sim-20160820-vc-md100' ,
DDDBtag = 'dddb-20150724'
)
from PhysConf.Selections import SelectionSequence
seq = SelectionSequence( 'SEQ' , phi ).sequence()
## assume here the merge request !62
daVinci.UserAlgorithms = [ phi ]
daVinci.EvtMax = 2000
daVinci.Input = [
"DATAFILE='PFN:root://eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/swtest/lhcb/MC/2016/ALLSTREAMS.MDST/00054389/0000/00054389_00000078_3.AllStreams.mdst' SVC='Gaudi::RootEvtSelector' OPT='READ'",
]
# =============================================================================
# The END
# =============================================================================
###############################################################################
# (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
########################################################################
from Gaudi.Configuration import *
from Configurables import GaudiSequencer
from Configurables import DaVinci, PhysConf
########################################################################
DaVinci().EvtMax = 1000 # Number of events
DaVinci().PrintFreq = 100 # Events to skip
DaVinci().DataType = "2012" # Must be given
DaVinci().HistogramFile = "udst-annpid.root"
DaVinci().InputType = "MDST"
########################################################################
from Configurables import ( ANNGlobalPID__ChargedProtoANNPIDMoni,
TESCheck, GaudiSequencer )
protoLoc = "/Event/Bhadron/Rec/ProtoP/Charged"
seq = GaudiSequencer("ANNPIDCheckSeq")
seq.Members += [
TESCheck( "CheckProtos",
Inputs = [protoLoc],
OutputLevel = 5,
Stop = False ),
ANNGlobalPID__ChargedProtoANNPIDMoni( "ANNPIDMoni",
ProtoParticleLocation = protoLoc )
]
DaVinci().UserAlgorithms = [seq]
###############################################################################
# (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
########################################################################
from Gaudi.Configuration import *
from Configurables import GaudiSequencer
from Configurables import DaVinci, PhysConf
########################################################################
DaVinci().EvtMax = 1000 # Number of events
DaVinci().PrintFreq = 100 # Events to skip
DaVinci().DataType = "2012" # Must be given
DaVinci().HistogramFile = "udst-unpacking.root"
DaVinci().InputType = "MDST"
########################################################################
from Configurables import DataObjectVersionFilter
DaVinci().UserAlgorithms += [
DataObjectVersionFilter( "CheckDecReports",
DataObjectLocation = "/Event/Strip/Phys/DecReports",
MaxVersion = 999,
OutputLevel = 3 ),
DataObjectVersionFilter( "CheckTracks",
DataObjectLocation = "/Event/Bhadron/Rec/Track/Best",
MaxVersion = 999 ),
DataObjectVersionFilter( "CheckVeloClusters",
DataObjectLocation = "/Event/Bhadron/Raw/Velo/Clusters",
MaxVersion = 999,
OutputLevel = 3 ),
DataObjectVersionFilter( "CheckCaloElectrons",
DataObjectLocation = "/Event/Bhadron/Rec/Calo/Electrons",
MaxVersion = 999,
OutputLevel = 3 ),
DataObjectVersionFilter( "CheckCaloPhotons",
DataObjectLocation = "/Event/Bhadron/Rec/Calo/Photons",
MaxVersion = 999,
OutputLevel = 3 ),
# DataObjectVersionFilter( "CheckLiteTTClusters",
# DataObjectLocation = "/Event/Bhadron/Raw/TT/LiteClusters",
# MaxVersion = 999,
# OutputLevel = 3 ),
# DataObjectVersionFilter( "CheckLiteITClusters",
# DataObjectLocation = "/Event/Bhadron/Raw/IT/LiteClusters",
# MaxVersion = 999,
# OutputLevel = 3 ),
# DataObjectVersionFilter( "CheckLiteVeloClusters",
# DataObjectLocation = "/Event/Bhadron/Raw/Velo/LiteClusters",
# MaxVersion = 999,
# OutputLevel = 3 ),
DataObjectVersionFilter( "CheckBhadronKaons",
DataObjectLocation = "/Event/Bhadron/Phys/StdAllNoPIDsKaons/Particles",
MaxVersion = 999,
OutputLevel = 3 ),
DataObjectVersionFilter( "CheckPVs",
DataObjectLocation = "/Event/Bhadron/Rec/Vertex/Primary",
MaxVersion = 999,
OutputLevel = 3 )
]
###############################################################################
# (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
from Configurables import (DaVinci, DumpFSR)
DaVinci().UserAlgorithms=[DumpFSR()]
DumpFSR INFO lu address: /FileRecords/26DEC83E-8F74-DF11-AC26-001E4F3DD7AB/LumiFSRNoBeam
DumpFSR INFO lu address: /FileRecords/26DEC83E-8F74-DF11-AC26-001E4F3DD7AB/LumiFSRBeamCrossing
DumpFSR INFO lu address: /FileRecords/26DEC83E-8F74-DF11-AC26-001E4F3DD7AB/LumiFSRBeam1
DumpFSR INFO lu address: /FileRecords/26DEC83E-8F74-DF11-AC26-001E4F3DD7AB/LumiFSRBeam2
DumpFSR INFO lu address: /FileRecords/0E12F271-8F74-DF11-9CD4-001E4F3DD7AB/LumiFSRNoBeam
DumpFSR INFO lu address: /FileRecords/0E12F271-8F74-DF11-9CD4-001E4F3DD7AB/LumiFSRBeamCrossing
DumpFSR INFO lu address: /FileRecords/0E12F271-8F74-DF11-9CD4-001E4F3DD7AB/LumiFSRBeam1
DumpFSR INFO lu address: /FileRecords/0E12F271-8F74-DF11-9CD4-001E4F3DD7AB/LumiFSRBeam2
DumpFSR INFO lo address: /FileRecords/26DEC83E-8F74-DF11-AC26-001E4F3DD7AB/LumiLowFSRNoBeam
DumpFSR INFO /FileRecords/26DEC83E-8F74-DF11-AC26-001E4F3DD7AB/LumiLowFSRNoBeam: LumiLowFSR: { runs : 69857 files : root:/castor/cern.ch/grid/lhcb/data/2010/RAW/FULL/LHCb/COLLISION10/69857/069857_0000000006.raw info (key/incr/integral) : 0 8 0 / 1 8 259 / 2 8 76 / 6 8 0 / 7 8 0 / 8 8 0 / 10 8 10 / 20 8 8 / }
DumpFSR INFO lo address: /FileRecords/26DEC83E-8F74-DF11-AC26-001E4F3DD7AB/LumiLowFSRBeamCrossing
DumpFSR INFO /FileRecords/26DEC83E-8F74-DF11-AC26-001E4F3DD7AB/LumiLowFSRBeamCrossing: LumiLowFSR: { runs : 69857 files : root:/castor/cern.ch/grid/lhcb/data/2010/RAW/FULL/LHCb/COLLISION10/69857/069857_0000000006.raw info (key/incr/integral) : 0 8 0 / 1 8 259 / 2 8 76 / 6 8 0 / 7 8 0 / 8 8 0 / 10 8 10 / 20 8 8 / }
DumpFSR INFO lo address: /FileRecords/26DEC83E-8F74-DF11-AC26-001E4F3DD7AB/LumiLowFSRBeam1
DumpFSR INFO /FileRecords/26DEC83E-8F74-DF11-AC26-001E4F3DD7AB/LumiLowFSRBeam1: LumiLowFSR: { runs : 69857 files : root:/castor/cern.ch/grid/lhcb/data/2010/RAW/FULL/LHCb/COLLISION10/69857/069857_0000000006.raw info (key/incr/integral) : 0 8 0 / 1 8 259 / 2 8 76 / 6 8 0 / 7 8 0 / 8 8 0 / 10 8 10 / 20 8 8 / }
DumpFSR INFO lo address: /FileRecords/26DEC83E-8F74-DF11-AC26-001E4F3DD7AB/LumiLowFSRBeam2
DumpFSR INFO /FileRecords/26DEC83E-8F74-DF11-AC26-001E4F3DD7AB/LumiLowFSRBeam2: LumiLowFSR: { runs : 69857 files : root:/castor/cern.ch/grid/lhcb/data/2010/RAW/FULL/LHCb/COLLISION10/69857/069857_0000000006.raw info (key/incr/integral) : 0 8 0 / 1 8 259 / 2 8 76 / 6 8 0 / 7 8 0 / 8 8 0 / 10 8 10 / 20 8 8 / }
DumpFSR INFO lo address: /FileRecords/0E12F271-8F74-DF11-9CD4-001E4F3DD7AB/LumiLowFSRNoBeam
DumpFSR INFO /FileRecords/0E12F271-8F74-DF11-9CD4-001E4F3DD7AB/LumiLowFSRNoBeam: LumiLowFSR: { runs : 69623 files : root:/castor/cern.ch/grid/lhcb/data/2010/RAW/FULL/LHCb/COLLISION10/69623/069623_0000000003.raw info (key/incr/integral) : 0 5 0 / 1 5 92 / 2 5 33 / 6 5 0 / 7 5 0 / 8 5 0 / 10 5 4 / 20 5 5 / }
DumpFSR INFO lo address: /FileRecords/0E12F271-8F74-DF11-9CD4-001E4F3DD7AB/LumiLowFSRBeamCrossing
DumpFSR INFO /FileRecords/0E12F271-8F74-DF11-9CD4-001E4F3DD7AB/LumiLowFSRBeamCrossing: LumiLowFSR: { runs : 69623 files : root:/castor/cern.ch/grid/lhcb/data/2010/RAW/FULL/LHCb/COLLISION10/69623/069623_0000000003.raw info (key/incr/integral) : 0 5 0 / 1 5 92 / 2 5 33 / 6 5 0 / 7 5 0 / 8 5 0 / 10 5 4 / 20 5 5 / }
DumpFSR INFO lo address: /FileRecords/0E12F271-8F74-DF11-9CD4-001E4F3DD7AB/LumiLowFSRBeam1
DumpFSR INFO /FileRecords/0E12F271-8F74-DF11-9CD4-001E4F3DD7AB/LumiLowFSRBeam1: LumiLowFSR: { runs : 69623 files : root:/castor/cern.ch/grid/lhcb/data/2010/RAW/FULL/LHCb/COLLISION10/69623/069623_0000000003.raw info (key/incr/integral) : 0 5 0 / 1 5 92 / 2 5 33 / 6 5 0 / 7 5 0 / 8 5 0 / 10 5 4 / 20 5 5 / }
DumpFSR INFO lo address: /FileRecords/0E12F271-8F74-DF11-9CD4-001E4F3DD7AB/LumiLowFSRBeam2
DumpFSR INFO /FileRecords/0E12F271-8F74-DF11-9CD4-001E4F3DD7AB/LumiLowFSRBeam2: LumiLowFSR: { runs : 69623 files : root:/castor/cern.ch/grid/lhcb/data/2010/RAW/FULL/LHCb/COLLISION10/69623/069623_0000000003.raw info (key/incr/integral) : 0 5 0 / 1 5 92 / 2 5 33 / 6 5 0 / 7 5 0 / 8 5 0 / 10 5 4 / 20 5 5 / }
DumpFSR INFO ev address: /FileRecords/26DEC83E-8F74-DF11-AC26-001E4F3DD7AB/EventCountFSR
DumpFSR INFO /FileRecords/26DEC83E-8F74-DF11-AC26-001E4F3DD7AB/EventCountFSR: EventCountFSR: { input : 100 output : 18 statusFlag : VERIFIED }
DumpFSR INFO ev address: /FileRecords/0E12F271-8F74-DF11-9CD4-001E4F3DD7AB/EventCountFSR
DumpFSR INFO /FileRecords/0E12F271-8F74-DF11-9CD4-001E4F3DD7AB/EventCountFSR: EventCountFSR: { input : 100 output : 100 statusFlag : VERIFIED }
DumpFSR INFO ts address: /FileRecords/26DEC83E-8F74-DF11-AC26-001E4F3DD7AB/TimeSpanFSR
DumpFSR INFO /FileRecords/26DEC83E-8F74-DF11-AC26-001E4F3DD7AB/TimeSpanFSR: TimeSpanFSR: { earliest : 1270889604475328 - latest : 1270889604573184 }
DumpFSR INFO ts address: /FileRecords/0E12F271-8F74-DF11-9CD4-001E4F3DD7AB/TimeSpanFSR
DumpFSR INFO /FileRecords/0E12F271-8F74-DF11-9CD4-001E4F3DD7AB/TimeSpanFSR: TimeSpanFSR: { earliest : 1270425449804736 - latest : 1270425453690688 }
\ No newline at end of file
ANNPIDMoni SUCCESS Booked 18 Histogram(s) : 1D=18
ANNPIDMoni SUCCESS List of booked 1D histograms in directory "PROTO/ANNPIDMoni" :-
| ID | Title | # | Mean | RMS | Skewness | Kurtosis |
| Downstream/ElectronANN | "Downstream Electron ANN PID" | 228 | 0.027729 | 0.087635 | 6.1249 | 47.387 |
| Downstream/GhostANN | "Downstream Ghost ANN PID" | 228 | 0.39513 | 0.3644 | 0.49996 | -1.36 |
| Downstream/KaonANN | "Downstream Kaon ANN PID" | 228 | 0.024623 | 0.045711 | 3.2591 | 12.734 |
| Downstream/MuonANN | "Downstream Muon ANN PID" | 228 | 0.0014382 | 0.011834 | 9.6041 | 102.23 |
| Downstream/PionANN | "Downstream Pion ANN PID" | 228 | 0.45204 | 0.37484 | 0.16571 | -1.583 |
| Downstream/ProtonANN | "Downstream Proton ANN PID" | 228 | 0.075155 | 0.12662 | 2.3818 | 5.2262 |
| Long/ElectronANN | "Long Electron ANN PID" | 4345 | 0.026552 | 0.12665 | 5.8435 | 34.663 |
| Long/GhostANN | "Long Ghost ANN PID" | 4345 | 0.207 | 0.33549 | 1.5884 | 0.87622 |
| Long/KaonANN | "Long Kaon ANN PID" | 4345 | 0.14326 | 0.26355 | 2.1262 | 3.3226 |
| Long/MuonANN | "Long Muon ANN PID" | 4345 | 0.040605 | 0.17543 | 4.4265 | 18.29 |
| Long/PionANN | "Long Pion ANN PID" | 4345 | 0.54096 | 0.38233 | -0.23917 | -1.5934 |
| Long/ProtonANN | "Long Proton ANN PID" | 4345 | 0.056644 | 0.1363 | 4.0359 | 18.635 |
| Upstream/ElectronANN | "Upstream Electron ANN PID" | 21 | 0.069211 | 0.18201 | 3.4984 | 11.325 |
| Upstream/GhostANN | "Upstream Ghost ANN PID" | 21 | 0.24351 | 0.28565 | 1.1008 | -0.25839 |
| Upstream/KaonANN | "Upstream Kaon ANN PID" | 21 | 0.089112 | 0.12289 | 3.1492 | 9.7647 |
| Upstream/MuonANN | "Upstream Muon ANN PID" | 21 | 0.0037318 | 0.0047034 | 4.4216 | 16.915 |
| Upstream/PionANN | "Upstream Pion ANN PID" | 21 | 0.55084 | 0.27775 | -0.45405 | -1.0632 |
| Upstream/ProtonANN | "Upstream Proton ANN PID" | 21 | 0.049979 | 0.085864 | 2.0641 | 2.739 |
Bhadron_pRec_Tr...SUCCESS Number of counters : 1
| Counter | # | sum | mean/eff^* | rms/err^* | min | max |
| "# Unpacked Tracks" | 994 | 4594 | 4.6217 | 2.5366 | 2.0000 | 22.000 |
Bhadron_PsAndVs...SUCCESS Number of counters : 4
| Counter | # | sum | mean/eff^* | rms/err^* | min | max |
| "# Unpacked FlavourTags" | 954 | 0 | 0.0000 | 0.0000 | 0.0000 | 0.0000 |
| "# Unpacked Particles" | 954 | 30626 | 32.103 | 110.85 | 0.0000 | 2913.0 |
| "# Unpacked RecVertices" | 954 | 9234 | 9.6792 | 67.573 | 0.0000 | 2010.0 |
| "# Unpacked Vertices" | 954 | 15277 | 16.014 | 83.815 | 0.0000 | 2396.0 |
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment