diff --git a/Phys/CommonParticles/CMakeLists.txt b/Phys/CommonParticles/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..d46f414312af8cfede99ed43e362eeedb5ac5d1c --- /dev/null +++ b/Phys/CommonParticles/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################################################ +# Package: CommonParticles +################################################################################ +gaudi_subdir(CommonParticles v8r25) + +gaudi_depends_on_subdirs(Phys/DaVinciKernel + Tr/TrackTools) + +gaudi_install_python_modules() + + +gaudi_add_test(QMTest QMTEST) diff --git a/Phys/CommonParticles/cmt/requirements b/Phys/CommonParticles/cmt/requirements new file mode 100755 index 0000000000000000000000000000000000000000..af87a462725a14d746ea1f295c20384931e5a63d --- /dev/null +++ b/Phys/CommonParticles/cmt/requirements @@ -0,0 +1,27 @@ +#============================================================================ +# Created : 2003-11-07 +# Maintainer : Olivier Deschamps, P. Koppenburg, J. Palacios +# +# Documentation on the requirement file can be found at +# http://cern.ch/lhcb-comp/Support/html/new_structure.pdf +#============================================================================ +package CommonParticles +version v8r25 + +#============================================================================ +# Structure, i.e. directories to process. +#============================================================================ +branches cmt doc python + +use GaudiPolicy v* + +use TrackTools v* Tr + +apply_pattern install_python_modules + +#============================================================================ +# Used packages. +#============================================================================ +use DaVinciKernel v* Phys +#============================================================================ +apply_pattern QMTest diff --git a/Phys/CommonParticles/doc/release.notes b/Phys/CommonParticles/doc/release.notes new file mode 100755 index 0000000000000000000000000000000000000000..ab130a96a85d241e84260b1931c7d661c1c79049 --- /dev/null +++ b/Phys/CommonParticles/doc/release.notes @@ -0,0 +1,1211 @@ +!$Id: release.notes,v 1.194 2010-09-09 08:44:10 jpalac Exp $ +!----------------------------------------------------------------------------- +! Package : Phys/CommonParticles +! Responsible : P. Koppenburg, Chris Jones +! Purpose : Common particles +! +! When adding a Particle make sure it is appended to one of the Standard* files +! +!----------------------------------------------------------------------------- + +!========================= CommonParticles v8r25 2017-01-31 ========================= + +! 2016-12-23 - Chitsanu Khurewathanakul + - Fix unlinked StandardTauNonPhys + +!========================= CommonParticles v8r24 2016-12-19 ========================= + +| 2016-11-04 - Olli Lupton + - Add a container of downstream kaons without PID requirements (StdNoPIDsDownKaons). + +!========================= CommonParticles v8r23 2015-11-24 ========================= + +! 2015-11-14 - Ricardo Vazquez Gomez + - Change the chi2 and ghostprob cut to Reco15 values for Taus and Dipion. + + +!========================= CommonParticles v8r22 2015-09-08 ========================= + +! 2015-09-10 - Andrea Contu + - Fix to python/CommonParticles/StdLooseDalitzPi0.py + +! 2015-08-20 - Chris Jones + - Fixed StdNoPIDsDownElectrons and added it into StandardElectrons + +!========================= CommonParticles v8r21 2015-08-19 ========================= + +! 2015-08-02 - Chris Jones + - Add StdNoPIDsUpKaons.py + +!========================= CommonParticles v8r20 2015-05-29 ========================= + +! 2015-05-16 - Andrea Contu + - Added StandardMuPi.py + +! 2015-05-11 - Yasmine Amhis + - Added StandardLambdastar.py and stick it in Intermediate particles +!========================= CommonParticles v8r19 2014-10-30 ========================= + +! 2014-10-30 - Stefano Perazzini + - Fixed test_inputlocations_consistency.py addint "/Particles" to the Inputs + of StdLooseDalitzPi0 + +! 2014-09-22 - Olivier Deschamps + - move to Loki::VertexFitter in DiElectron making + + +! 2014-09-04 - Julien Cogan + - Rename StdLooseDetachedTau3pi to StdTightDetachedTau3pi and restore previous + version of the loose selection + +! 2014-08-25 - Cedric Potterat + - Add StdJetsR07 to StandardJets + +! 2014-08-25 - Daniel O'Hanlon + - Add LambdaLD to StdLooseLambda + +! 2014-08-13 - Chris Jones + - Fix a bug that prevented StdLooseDiElectron being used as a + Standard Particle. + +! 2014-08-08 - Chris Jones + - Add StdLooseDiElectron to StandardBasicNeutral module. + +!========================= CommonParticles v8r18 2014-01-22 ========================= + +! 2014-01-19 - Giampiero Mancinelli +- Heavily changed StdLooseDetachedTau list for B->tautau, B->taumu in StdLooseDetachedTau.py + +!========================= CommonParticles v8r17 2013-12-18 ========================= + + +! 2013-12-17 - Cédric Potterat + - remove a "print" in StdParticleFlow + +! 2013-12-10 - Cédric Potterat + - Adding: + . StdJets.py + . StdParticleFlow.py + . StandardJets.py + - Modifying: + . StandardBasic.py (Adding StandardJets.py) + +!========================= CommonParticles v8r16 2013-10-29 ========================= + +! 2013-10-25 - Chris Jones + - Remove CC in StdLooseRho0 + +!========================= CommonParticles v8r15 2013-09-18 ========================= + +! 2013-08-23 - Roel Aaij + - Widen the mass window to 150 MeV in StdMassConstrainedJpsi. + +!========================= CommonParticles v8r14 2013-07-05 ========================= + +! 2013-07-04 - Chris Jones + - Update ANNPID Stable Common Particles with new cut values tuned for the + latest "MC12TuneV2" tuning. + +!========================= CommonParticles v8r13 2013-04-05 ========================= + +! 2013-03-29 - Jibo He + - Removed mass cut in StdLooseDetachedDiElectron + +! 2013-03-28 - Thomas Blake + - Added StdLooseDownMuons + +! 2013-03-27 - Vanya Belyaev + + - fixed StdV0FromBrunel + (thanks to Philippe Ghez) + +!========================= CommonParticles v8r12 2012-12-20 ========================= + +! 2012-12-04 - Donal Hill + - Changes to common particles StdLooseDetachedTauNonPhys.py and StdLooseDetachedTau.py + +!========================= CommonParticles v8r11 2012-11-30 ========================= + +! 2012-11-29 - Marco Clemencic + - Added CMake configuration file. + +! 2012-11-09 - Chris Jones + - Fix some bugs in the last commit for diElectron vertexing + + Proper use of the addTool method + + Add some missing imports + +! 2012-11-07 - Olivier Deschamps for Edwige Tournefier + - improve diElectron vertexing for DD configuration (new settings comes with + updated DiElectronMaker) + +!========================= CommonParticles v8r10 2012-09-01 ========================= + +! 2012-09-01 - Anton Poluektov + - fix test_inputlocations_consistency + +! 2012-08-30 - Olivier Deschamps + - fix typo in StdVeryLooseAllPhotons name + +! 2012-08-24 - Susan Haines + - Removed StdVeryLooseKs.py + - Removed lines related to StdVeryLooseKs from StandardV0.py + +! 2012-08-23 - Thomas Blake + - Added StandardTau and StandardDipion to StandardIntermediate + +!========================= CommonParticles v8r9 2012-06-28 ========================= + +! 2012-05-23 - Olivier Deschamps + - StdVeryLooseAllPhotons.py: decrease photon pT cut to 75MeV (for bremStrahlung) + +! 2012-06-18 - Patrick Koppenburg + - StdLooseDiElectron : Make a DiElectron for B->eeK(*) using DiElectronMaker + called `StdDiElectronFromTracks' + +! 2012-06-12 - Olivier Deschamps for Edwige Tournefier + - add StdAllTightSymGammaConversion.py : combinatorial gamma->ee from + symmetrized e pT + +! 2012-06-12 - Olivier Deschamps + - StdAllLoose(Tight)GammaConversion.py : produce gamma->ee particle + (based on DiElectronMaker) + +! 2012-05-14 - Olivier Deschamps + - StdVeryLooseAllPhotons.py: photons with pT threshold down to 100 MeV + (for new BremStrahlung recovery) + +! 2012-06-8 - P. Koppenburg + - New StdKsFromV0 that make Ks particles from the V0 Brunel objects. + +!========================= CommonParticles v8r8 2012-04-27 ========================= + +! 2012-04-25 - Sandra Amato + - StdTightDplus: + added StdTightDplus2PPP + +!========================= CommonParticles v8r7 2012-03-01 ========================= + +! 2012-02-21 - Vanya Belyaev + + - StdLooseResolvedPi0.py: + + add "wide" pi0->gamma gamma + +! 2012-02-19 - Vanya Belyaev + + - StdLooseResolvedEta.py: + + add "wide" eta->gamma gamma + +!========================= CommonParticles v8r6 2012-02-10 ========================= +! 2012-02-03 - Jibo He + - Added StdTightPhi, using StdTightKaons. + +! 2012-02-01 - Jibo He + - StdDetachedKstar + Renamed as StdLooseDetachedKpi, to better reflect what's inside. + +! 2012-01-31 - Jibo He + - StdVeryLooseDetachedKstar + Commented out daughters cuts to save a little bit CPU, + because tighter cuts IPCHI2>4 already applied on StdLoose{Kaons,Pions} + - StdDetachedKstar + New KSTAR particle with mass up to 2.2 GeV. + +! 2012-01-31 - Jibo He + - Added StdLooseDetachedDiElectron, with cuts of PT>200 MeV, IPS>1 on both electrons, + and M(ee)>20 MeV. + +! 2012-01-27 - Chris Jones + - Add new Standard Particles using cuts the ANN PID variables. + The cuts have been tuned to give, more or less, the same efficiency (on MC11) + as their Combined DLL counterparts, but with better mis-ID rates ! + - Various minor fixes to typos in comments here and there. + +! 2012-01-27 - Patrick Koppenburg + - Added LD Ks for studies + +! 2012-01-20 - Thomas Blake + - Added StdVeryLooseLambda using AllNoPIDs particles + +! 2012-01-19 - Susan Haines +- Updated (looser) StdVeryLooseKs.py Kshort mass windows, both LL and DD. + +!========================= CommonParticles v8r5 2011-09-15 ========================= +! 2011-09-14 - Ulrich Kerzel +- Add NoBremNoPIDs*Electrons for all types: Track as electron, no PID requirement, + no Bremsstrahlung correction + +! 2011-08-27 - Susan Haines + - Added StdVeryLooseKs.py, LL and DD Kshorts. LL using StdAllNoPIDsPions for + daughters (no default pT cut). Added for use in StrippingBu2D0h_D02KShh_NoPID + and WS lines. + - Added StdVeryLooseKs to StandardV0.py + +! 2011-08-26 Carla Gobel & Sandra Amato + - Added StdTightDplus.py to be used in KKPos stripping line and included in + StandardDplus.py + +! 2011-08-25 - Greig Cowan + - Added muon PT > 0.5*GeV cut to StdMassConstrainedJpsi + +! 2011-08-19 - Jibo He + - StdLooseDiElectron + . Added PT>500 MeV for electron to speed up. + +!2011-08-19 Hamish Gordon + - Add CommonParticles for D(s)->KKK and Ds->K+K+pi-, with Oxford/Rio stripping + selection to keep the timing down + +!========================= CommonParticles v8r4 2011-08-04 ========================= +! 2011-08-03 - Rob Lambert + - Add in ADOCACHI2 to all two body decays, add EOL native everywhere + +! 2011-08-03 - Rob Lambert + - Rolf added back in the ADOCACHI2 cuts to Ks and lambda, it improves the timing + by a lot. + +!========================= CommonParticles v8r3 2011-07-22 ========================= +! 2011-07-21 - Patrick Koppenburg + - Fix tests: + . StdAllVeryLooseMuons were not defined in StandardMuons + . Typo in StdLoosePhi2KK (dangerous!) + +! 2011-07-19 - Patrick Koppenburg + - Remove unused StdVeryLooseDplus, D0, Lambdac + +! 2011-07-18 - Patrick Koppenburg +* +* MAJOR CHANGE : PLEASE READ +* + - New Default Tracking cut removing clones + - New default PT>250MeV and IPCHI2>4 cut for all charged basic + - Added new StdAllLooseXxx and StdAllNoPIDsXxx (Xxx=Pions,Muons,Kaons,Protons,Electrons) + and StdAllVeryLooseMuons that do no implement PT>250MeV and IPCHI2>4 cut + - Changed StdLooseXxx, StdNoPIDsXxx and StdVeryLooseMuons to use the new particles + and implement the new default cuts + + WARNING : Now all StdLooseXxx and StdNoPIDsXxx have PT>250MeV and IPCHI2>4 + + - The following intermediate states have been changed to use the new StdAll + particles: + + StdLooseDiElectron + StdLooseDiMuon + StdLooseDiMuonSameSign + StdLooseDstarWithD2HH (only slow pion) + StdLooseElectrons + StdLooseJpsi2ee + StdLooseJpsi2MuMu + StdMassConstrainedJpsi2MuMu + StdVeryLooseDiMuon + + -> Hence they are still behaving like before + + - Remove all ADOCACHI2 cuts now useless because of LoKi::VertexFitter use. + +!========================= CommonParticles v8r2 2011-06-21 ========================= +! 2011-06-14 - Rolf Oldman + - move pT cut before vertex fit in Kstar + +!========================== CommonParticles v8r1 2011-03-10 ================== + +! 2011-03-10 - Juan Palacios + - Looking at the QM tests, it seems the StdMassConstrainedJpsi2MuMu interference + had a large effect on the efficienct of StdLTUnbiasedJpsi2MuMu, which + uses StdLooseJpsi2MuMu. + - Increase to v8r1. + +! 2011-02-24 - Roel Aaij + - Changed StdMassConstrainedJpsi2MuMu from a FilterDesktop to a CombineParticles. + This will prevent the StdLooseJpsi2MuMu from also having the mass constraint + applied. + +!========================== CommonParticles v8r0 2011-02-22 ================== + +! 2011-02-22 - Juan Palacios + - InputLocations -> Inputs + + + +! 2011-02-21 - Juan Palacios + - StdLooseKs, StdVeryLooseD02HH, StdLooseDstarWithD2HH, StdLooseD02HH + . Bug fix: locations map was being over-written, keeping info for last + common particles only. + - All CommonParticles + . Set complete InputLocations paths: "Phys/<alg name>/Particles" + - Add QM test testing that all InputLocations are among CommonParticles + output locations. + +! 2011-02-17 - Juan Palacios + - Data-On-Demand locations now include "/Particles" ending. + - Remove <hay>/<alg name>/Vertices from Data-On-Demand. Nobody should + ask for vertices directly, these come via the Particles. + - Increase to v8r0. + +!========================== CommonParticles v7r6p1 2010-12-20 ================ + +! 2010-11-29 - Juan Palacios + - tests/test_load_modules.py + . Remove false failure. + - Increase to v7r6p1. + +!========================== CommonParticles v7r6 2010-11-09 =================== + +! 2010-11-08 - Greig Cowan + - Opened Jpsi mass window. + +! 2010-11-05 - Rudolf Oldeman + - python/CommonParticles/StdLooseDplus.py + + Added permutations to CombinationCut of StdLooseDplus2hhh + +! 2010-10-05 - Wouter Hulsbergen + - tightened mass window for StdMassConstrainedJpsi2MuMu + +!========================== CommonParticles v7r5 2010-10-04 =================== + +! 2010-10-01 - Jibo He + - python/CommonParticles/StandardDiMuon.py + + Added StdLooseDiMuonSameSign to make it function. + +! 2010-10-01 - Jibo He + - python/CommonParticles/StdLooseDiMuon.py + . Removed mass cut + - python/CommonParticles/StdLooseDiMuonSameSign.py + + Added same sign loose dimuon + +! 2010-09-21 - Rob Lambert + - Made CommonParticles depend on Tr/TrackTools, now that Phys depends on Rec. + +! 2010-09-21 - Greig Cowan + - Added ADOCACHI2 cuts to numerous common particles and removed + explicit track chi2 requirements. + - Removed VDOF from many CommonParticles. + +! 2010-09-20 - Juan Palacios + - python/CommonParticles/StdLooseRho0.py + . Remove StdLooseRho0.DaughtersCuts = { "pi+" : "TRUE" }. This cut is + unnecessary and doesn't work anyway. + +! 2010-09-20 - Thomas Blake + - Updated to use ADCOACHI2CUT instead of ADOCACHI2 + +! 2010-09-17 - Thomas Blake + - Updated trackSelector cuts for StdNoPIDsDowns{Pions/Protons} to + Chi2Cut < 10 + - Added ADOCACHI2 cuts to numerous common particles and removed + explicit track chi2 requirements. + - Updated StdLooseLambdac to use StdLoose particles. + +! 2010-09-17 - Greig Cowan + - Added ADOCACHI2 cuts to most of the common particles to speed up their + creation. Also removed TRCHI2NDOF cuts since defaults are now set to <5. + +! 2010-09-16 - Chris Jones + - Update the default tracking cuts as applied to all common particles, via + the DefaultTrackingCuts Configurable in Utils.py + Previously the default was for no additional track selection cuts to be + applied when creating Particles from ProtoParticles. Now the default cut + is chi^2 < 5 + - I also removed the method useCutSet, which is really redundant as the default + cuts can just be set directly. Also, doing this should really be + discouraged and removing the method does this ... + +! 2010-09-09 - Juan Palacios + - python/CommonParticles/StdLooseDplus.py + . Attempt to fix buggy StdLooseDplus2hhh.CombinationCut. + . NEEDS TO BE CONFIRMED BY VAVA! + - cmt/requirements + . Increase to v7r4p1 + +!========================== CommonParticles v7r4 2010-09-06 =================== + +! 2010-09-06 Stefania Vecchi + - Removed StdNoPIDsUpPions from the input container of StdVeryLooseDstarWithD2HH.py + - Changes in StdVeryLooseD02HH: Use StdLooseKaons, reduced D0 mass window to 100MeV + +! 2010-09-05 Greig Cowan + - Removed mass constraint chi2 cut on Jpsi and tightened StdVeryLooseDstarWithD2HH + +! 2010-08-24 Rolf Oldeman + - Added new StdLooseLambdac + +! 2010-08-24 Greig Cowan + - Added new StdMassConstrainedJpsi2MuMu for use by beta_s B2JpsiX selections. + +! 2010-08-24 Yasmine Amhis + - Change track chi2/ndof (20 -> 10) cut of pions and proton in StdLooseLambda.py + +! 2010-08-11 - Ulrich Kerzel +- Add StdNoPIDsElectrons for Upstream, Downstream and VELO tracks + (one new class of particles for each) + +! 2010-08-10 - V. Gligorov + - Add a generic D+->hhh to StdLooseDplus, using the WM functors to prevent multiple + combinatorics. + +!========================== CommonParticles v7r3 2010-06-24 =================== + +! 2010-06-03 - Yasmine Amhis + - Add Standard Loose Downstream Kaons. + - Update Standard Kaons. + +! 2010-05-21 - Olivier Deschamps + - StdTight/LooseElectrons : remove obsolete BremCor setting. + + +!========================== CommonParticles v7r2 2010-05-24 =================== + +! 2010-05-21 - Patrick Koppenburg + - J/psi -> ee Typo fix + - DiElectron mass removed + +! 2010-05-20 - Patrick Koppenburg + - Loosened the mass window of J/psi->ee + +! 2010-05-19 - Greig Cowan + - Loosened Dstar mass window in StdVeryLooseDstarWithD2HH.py. + +!========================== CommonParticles v7r1 2010-04-30 =================== + +! 2010-04-22 - Juan Palacios + - Add py.tests and QMTests. These will fail as at the moment nothing can + be loaded in the Analysis environment, since this package needs REC! + - Increase to v7r1. + +!========================== CommonParticles v7r0 2010-04-08 =================== + +!========================== CommonParticles v6r5 2010-01-26 =================== +! 2010-01-26 - Patrick Koppenburg + - Very Loose DiMuon + +! 2010-01-25 - Patrick Koppenburg + - Very Loose K* has chi2 of 64 + +! 2010-01-22 - Patrick Koppenburg + - Remove all DC06 options + - v7r0 + +! 2010-01-22 - Patrick Koppenburg + - Add StdVeryLooseDetachedKstar + - v6r5 + +!========================= CommonParticles v6r4 2010-01-19 =================== +! 2010-01-18 - Greig Cowan + - Added StdVeryLooseJpsi for B2JpsiX strippings. + +! 2010-01-06 - Patrick Koppenburg + - Added StdLooseResolvedEta (completes task #13084) + +! 2010-01-05 - Patrick Koppenburg + - Correct buggy StdVeryLooseDstarWithD2HH + +! 2009-12-23 - Anton Poluektov + - Added StdVeryLooseDstarWithD2HH (Marta Calvi) + +! 2009-12-14 - Anton Poluektov + - Added StdVeryLooseD0HH, StdVeryLooseDplus and StdVeryLooseLambdac by Liming Zhang. + +! 2009-12-09 - Patrick Koppenburg + - New StdLooseDiElectron, a copy of the StdLooseDiMuon + - v6r3 + +!========================= CommonParticles v6r3 2009-11-16 =================== +!========================= CommonParticles v6r2 2009-10-28 =================== + +! 2009-10-09 - Patrick Koppenburg + - Added Lambda as a pure copy of Ks with pi+ -> p+ + - Reshuffled a few particles into appropriate categories Standard*.py + - Moved explicit loading of Std* out of StandardIntermediate + -> should do the same + +! 2009-10-08 - Patrick Koppenburg + - New file StdNoPIDsUpPions.py for upstream pions + - New file StdVeryLooseMuons.py for Muons with IsMuonLoose + - Updated StdDC06Muons to use {"RequiresDet='MUON' IsMuon=True" } + . This restores the efficiency of muon ID to 8% instead of 82% + - Updated StdDC06TightMuons to use {"RequiresDet='MUON' IsMuon=True" CombDLL(mu-pi)>'-3.0'" } + . This restores the efficiency of muon ID to 6% instead of 40% + - v6r2 + +!========================= CommonParticles v6r1 2009-08-11 =================== + +! 2009-08-04 - Chris Jones + - Update Muon Selections to use new ProtoParticleFilter options to select + either IsMuon or IsMuonLoose candidates e.g. + + fltr = protoFilter ( algorithm , ProtoParticleMUONFilter, 'Muon' ) + fltr.Selection = [ "RequiresDet='MUON' IsMuon=True" ] + +!========================= CommonParticles v6r0 2009-07-21 =================== + +! 2009-07-21 - Chris Jones + - Update Track selection so default cuts set is now NULL (I.e. no cuts) + following requests from the physics working groups. + + This can be changed via :- + + from CommonParticles.Utils import DefaultTrackingCuts + + # Set cuts to default (proposed) Loose selection + DefaultTrackingCuts().useCutSet("Loose") + + # Set by hand to custom values + DefaultTrackingCuts().Cuts = { "Chi2Cut" : [ 0, 10 ] } + + The Cut Set "Loose" (currently) corresponds to the cuts + + Cut Min. Max. + ---------------------------------- + "Chi2Cut" : [ 0, 10 ] + "LikelihoodCut" : [ -100, 9e40 ] + "CloneDistCut" : [ -1e10, 9e40 ] + "GhostProbCut" : [ -1, 0.99 ] + +! 2009-07-10 - Greig Cowan + - Added vertex chi2 cut to phi in StdLooseDetachedPhi. + +! 2009-07-09 - V. Gligorov + - Removed all PID cuts from the standard D02HH and Dplus particles. + +! 2009-07-09 - Rob Lambert + - Added StdLooseDetachedKstar to StandardIntermediate + +! 2009-07-09 - Patrick Koppenburg + - Now add StandardDiMuon to StandardIntermediate + +! 2009-07-09 - Rob Lambert + - Add StdLooseDiMuon to StandardDiMuon + +! 2009-07-08 - Chris Jones + - Update Track selection to make it easy for users to re-define the default + cuts in their DaVinci.py options files, e.g. :- + + from CommonParticles.Utils import DefaultTrackingCuts + DefaultTrackingCuts().Cuts = { } # Make default no cuts + DefaultTrackingCuts().Types = ["Long"] + +! 2009-07-07 - Rob Lambert + - Added a StdLooseDiMuon. Cuts are:- + Vtx Chi^2 / d.o.f. < 64 + ADAMASS(J/Psi) < 3000*MeV + - Modified StdLooseDetachedKstar, loosened cut: + Vtx Chi^2 / d.o.f. < 36 -> **64** + +! 2009-07-06 - Patrick Koppenburg + - Remove all .PhysDesktop + - Increment to v6r0 + +! 2009-07-01 - Chris Jones + - Add loose(ish) track selection cuts to all Standard charged Particles. + Cuts are :- + Chi^2 / d.o.f. < 10 + Likilihood > -100 + CloneDist > -1e10 + GhostProb < 0.99 + Current cuts are just a suggestion (motivated by those used in the RICH + reconstruction) and included as a starting point for discussion with the + physics working groups. + +!========================== CommonParticles v5r4 2009-07-02 =================== + +! 2009-06-29 - Greig Cowan + - Added vertex chi2 cut to StdLooseJpsi2MuMu and StdLoosePhi2KK. + +! 2009-06-28 - Greig Cowan + - Removed StdLooseUnbiasedPhi2KK. Added StdLooseDetachedPhi with K IP cut. New + StdLoosePhi2KK only has upper mass window on the phi. New StdLooseJpsi2MuMu + only has mass window. StdLooseKstar added to be compatible with beta_s + roadmap Bd2JspiKstar selection. Appropriate stripping and ccbar selections + have been updated to use these particles and have been successfully tested. + +!========================== CommonParticles v5r3 2009-06-23 =================== +! 2009-06-12 - Patrick Koppenburg + - Adapt NoPIDs options not to use obsolete options UseDownstreamTracks + and similar. Requires tag pkoppenb_20090612 of ParticleMaker. + - Increment to v5r3 + +!========================== CommonParticles v5r2 2009-06-03 ================== + +! 2009-05-26 - Greig Cowan + - Using StdNoPIDsDownPions for the KsDD. + +! 2009-05-21 - Greig Cowan + - Reverted StdLooseJpsi2MuMu to only make the loose Jpsi's. The FilterDesktop code + for the lifetime unbiased Jpsi has been moved into it's own file: + StdLTUnbiasedJpsi2MuMu.py. This particle has been added to StandardJpsi.py. The + lifetime unbiased selection is based on the one in described in LHCb-2009-025 + and the beta_s roadmap. + +! 2009-05-21 - Vanya BELYAEV + - StdLooseJpsi2MuMu + + fix missing filterDesktop + fin invalid usage of "updateDoD" + +! 2009-05-21 - Patrick Koppenburg + - Removed StdLooseDs from StandardIntermediate + +! 2009-05-20 - V. Gligorov + - Removed the obsolete StdLooseDs.py selection. This has been entirely superseeded + by StdLooseDplus.py because there is no good reasons for different cuts between + the charged D and Ds at this loose level. The mass window is large enough to accomodate + both, as described in the log entry below. If your selection is broken, just switch + to StdLooseDplus. You will also need to change the Ds to a D+ in your decay + descriptors. + +! 2009-05-20 - V. Gligorov + - Updated the cuts for the standard D0 to bring it into line with what will be + needed in the stripping. Added a track chi2/ndof cut of 10 to help with ghosts, + loosened the PT cut to 250 MeV on the final state daughters, and made the mass window + run from 100 MeV above the Ds mass (to help with background estimation) to + 100 MeV below the D0 mass (for the crystal ball). + - Fixed a bug in StdLooseDplus which meant the data on demand service was not being + updated properly. + - Updated the cuts in StdLooseDplus to bring them into line with StdLooseD0. Mass window + runs from 200 MeV below the Ds mass to 100 MeV above it. + +!========================== CommonParticles v5r1 2009-05-11 ================== + +! 2009-04-24 - Patrick Koppenburg + - More bug fixes + +! 2009-04-23 - Patrick Koppenburg + - Fix DC06 particles for further changes in ParticleMaker + - Fix standard particles + +! 2009-04-22 - Patrick Koppenburg + - Second step : updated the new particles in python + - Increment to v5r1 + +! 2009-04-21 - Patrick Koppenburg + - First step to adapt to new ParticleMaker : DC06 done. + +!========================== CommonParticles v5r0p1 2009-04-08 ================ + +! 2008-04-03 - Olivier Deschamps + - adapt options and python to change in calo ParticleMaker (property name changes for pi0Makers) + +! 2009-03-25 - Patrick Koppenburg + - Bug fix in StdLooseD02HH : All states except D0->Kpi were called Standard + instead of Std. + +!========================== CommonParticles v5r0 2009-03-01 ================== + +! 2009-02-26 - Patrick Koppenburg for Alessio Sarti + - Added down pions and protons + +! 2009-02-24 - Patrick Koppenburg + - PhysDesktop() -> PhysDesktop + +! 2009-02-18 - Patrick Koppenburg + - Move all intermediate states to python + - They are now based on Hlt2, not DC06 anymore + - Most of this is untested + - Removed all options/Standard*.opts + - Removed options/StandardOptions.py (requires latest version of AnalysisConf) + - Keep only DC06 stuff in options/ + - options/ directory declared obsolete. Do not edit. + - Increment to v5r0 + +!========================== CommonParticles v4r2 2009-01-05 ================== + +! 2009-01-15 - Vanya BELYAEV + + - The first attempt to provide 'configurables' for standard particles. + all modules configurables are available in python/CommonParticles directory. + + Basic: + + StdLoosePions + StdLooseKaons + StdLooseMuons + StdLooseProtons + StdLooseElectrons + + StdTightPions + StdTightKaons + StdTightMuons + StdTightProtons + StdTightElectrons + + StdNoPIDsPions + StdNoPIDsKaons + StdNoPIDsMuons + StdNoPIDsProtons + StdNoPIDsElectrons + + StdLoosePhotons + StdLooseCnvPhotons + StdLooseAllPhotons + + Collections: + + StandardPions + StandardKaons + StandardMuons + StandardProtons + StandardElectrons + StandardPhotons + StandardBasicCharged + StandardBasicNeutral + StandardBasic + + + The usage is fairly trivial, e.g.: + + import CommonParticles.StdLoosePions + + or: + + import CommonParticles.StandardMuons + + or: + + import CommonParticles.StandardBasic + + + The loaded content could always be inspected using: + + from CommonParticles.Utils import locationsDoD + print locationsDoD() + + Also one can always get the actial algorithms(configurables), + which are responsible for the given equipped locations: + + >>> from CommonParticles.Utils import particles + >>> parts = particles() + >>> for location in parts : + ... print 'location :' % location + ... conf = parts[location] + ... print ' configurable: ' % conf.name() + + + Each file can be inspected from the common line: + + python StandardBasicCharged.py + + + cmt/requirments: + + version increment to v4r2 + + +! 2009-01-09 - Patrick Koppenburg for Diego Martinez Santos + - Fixed incorrect comment about loose muon DLL + +! 2008-12-23 - Patrick Koppenburg + - Rename StandardOptions.opts to .py + - Increment to v4r1p3 + +!========================== CommonParticles v4r1p2 2008-11-05 ================= + +! 2008-10-29 - Patrick Koppenburg + - Rename SelresultCorrelations + - Increment to v4r1p2 + +!========================== CommonParticles v4r1p1 2008-09-10 ================= + +! 2008-09-25 - Patrick Koppenburg + - Use OldFilterDesktop where needed + - Increment to v4r1p1 + +!========================== CommonParticles v4r1 2008-09-10 =================== + +! 2008-09-09 - Patrick Koppenburg + - Standard pions : added some more + +!========================== CommonParticles v4r0 2008-08-05 =================== +! 2008-07-11 - Patrick Koppenburg + - Copied all Standard*.opts to StandradDC06*.opts. These are now obsolete + and will not be touched. + - The remaining Standard*.opts can be translated to Standard*.py. + - Increment to v4r0 + +!========================== CommonParticles v3r13 2008-07-11 ================== +! 2008-07-11 - Patrick Koppenburg + - Explicitly declare ByPIDFilterCriterion for FilterDesktop + +!========================== CommonParticles v3r12 2008-04-24 ================== + +! 2008-04-11 - Patrick Koppenburg + - No tabs in options + +! 2008-03-14 - Patrick Koppenburg + - do not print options + +!========================== CommonParticles v3r11 2008-03-06 ================== + +! 2008-03-06 - Juan PALACIOS + - cmt/requirements + . Increase version to v3r11 + +! 2008-02-03 - Vladimir Gligorov + - Added new StdTightD2KPiPi to StandardDplus.opts + +!========================== CommonParticles v3r10 2007-10-25 ================== + +! 2007-10-01 - Patrick Spradlin for Jim Libby + - Added new StdLooseD02KsKPi to StandardD0.opts + +!========================== CommonParticles v3r9 2007-09-24 =================== + +! 2007-09-03 - Patrick Koppenburg + - Moved dilepton for K*MuuMu into StandardJpsi as StdLoosePenguinDimuon + - increment to v3r9 + +!========================== CommonParticles v3r8 2007-03-09 =================== +! 2007-03-08 - Chris Jones + - Some changes to default cuts for Standard basic particles + + Loose electrons - Tighten DLL cut from -5 to -2 + + Tight Muons - Loosen DLL cut from 0 to -3 + +! 2007-03-08 - Patrick Koppenburg + - Correction for StdLooseBiased J/psi -> ee + +! 2007-03-07 - Patrick Koppenburg for Adlene Hicheur + - Updated J/psi->ee + +! 2007-03-05 - Patrick Koppenburg + - Depend on DaVinciKernel, not DaVinciTools + +! 2007-02-23 - Chris Jones + - Minor change to how the Standard Particle DoD sequences are set up + + For each Data-On-Demand entry alter the configuration to run + instead of the required algorithm, a GaudiSequencer. + + By default this GaudiSequencer runs only the original algorithm so + there is no change to the functionality. The reason for this change is it + allows other algorithms to optionally be appended to the end of the + sequencer. + + A new option file is added 'EnableStandardParticleMonitors.opts' which for each + of the standard particle sequences appends a monitor algorithm that produces some + basic performance monitoring. + +! 2007-02-17 - Patrick Koppenburg + - Correct many typos + +! 2007-02-15 - P. Koppenburg + - opitons/StandardDs.opts + . Correct typo + +! 2007-02-05 - P. Koppenburg + - opitons/StandardDs.opts + . Remove flight distance FC. + +!========================== CommonParticles v3r7 2007-02-02 =================== + +! 2007-02-02 - Juan PALACIOS + - opitons/StandardKstar.opts + . Fix bug. Kazu's changes had managed to comment out StdLooseKstar. + +! 2007-01-31 - Juan PALACIOS for Kazu Akiba + - options/StandardKstar.opts + . Add StdTightKstar standard particle + +! 2007-01-30 - Juan PALACIOS + - options/StandardMuons.opts + . Fix bug in StdTightMuons TrackSelector + +! 2007-01-25 - Cristina Lazzeroni + - options/StandardKs.opts + . Position cuts removed, Chi2 and IPS and Pt cuts changed. + +! 2007-01-25 - Juan PALACIOS for Cristina Lazzeroni + - options/StandardD0.opts + . Some cut tightening. + +! 2007-01-23 - Juan PALACIOS + - options/StandardOptions.opts + . Add StandardMergedPi0s.opts and StandardResolvedPi0s.opts + +! 2007-01-16 - Juan PALACIOS + - Remove src/CommonParticles_load.cpp and _dll.cpp + +! 2007-01-16 - P. Koppenburg + - options/StandardD0.opts + . Apply Pt cut before vertex fit not after. + . increment to v3r7 + +!========================== CommonParticles v3r6 2007-01-08 =================== + +! 2006-12-22 - Juan Palacios for Andy Powell + + - options/StandardD0.opts + . New D0 types: + Replace StdLooseD02KKPiPi for StdLooseD02KKPiPiNoCC and + StdLooseD02KPiPiPi for StdLooseD02KPiPiPiCA. + Remove StdLooseD02KPiPiPiDCS. + + - cmt/requirements + . Increase version to v3r6. + +! 2006-12-22 - Olivier Deschamps + - Apply an (temporary) correction on Brem. energy + +! 2006-12-12 - Jan Amoraal + - Relax Jpsi VChi2 cut, from 6 -> 15, for Flavour Tagging WG + +! 2006-12-12 - Juan PALACIOS + + - options/StandardElectrons.opts + . Remove AddBrem @to-dos. + +!========================== CommonParticles v3r5 2006-12-07 =================== + +! 2006-12-07 - Juan PALACIOS + - re-tag as v3r5 + +! 2006-12-05 - Jan Amoraal + - Removed dll cut in StdUnbiasedHeavyDimuon in StandardJpsi.opts + +! 2006-12-07 - Chris Jones + - Update syntax for combined DLL cuts - 'X-Y' -> 'CombDLL(X-Y)' + +!========================== CommonParticles v3r5 2006-12-06 =================== + +! 2006-12-05 - Juan PALACIOS + - cmt/requirements + . Increment version to v3r5 + +! 2006-11-28 - Olivier Deschamps + - fix StandardResolvedPi0s.optsS & standardMergedPi0s.opts +! 2006-11-28 - Juan PALACIOS + - options/ + add StandardResolvedPi0s.optsS & standardMergedPi0s.opts + update StandardPhotons.opts + +!========================== CommonParticles v3r4 2006-11-16 =================== + +! 2006-11-14 - Juan PALACIOS + + - cmt/requirements + . Increment version to v3r4 + + - options/StandardMuons.opts + . Remove mu-pi DLL cut for StdLooseMuons. + +!========================== CommonParticles v3r3 2006-10-24 =================== + +! 2006-10-20 - Juan PALACIOS + + - options/StandardElectrons.opts + . Fix bug in StdTightElectrons track selection (found by Olivier Deschamps). + + - cmt/requirements + . Increase version number to v3r3 + +! 2006-10-13 - Juan PALACIOS + + - options/StandardProtons.opts, StandarsPions.opts + . Replace "VTT" by "Upstream" in track types. + +! 2006-10-12 - Juan PALACIOS + - options/StandardProtons.opts + . Adapt to new protoparticle filter syntax. + - options/StandardDplus.opts + . Fix syntax error. + +!========================== CommonParticles v3r2 2006-10-04 =================== + +! 2006-10-04 - J. Palacios + - Fix bug in StandardKaons.opts + +! 2006-10-04 - P. Koppenburg + - New D0->4H by Andy Powell + +! 2006-09-29 - Juan PALACIOS + Increase version number to v3r2 + +! 2006-09-18 - Juan PALACIOS + - options/StandardPions.opts + . Add StdTightPions to DataOnDemandSvc. + +! 2006-09-06 - Olivier Deschamps + - Remove obsolete Calo stuff (XXpi0Alg) + - Update the StandardPhoton.opts + + +! 2006-08-18 - Juan PALACIOS + - options/StandardKs.opts + . Fix syntax error (extra trailing comma) + +!========================== CommonParticles v3r1 2006-07-28 =================== + +! 2006-07-18 - Juan PALACIOS + - options/StandardJpsi.opts + . Adapt DLL cuts to new ProtoParticleFilter scheme. + +!========================== CommonParticles v3r0 2006-07-07 =================== + +! 2006-07-11 - J. Palacios + options/StandardMuons.opts: Fix bug in StdTightMuons + +! 2006-06-28 - J. Palacios + - cmt/requirements + . Increase version number to v3r0 + +! 2006-06-28 - J. Palacios + - options + . new files for standard electrons, muons, pions, kaons, protons, and + photons a la DC06. + . StandardParticles.opts now includes these files. + . Photons not ready yet so commented out. + . Electrons missing AddBremPhoton functionality + + + Added: + + options/StandardElectrons.opts + options/StandardKaons.opts + options/StandardMuons.opts + options/StandardParticles.opts + options/StandardPhotons.opts + options/StandardPions.opts + options/StandardProtons.opts + + +! 2006-06-27 - J. Palacios + First attempt to make a DC06 version. + - cmt/requirements: remove use of RecoTools and library building. + +! 2006-05-20 - P. Koppenburg for Miriam Calvo + - options/StandardJpsi.opts + . Added J/psi->ee + - options/StandardParticles.opts + . Add Bremsstrahlung photon + . Remove hybrid mesons, leptons, hadrons... + +!========================== CommonParticles v2r2 2006-05-29 =================== +! 2006-05-24 - P. Koppenburg for Eric Conte + - options/StandardLambda.opts + . Standard Lambda + +! 2006-05-22-3 - P. Koppenburg for Eric Conte + - options/StandardParticles.opts + . Added Downstream and VTT protons + +! 2006-05-22-3 - P. Koppenburg for Jan Anoraal + - options/StandardJpsi.opts + . New unbiased J/psi and Standard heavy dimuon + +! 2006-05-22-3 - P. Koppenburg for Jeremie Borel + - options/StandardDs.opts + . Standard Ds + +! 2006-05-20 - V. Gligorov + - options/StandardD0.opts + . Restored pt cut on D0 to 1000 MeV + +! 2006-05-19 - P. Koppenburg + - options/DVTestStandardParticles.opts + - options/StandardOptions.opts + . Added StandardDplus + - options/StandardKstar.opts + . Window widened to +/-300MeV + +! 2006-05-19 - V. Gligorov + - options/StandardDplus.opts added + - options/StandardD0.opts + . Pt cuts loosened + - options/StandardDstar.opts + . sIPS cut on slow pion loosened + . Pt cuts loosened + +! 2006-05-18 - P. Koppenburg for I. Belyaev + - options/StandardKstar.opts + - options/StandardPhi.opts + . Loosened. Removed Pt cuts. + - options/StandardRho0.opts + . New options. + +! 2006-05-18 - P. Koppenburg + - options/StandardKs.opts + . Added options by Cristina Lazzeroni + - options/StandardD0.opts + . Added D0->KsPiPi and KsKK by Cristina Lazzeroni + - options/StandardParticles.opts + . Added StdLooseDownstreamPions for Ks + - options/DVTestStandardParticles.opts + . Test D0->KsHH + +!========================== CommonParticles v2r1 2006-04-28 =================== +! 2006-04-28 - P. Koppenburg + - options/StandardDstar.opts + . Bug fix: Chi2 and mass difference were cut actually ignored + . Change mass difference cut from 10 to 20 MeV + +!========================== CommonParticles v2r0 2006-02-03 =================== +! 2006-01-31 - P. Koppenburg + - options/MergedPi0Alg.opts + - options/ResolvedPi0Alg.opts + - options/ProducePairPhotons.opts + . Make algorithms "on-demand" + +! 2006-01-31 - P. Koppenburg and Vanya Belyaev + First commit of standard on-demand particles. To be reviewed by the + Physics WG. + - options/StandardParticles.opts + . Particles "on demand" with standard PID cuts, originally by Vanya + - options/StandardD0.opts + - options/StandardDs.opts + - options/StandardDstar.opts + - options/StandardJpsi.opts + - options/StandardKstar.opts + - options/StandardPhi.opts + . Some intermediate states with just-tighter-than-HLT cuts + - options/StandardOptions.opts + . Options to include them all + - options/DVTestStandardParticles.opts + . File to test all this + +!========================== CommonParticles v1r5p3 2004-09-16 =================== +! 2004-09-02 - P. Koppenburg + - src/<someAlgorithms>.cpp + . Remove getInput that is not in PhysDesktop anymore. +!========================== CommonParticles v1r5p2 2004-08-03 =================== +! 2004-07-23 - P. Koppenburg + - cmt/requirements + . Don't use but import AIDA +!========================== CommonParticles v1r5p1 2004-07-22 =================== +! 2004-07-08 - P. Koppenburg + - options/ProducePairPhotons.opts + . Use CombinedParticleMaker + +!==================== CommonParticle v1r5 2004-06-04 ======================== +! 2004-06-03 - P. Koppenburg for O. Deschamps + - MergedPi0Alg.opts + . MergedPi0Alg.ParMas={ 1.008 , 0.0658E-03 , 0.1276E-04 }; + because of new calo calibration + +! 2004-05-11 - P. Koppenburg for O. Deschamps + - MergedPi0Alg.opts + . MergedPi0Alg.ParMas={ 1.0000 , 0.0653E-03 , 0.1267E-04 }; + because of new calo calibration + +!==================== CommonParticle v1r4 2004-05-05 ======================== +! 2004-04-28 - R.Beneyton + - ProducePairPhoton (h/src/opts): update to new DVAlg + . getInput, loadtools in code with flag off + . DecayDescriptor, Outputlocation in opts files + +! 2004-04-28 - P.Koppenburg + - src/MergedPi0Alg.cpp + . SetFilterPassed(true). + - options/ResolvedPi0Alg.opts + - src/ResolvedPi0Alg.cpp + - src/ResolvedPi0Alg.h + . New version with modified options + +!==================== CommonParticle v1r2 2004-04-20 ======================== +! 2004-04-22 - P.Koppenburg for F. Machefer + - Added ResolvedPi0Alg and MergedPi0Alg + +!==================== CommonParticle v1r1 2004-04-20 ======================== +! 2004-04-16 - Richard Beneyton + - update ProducePairPhotons for combinedparticlemaker (check id) + +!==================== PhysSel v1r0 2003-12-11 ============================= +! 2003-11-07 - Richard Beneyton + - First version of the package, with ProducePairPhotons alg. + - Note that the package requires Rec/RecoTools v1r1 + diff --git a/Phys/CommonParticles/python/CommonParticles/NoBremNoPIDsDownElectrons.py b/Phys/CommonParticles/python/CommonParticles/NoBremNoPIDsDownElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..ee8a2fa2a67bee9f4f16ff4055793243f2424d51 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/NoBremNoPIDsDownElectrons.py @@ -0,0 +1,51 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsDownElectrons.py,v 1.1 2010-08-11 12:43:05 ukerzel Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsElectrons.py +# configuration file for 'Standard NoPIDs Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'NoBrem NoPIDs Electrons with downstram tracks' +""" +__author__ = "Ulrich Kerzel Ulrich.Kerzel@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= +__all__ = ( + 'NoBremNoPIDsDownElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker +from CommonParticles.Utils import * + +## create the algorithm +algorithm = NoPIDsParticleMaker ( 'NoBremNoPIDsDownElectrons' , + DecayDescriptor = 'Electron' , + Particle = 'electron' ) + +algorithm.AddBremPhotonTo = [] + +# configure the track selector +selector = trackSelector ( algorithm , trackTypes = [ "Downstream" ]) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +NoBremNoPIDsDownElectrons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/NoBremNoPIDsElectrons.py b/Phys/CommonParticles/python/CommonParticles/NoBremNoPIDsElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..4846d39b420bc21ca2d27d7e752d51b2ee90550b --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/NoBremNoPIDsElectrons.py @@ -0,0 +1,51 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsElectrons.py,v 1.4 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsElectrons.py +# configuration file for 'Standard NoPIDs Electrons' +# @author Patrick Koppenburg +# @date 2011-07-18 +# ============================================================================= +""" +Configuration file for 'No Brem NoPIDs Electrons wioth loose cuts' +""" +__author__ = "Patrick Koppenburg " +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'NoBremNoPIDsElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker +from CommonParticles.Utils import * + +## create the algorithm +algorithm = NoPIDsParticleMaker ( 'NoBremNoPIDsElectrons' , + DecayDescriptor = 'Electron' , + Particle = 'electron' ) + +selector = trackSelector ( algorithm , trackTypes = [ "Long" ]) + +algorithm.AddBremPhotonTo = [] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +NoBremNoPIDsElectrons = algorithm + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/NoBremNoPIDsTtrackElectrons.py b/Phys/CommonParticles/python/CommonParticles/NoBremNoPIDsTtrackElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..9574426062323da7052cfb63d65465780eb0ef16 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/NoBremNoPIDsTtrackElectrons.py @@ -0,0 +1,52 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsVeloElectrons.py,v 1.1 2010-08-11 12:43:05 ukerzel Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsElectrons.py +# configuration file for 'Standard NoPIDs Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'NoBrem NoPIDs Electrons with Ttrack tracks' +""" +__author__ = "Ulrich Kerzel Ulrich.Kerzel@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= +__all__ = ( + 'NoBremNoPIDsTtrackElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = NoPIDsParticleMaker ( 'NoBremNoPIDsTtrackElectrons', + DecayDescriptor = 'Electron' , + Particle = 'electron' ) + +algorithm.AddBremPhotonTo = [] + +# configure the track selector +selector = trackSelector ( algorithm,trackTypes = [ "Ttrack" ] ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +NoBremNoPIDsTtrackElectrons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/NoBremNoPIDsUpElectrons.py b/Phys/CommonParticles/python/CommonParticles/NoBremNoPIDsUpElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..837a64b5a1c18fb1744bfce136d784845f132a6e --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/NoBremNoPIDsUpElectrons.py @@ -0,0 +1,50 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsUpElectrons.py,v 1.1 2010-08-11 12:43:05 ukerzel Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsElectrons.py +# configuration file for 'Standard NoPIDs Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'NoBrem NoPIDs Electrons with Upstream tracks' +""" +__author__ = "Ulrich Kerzel Ulrich.Kerzel@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= +__all__ = ( + 'NoBremNoPIDsUpElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker +from CommonParticles.Utils import * + +## create the algorithm +algorithm = NoPIDsParticleMaker ( 'NoBremNoPIDsUpElectrons' , + DecayDescriptor = 'Electron' , + Particle = 'electron' ) +algorithm.AddBremPhotonTo = [] + +# configure the track selector +selector = trackSelector ( algorithm, trackTypes = [ "Upstream" ] ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +NoBremNoPIDsUpElectrons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/NoBremNoPIDsVeloElectrons.py b/Phys/CommonParticles/python/CommonParticles/NoBremNoPIDsVeloElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..5d7e708ef6a987e9afc9b596b7260346f9aa26e5 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/NoBremNoPIDsVeloElectrons.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsVeloElectrons.py,v 1.1 2010-08-11 12:43:05 ukerzel Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsElectrons.py +# configuration file for 'Standard NoPIDs Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Electrons with VELO tracks' +""" +__author__ = "Ulrich Kerzel Ulrich.Kerzel@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= +__all__ = ( + 'StdNoPIDsElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = NoPIDsParticleMaker ( 'StdNoPIDsVeloElectrons' , + DecayDescriptor = 'Electron' , Particle = 'electron' ) + +# configure the track selector +selector = trackSelector ( algorithm,trackTypes = [ "Velo" ] ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdNoPIDsVeloElectrons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StandardBasic.py b/Phys/CommonParticles/python/CommonParticles/StandardBasic.py new file mode 100755 index 0000000000000000000000000000000000000000..be9a2eb98d8368242fe4167abb2499862016b61e --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardBasic.py @@ -0,0 +1,44 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardBasic.py,v 1.4 2009-10-09 12:41:27 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StandardBasic.py +# configuration file for 'Standard Basic' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Basic' particles +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StandardBasicCharged import * +_locations.update ( locations ) + +from CommonParticles.StandardBasicNeutral import * +_locations.update ( locations ) + +from CommonParticles.StandardJets import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardBasicCharged.py b/Phys/CommonParticles/python/CommonParticles/StandardBasicCharged.py new file mode 100755 index 0000000000000000000000000000000000000000..b2ae2ae08e323c5f004854f6d7337d1e12c171bc --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardBasicCharged.py @@ -0,0 +1,50 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardBasicCharged.py,v 1.1 2009-01-15 14:22:14 ibelyaev Exp $ +# ============================================================================= +## @file CommonParticles/StandardBasicCharged.py +# configuration file for 'Standard BasicCharged' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Basic Charged' particles +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StandardPions import * +_locations.update ( locations ) + +from CommonParticles.StandardKaons import * +_locations.update ( locations ) + +from CommonParticles.StandardMuons import * +_locations.update ( locations ) + +from CommonParticles.StandardElectrons import * +_locations.update ( locations ) + +from CommonParticles.StandardProtons import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardBasicNeutral.py b/Phys/CommonParticles/python/CommonParticles/StandardBasicNeutral.py new file mode 100755 index 0000000000000000000000000000000000000000..b90f9bc995caef30711939ee13a094802292b402 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardBasicNeutral.py @@ -0,0 +1,47 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardBasicNeutral.py,v 1.3 2010-01-06 11:04:12 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StandardBasicNeutral.py +# configuration file for 'Standard Basic Neutral' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Basic Neutral' particles +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.3 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StandardPhotons import * +_locations.update ( locations ) + +from CommonParticles.StandardPi0 import * +_locations.update ( locations ) + +from CommonParticles.StandardEta import * +_locations.update ( locations ) + +from CommonParticles.StdLooseDiElectron import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardD0.py b/Phys/CommonParticles/python/CommonParticles/StandardD0.py new file mode 100755 index 0000000000000000000000000000000000000000..93ebea0a1269cc25750d5328a22b1ac944cc992f --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardD0.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardD0.py,v 1.2 2009-12-14 11:45:32 poluekt Exp $ +# ============================================================================= +## @file CommonParticles/StandardD0.py +# configuration file for 'Standard D0' +# @author Patrick Koppenburg +# @date 2009-02-28 +# ============================================================================= +""" +Configuration file for 'Standard D0' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.2 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdLooseD02KsHH import * +_locations.update ( locations ) + +from CommonParticles.StdLooseD02HH import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardDiElectron.py b/Phys/CommonParticles/python/CommonParticles/StandardDiElectron.py new file mode 100755 index 0000000000000000000000000000000000000000..5e2960b9b8487c7be782cb6f131d4cd4fd62c6a8 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardDiElectron.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardDiElectron.py,v 1.1 2009-12-09 16:58:47 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StdLoose.py +# configuration file for 'Standard Loose DiElectron' +# @author Patrick Koppenburg +# @date 2009-12-08 +# ============================================================================= +""" +Configuration file for 'Standard Loose DiElectron' +""" +__author__ = "Rob Lambert" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= +from Gaudi.Configuration import * + +## ============================================================================ +## create the algorithm + +_locations = {} + +from CommonParticles.StdLooseDiElectron import * +_locations.update ( locations ) + +from CommonParticles.StdLooseDetachedDiElectron import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## configure Data-On-Demand service +#locations = updateDoD ( StdLoose ) + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StandardDiMuon.py b/Phys/CommonParticles/python/CommonParticles/StandardDiMuon.py new file mode 100755 index 0000000000000000000000000000000000000000..a3efdcd6afe42d358504e8361d34dcbe12fa82cd --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardDiMuon.py @@ -0,0 +1,51 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardDiMuon.py,v 1.4 2010-01-26 13:43:38 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StdLoose.py +# configuration file for 'Standard Loose DiMuon' +# @author Patrick Koppenburg +# @date 2009-02-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose DiMuon' +""" +__author__ = "Rob Lambert" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +from Gaudi.Configuration import * + +## ============================================================================ +## create the algorithm + +_locations = {} + +from CommonParticles.StdLooseDiMuon import * +_locations.update ( locations ) + +from CommonParticles.StdVeryLooseDiMuon import * +_locations.update ( locations ) + +from CommonParticles.StdLooseDiMuonSameSign import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## configure Data-On-Demand service +#locations = updateDoD ( StdLoose ) + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StandardDipion.py b/Phys/CommonParticles/python/CommonParticles/StandardDipion.py new file mode 100755 index 0000000000000000000000000000000000000000..9ed70ce7d76ab81d451543cee30fa1f5fe30adbd --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardDipion.py @@ -0,0 +1,40 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardDipion.py,v1.0 2012-08-07 14:44:42 elsasser Exp $ +# ============================================================================= +## @file CommonParticles/StandardDipion.py +# configuration file for 'Standard Dipion' +# @author Donal Hill, Conor Fitzpatrick, Christian Elsasser +# @date 2012-08-07 +# ============================================================================= +""" +Configuration file for 'Standard Dipion' +""" +__author__ = "Donal Hill, Conor Fitzpatrick, Christian Elsasser" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.0 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdLooseDipion import * +_locations.update ( locations ) + + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardDplus.py b/Phys/CommonParticles/python/CommonParticles/StandardDplus.py new file mode 100755 index 0000000000000000000000000000000000000000..7c5b3a1c3666b6f51dd31bdf7f9b57292d9cc81e --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardDplus.py @@ -0,0 +1,44 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardDplus.py,v 1.2 2009-12-14 11:45:32 poluekt Exp $ +# ============================================================================= +## @file CommonParticles/StandardDplus.py +# configuration file for 'Standard D+' +# @author Patrick Koppenburg +# @date 2009-02-28 +# ============================================================================= +""" +Configuration file for 'Standard D+' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.2 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdLooseDplus import * +_locations.update ( locations ) + + +from CommonParticles.StdTightDplus import * +_locations.update ( locations ) + + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardDstar.py b/Phys/CommonParticles/python/CommonParticles/StandardDstar.py new file mode 100755 index 0000000000000000000000000000000000000000..daff01898c971ef444382efaf0084830763f1264 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardDstar.py @@ -0,0 +1,39 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardDstar.py,v 1.3 2010-01-18 10:08:49 gcowan Exp $ +# ============================================================================= +## @file CommonParticles/StandardDstar.py +# configuration file for 'Standard D*' +# @author Patrick Koppenburg +# @date 2009-02-28 +# ============================================================================= +""" +Configuration file for 'Standard D*' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.3 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdLooseDstarWithD2HH import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardElectrons.py b/Phys/CommonParticles/python/CommonParticles/StandardElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..2daa3af665a92a79220518883d52bcebb755c4af --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardElectrons.py @@ -0,0 +1,78 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardElectrons.py,v 1.1 2009-01-15 14:22:14 ibelyaev Exp $ +# ============================================================================= +## @file CommonParticles/StandardElectrons.py +# configuration file for 'Standard Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Electrons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdAllNoPIDsElectrons import * +_locations.update ( locations ) + +from CommonParticles.StdNoPIDsElectrons import * +_locations.update ( locations ) + +from CommonParticles.StdNoPIDsDownElectrons import * +_locations.update ( locations ) + +from CommonParticles.StdNoPIDsUpElectrons import * +_locations.update ( locations ) + +from CommonParticles.StdAllLooseElectrons import * +_locations.update ( locations ) + +from CommonParticles.StdLooseElectrons import * +_locations.update ( locations ) + +from CommonParticles.StdAllLooseANNElectrons import * +_locations.update ( locations ) + +from CommonParticles.StdLooseANNElectrons import * +_locations.update ( locations ) + +from CommonParticles.StdTightElectrons import * +_locations.update ( locations ) + +from CommonParticles.StdTightANNElectrons import * +_locations.update ( locations ) + +from CommonParticles.StdLooseANNDownElectrons import * +_locations.update ( locations ) + +from CommonParticles.StdTightANNDownElectrons import * +_locations.update ( locations ) + +from CommonParticles.StdLooseANNUpElectrons import * +_locations.update ( locations ) + +from CommonParticles.StdTightANNUpElectrons import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardEta.py b/Phys/CommonParticles/python/CommonParticles/StandardEta.py new file mode 100755 index 0000000000000000000000000000000000000000..dddf11b5aafaca60094d113eb916003ffc174829 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardEta.py @@ -0,0 +1,39 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardEta.py,v 1.1 2010-01-06 11:04:12 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StandardEta.py +# configuration file for 'Standard Eta' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Eta' +""" +__author__ = "Patrick Koppenburg Patrick.Koppenburg@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdLooseResolvedEta import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardIntermediate.py b/Phys/CommonParticles/python/CommonParticles/StandardIntermediate.py new file mode 100755 index 0000000000000000000000000000000000000000..e92e3843dcaac649291d333530139da2c3dd4c5c --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardIntermediate.py @@ -0,0 +1,67 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardIntermediate.py,v 1.8 2009-12-14 11:45:32 poluekt Exp $ +# ============================================================================= +## @file CommonParticles/StandardIntermediates.py +# configuration file for 'Standard Intermediate particles +# @author Patrick Koppenburg +# @date 2009-02-18 +# ============================================================================= +""" +Configuration file for 'Standard Intermediate' particles +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.8 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StandardV0 import * +_locations.update ( locations ) +from CommonParticles.StandardKstar import * +_locations.update ( locations ) +from CommonParticles.StandardRho import * +_locations.update ( locations ) +from CommonParticles.StandardPhi import * +_locations.update ( locations ) +from CommonParticles.StandardD0 import * +_locations.update ( locations ) +from CommonParticles.StandardDplus import * +_locations.update ( locations ) +from CommonParticles.StandardDstar import * +_locations.update ( locations ) +from CommonParticles.StandardJpsi import * +_locations.update ( locations ) +from CommonParticles.StandardDiMuon import * +_locations.update ( locations ) +from CommonParticles.StandardDiElectron import * +_locations.update ( locations ) +from CommonParticles.StandardLambdac import * +_locations.update ( locations ) +from CommonParticles.StandardTau import * +_locations.update ( locations ) +from CommonParticles.StandardTauNonPhys import * +_locations.update ( locations ) +from CommonParticles.StandardDipion import * +_locations.update ( locations ) +from CommonParticles.StandardLambdastar import * +_locations.update ( locations ) +from CommonParticles.StandardMuPi import * +_locations.update ( locations ) +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardJets.py b/Phys/CommonParticles/python/CommonParticles/StandardJets.py new file mode 100644 index 0000000000000000000000000000000000000000..891ff002f2245a494c4d650f11b66bd3ad655dcb --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardJets.py @@ -0,0 +1,44 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardBasic.py,v 1.4 2009-10-09 12:41:27 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StandardBasic.py +# configuration file for 'Standard Basic' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Basic' particles +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdParticleFlow import * +_locations.update ( locations ) + +from CommonParticles.StdJets import * +_locations.update ( locations ) + +from CommonParticles.StdJetsR07 import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardJpsi.py b/Phys/CommonParticles/python/CommonParticles/StandardJpsi.py new file mode 100755 index 0000000000000000000000000000000000000000..0dafe0aea7a375a498821a2454f0fcbc2aabc87a --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardJpsi.py @@ -0,0 +1,51 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardJpsi.py,v 1.4 2010-09-01 14:16:42 gcowan Exp $ +# ============================================================================= +## @file CommonParticles/StandardJpsi.py +# configuration file for 'Standard Jpsi' +# @author Patrick Koppenburg +# @date 2009-02-28 +# ============================================================================= +""" +Configuration file for 'Standard Jpsi' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdLooseJpsi2MuMu import * +_locations.update ( locations ) + +from CommonParticles.StdVeryLooseJpsi2MuMu import * +_locations.update ( locations ) + +from CommonParticles.StdLooseJpsi2ee import * +_locations.update ( locations ) + +from CommonParticles.StdLTUnbiasedJpsi2MuMu import * +_locations.update ( locations ) + +from CommonParticles.StdMassConstrainedJpsi2MuMu import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardKaons.py b/Phys/CommonParticles/python/CommonParticles/StandardKaons.py new file mode 100755 index 0000000000000000000000000000000000000000..b4417f28580e691b57a9eb87bb1b58fdbd59892b --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardKaons.py @@ -0,0 +1,81 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardKaons.py,v 1.2 2010-06-03 10:31:18 yamhis Exp $ +# ============================================================================= +## @file CommonParticles/StandardKaons.py +# configuration file for 'Standard Kaons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Kaons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.2 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdAllNoPIDsKaons import * +_locations.update ( locations ) + +from CommonParticles.StdNoPIDsUpKaons import * +_locations.update ( locations ) + +from CommonParticles.StdNoPIDsDownKaons import * +_locations.update ( locations ) + +from CommonParticles.StdNoPIDsKaons import * +_locations.update ( locations ) + +from CommonParticles.StdAllLooseKaons import * +_locations.update ( locations ) + +from CommonParticles.StdAllLooseANNKaons import * +_locations.update ( locations ) + +from CommonParticles.StdLooseKaons import * +_locations.update ( locations ) + +from CommonParticles.StdLooseANNKaons import * +_locations.update ( locations ) + +from CommonParticles.StdLooseDownKaons import * +_locations.update ( locations ) + +from CommonParticles.StdTightKaons import * +_locations.update ( locations ) + +from CommonParticles.StdTightANNKaons import * +_locations.update ( locations ) + +from CommonParticles.StdLooseANNDownKaons import * +_locations.update ( locations ) + +from CommonParticles.StdTightANNDownKaons import * +_locations.update ( locations ) + +from CommonParticles.StdLooseANNUpKaons import * +_locations.update ( locations ) + +from CommonParticles.StdTightANNUpKaons import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardKstar.py b/Phys/CommonParticles/python/CommonParticles/StandardKstar.py new file mode 100755 index 0000000000000000000000000000000000000000..aaa9f08230fbe419c53ba14d4d2ba23647191e9c --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardKstar.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardKstar.py,v 1.2 2010-01-22 13:04:01 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StandardKstar.py +# configuration file for 'Standard K*' +# @author Patrick Koppenburg +# @date 2009-02-28 +# ============================================================================= +""" +Configuration file for 'Standard K*' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.2 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdLooseKstar import * +_locations.update ( locations ) + +from CommonParticles.StdVeryLooseDetachedKstar import * +_locations.update ( locations ) + +from CommonParticles.StdLooseDetachedKstar import * +_locations.update ( locations ) + +from CommonParticles.StdLooseDetachedKpi import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardLambdac.py b/Phys/CommonParticles/python/CommonParticles/StandardLambdac.py new file mode 100755 index 0000000000000000000000000000000000000000..7b745753369bf446de1ec19df1af3730090426f0 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardLambdac.py @@ -0,0 +1,39 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardLambdac.py,v 1.2 2010-09-03 20:59:11 roldeman Exp $ +# ============================================================================= +## @file CommonParticles/StandardDplus.py +# configuration file for 'Standard Lambda_c' +# @author Patrick Koppenburg +# @date 2009-02-28 +# ============================================================================= +""" +Configuration file for 'Standard Lambda_c' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.2 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdLooseLambdac import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardLambdastar.py b/Phys/CommonParticles/python/CommonParticles/StandardLambdastar.py new file mode 100755 index 0000000000000000000000000000000000000000..188ee21df1a431e722cd86cb0dd194a7004fdfea --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardLambdastar.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseLambdastar.py +# ============================================================================= +## @file CommonParticles/StdLooseLambdastar.py +# configuration file for 'Standard Loose Lambdastar' +# @author Yasmine Amhis +# @date 2015-05-06 +# ============================================================================= +""" +Configuration file for 'Standard Loose Lambdastar'. Useful for R_Lambda(*) +""" +__author__ = "Yasmine Amhis" +# ============================================================================= +__all__ = ( + 'StdLooseLambdastar2pK' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * +## ============================================================================ +## create the algorithm +StdLooseLambdastar2pK = CombineParticles ("StdLooseLambdastar2pK") +StdLooseLambdastar2pK.Inputs = ["Phys/StdAllLooseKaons/Particles", + "Phys/StdAllLooseProtons/Particles"] +StdLooseLambdastar2pK.DecayDescriptor = "[Lambda(1520)0 -> p+ K-]cc" +StdLooseLambdastar2pK.CombinationCut = "(AM < 2600.*MeV) & (ADOCACHI2CUT(30, ''))" +StdLooseLambdastar2pK.MotherCut = "(VFASPF(VCHI2) < 25.)" + +## configure Data-On-Demand service +locations = updateDoD ( StdLooseLambdastar2pK ) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardMuPi.py b/Phys/CommonParticles/python/CommonParticles/StandardMuPi.py new file mode 100644 index 0000000000000000000000000000000000000000..6101b8e86e4b7401fe9c75c3b1b9ae77b8962516 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardMuPi.py @@ -0,0 +1,31 @@ +""" +Configuration file for Standard All Loose Pi-Mu+ pair, potentially detached. +""" + +__author__ = 'Benoit VIAUD' +__date__ = '13/05/2015' + + +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * +import GaudiKernel.SystemOfUnits as Units + +############################## +# StdAllLooseMuPion # +############################## +StdAllLooseMuPion = CombineParticles("StdAllLooseMuPion") +StdAllLooseMuPion.DecayDescriptor = "rho(770)0 -> mu+ pi-" +StdAllLooseMuPion.Inputs = ["Phys/StdAllLooseMuons/Particles","Phys/StdAllLoosePions/Particles"] +StdAllLooseMuPion.DaughtersCuts = { "mu+" : "(PT>200*MeV) & (MIPCHI2DV(PRIMARY)>0.)", "pi-" : "(PT>200*MeV) & (MIPCHI2DV(PRIMARY)>0.)" } +StdAllLooseMuPion.CombinationCut = "(ADOCACHI2CUT(30,''))" +StdAllLooseMuPion.MotherCut = "(VFASPF(VCHI2)<25)" +locations = updateDoD(StdAllLooseMuPion) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) diff --git a/Phys/CommonParticles/python/CommonParticles/StandardMuons.py b/Phys/CommonParticles/python/CommonParticles/StandardMuons.py new file mode 100755 index 0000000000000000000000000000000000000000..a3a602d2de3be034a191b33dfd1cc8dceb16fcf0 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardMuons.py @@ -0,0 +1,69 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardMuons.py,v 1.2 2009-10-08 12:37:06 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StandardMuons.py +# configuration file for 'Standard Muons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Muons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.2 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdAllNoPIDsMuons import * +_locations.update ( locations ) + +from CommonParticles.StdNoPIDsMuons import * +_locations.update ( locations ) + +from CommonParticles.StdAllLooseMuons import * +_locations.update ( locations ) + +from CommonParticles.StdLooseMuons import * +_locations.update ( locations ) + +from CommonParticles.StdAllVeryLooseMuons import * +_locations.update ( locations ) + +from CommonParticles.StdVeryLooseMuons import * +_locations.update ( locations ) + +from CommonParticles.StdTightMuons import * +_locations.update ( locations ) + +from CommonParticles.StdTightANNMuons import * +_locations.update ( locations ) + +from CommonParticles.StdTightANNDownMuons import * +_locations.update ( locations ) + +from CommonParticles.StdTightANNUpMuons import * +_locations.update ( locations ) + +from CommonParticles.StdLooseDownMuons import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardPhi.py b/Phys/CommonParticles/python/CommonParticles/StandardPhi.py new file mode 100755 index 0000000000000000000000000000000000000000..5cdd9d05e329adb681c6facdc5fd56c5ad302f64 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardPhi.py @@ -0,0 +1,43 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardPhi.py,v 1.1 2009-10-09 12:39:26 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StandardPhi.py +# configuration file for 'Standard Phi' +# @author Patrick Koppenburg +# @date 2009-02-28 +# ============================================================================= +""" +Configuration file for 'Standard Phi' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdLoosePhi import * +_locations.update ( locations ) +from CommonParticles.StdLooseDetachedPhi import * +_locations.update ( locations ) +from CommonParticles.StdTightPhi import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardPhotons.py b/Phys/CommonParticles/python/CommonParticles/StandardPhotons.py new file mode 100755 index 0000000000000000000000000000000000000000..dde8f3de1c1913283e35b54dfb75ef416db31756 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardPhotons.py @@ -0,0 +1,58 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardPhotons.py,v 1.1 2009-01-15 14:22:14 ibelyaev Exp $ +# ============================================================================= +## @file CommonParticles/StandardPhotons.py +# configuration file for 'Standard Photons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Photons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdLoosePhotons import * +_locations.update ( locations ) + +from CommonParticles.StdLooseCnvPhotons import * +_locations.update ( locations ) + +from CommonParticles.StdLooseAllPhotons import * +_locations.update ( locations ) + +from CommonParticles.StdVeryLooseAllPhotons import * +_locations.update ( locations ) + +from CommonParticles.StdAllLooseGammaConversion import * +_locations.update ( locations ) + +from CommonParticles.StdAllTightGammaConversion import * +_locations.update ( locations ) + +from CommonParticles.StdAllTightSymGammaConversion import * +_locations.update ( locations ) + + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardPi0.py b/Phys/CommonParticles/python/CommonParticles/StandardPi0.py new file mode 100755 index 0000000000000000000000000000000000000000..1aa58be2156080e1ff805e7b13c3493541df5309 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardPi0.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardPi0.py,v 1.1 2009-02-18 15:29:29 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StandardPi0.py +# configuration file for 'Standard Pi0' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Pi0' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdLooseMergedPi0 import * +_locations.update ( locations ) + +from CommonParticles.StdLooseResolvedPi0 import * +_locations.update ( locations ) + +from CommonParticles.StdLooseDalitzPi0 import * +_locations.update ( locations ) + + + + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardPions.py b/Phys/CommonParticles/python/CommonParticles/StandardPions.py new file mode 100755 index 0000000000000000000000000000000000000000..3246ad276726a955a10cf318ffd08914c272f5f0 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardPions.py @@ -0,0 +1,81 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardPions.py,v 1.3 2009-10-08 12:37:06 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StandardPions.py +# configuration file for 'Standard Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Pions' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.3 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdAllNoPIDsPions import * +_locations.update ( locations ) + +from CommonParticles.StdNoPIDsPions import * +_locations.update ( locations ) + +from CommonParticles.StdNoPIDsDownPions import * +_locations.update ( locations ) + +from CommonParticles.StdNoPIDsUpPions import * +_locations.update ( locations ) + +from CommonParticles.StdAllLoosePions import * +_locations.update ( locations ) + +from CommonParticles.StdLoosePions import * +_locations.update ( locations ) + +from CommonParticles.StdTightPions import * +_locations.update ( locations ) + +from CommonParticles.StdAllLooseANNPions import * +_locations.update ( locations ) + +from CommonParticles.StdLooseANNPions import * +_locations.update ( locations ) + +from CommonParticles.StdTightANNPions import * +_locations.update ( locations ) + +from CommonParticles.StdLooseANNDownPions import * +_locations.update ( locations ) + +from CommonParticles.StdTightANNDownPions import * +_locations.update ( locations ) + +from CommonParticles.StdLooseANNUpPions import * +_locations.update ( locations ) + +from CommonParticles.StdTightANNUpPions import * +_locations.update ( locations ) + +from CommonParticles.StdAllNoPIDsVeloPions import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardProtons.py b/Phys/CommonParticles/python/CommonParticles/StandardProtons.py new file mode 100755 index 0000000000000000000000000000000000000000..12aea6374862fd107c89fc81fabe06f679055be8 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardProtons.py @@ -0,0 +1,75 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardProtons.py,v 1.2 2009-02-26 16:53:14 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StandardProtons.py +# configuration file for 'Standard Protons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Protons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.2 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdAllNoPIDsProtons import * +_locations.update ( locations ) + +from CommonParticles.StdNoPIDsProtons import * +_locations.update ( locations ) + +from CommonParticles.StdNoPIDsDownProtons import * +_locations.update ( locations ) + +from CommonParticles.StdAllLooseProtons import * +_locations.update ( locations ) + +from CommonParticles.StdAllLooseANNProtons import * +_locations.update ( locations ) + +from CommonParticles.StdLooseProtons import * +_locations.update ( locations ) + +from CommonParticles.StdLooseANNProtons import * +_locations.update ( locations ) + +from CommonParticles.StdTightProtons import * +_locations.update ( locations ) + +from CommonParticles.StdTightANNProtons import * +_locations.update ( locations ) + +from CommonParticles.StdLooseANNDownProtons import * +_locations.update ( locations ) + +from CommonParticles.StdTightANNDownProtons import * +_locations.update ( locations ) + +from CommonParticles.StdLooseANNUpProtons import * +_locations.update ( locations ) + +from CommonParticles.StdTightANNUpProtons import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardRho.py b/Phys/CommonParticles/python/CommonParticles/StandardRho.py new file mode 100755 index 0000000000000000000000000000000000000000..6a31d650c23bd539945296849fdf066dd446e4da --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardRho.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardRho.py,v 1.1 2009-10-09 12:39:26 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StandardRho.py +# configuration file for 'Standard Rho' +# @author Patrick Koppenburg +# @date 2009-02-28 +# ============================================================================= +""" +Configuration file for 'Standard Rho' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdLooseRho0 import * +_locations.update ( locations ) +from CommonParticles.StdLooseRhoPlus import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardTau.py b/Phys/CommonParticles/python/CommonParticles/StandardTau.py new file mode 100755 index 0000000000000000000000000000000000000000..57e470e70471362bb0e454b0a92eee748d940c27 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardTau.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardTau.py,v1.0 2012-08-07 14:44:42 elsasser Exp $ +# ============================================================================= +## @file CommonParticles/StandardTau.py +# configuration file for 'Standard Tau' +# @author Donal Hill, Conor Fitzpatrick, Christian Elsasser +# @date 2012-08-07 +# ============================================================================= +""" +Configuration file for 'Standard Tau' +""" +__author__ = "Donal Hill, Conor Fitzpatrick, Christian Elsasser" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.0 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdLooseDetachedTau import * +_locations.update ( locations ) +from CommonParticles.StdTightDetachedTau import * +_locations.update ( locations ) + + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardTauNonPhys.py b/Phys/CommonParticles/python/CommonParticles/StandardTauNonPhys.py new file mode 100644 index 0000000000000000000000000000000000000000..e543e657c7be21533d790b9ff0d27859abf95529 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardTauNonPhys.py @@ -0,0 +1,40 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardTau.py,v1.0 2012-08-07 14:44:42 elsasser Exp $ +# ============================================================================= +## @file CommonParticles/StandardTau.py +# configuration file for 'Standard Tau' +# @author Donal Hill, Conor Fitzpatrick, Christian Elsasser +# @date 2012-08-07 +# ============================================================================= +""" +Configuration file for 'Standard Tau Non Physical Tau' +""" +__author__ = "Donal Hill, Conor Fitzpatrick, Christian Elsasser" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.0 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdLooseDetachedTauNonPhys import * +_locations.update ( locations ) + + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StandardV0.py b/Phys/CommonParticles/python/CommonParticles/StandardV0.py new file mode 100755 index 0000000000000000000000000000000000000000..30da35deb07e93cb2fd8c805d904552fa7b9d4d8 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StandardV0.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StandardV0.py,v 1.1 2009-10-09 12:39:26 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StandardV0.py +# configuration file for 'Standard V0' +# @author Patrick Koppenburg +# @date 2009-02-28 +# ============================================================================= +""" +Configuration file for 'Standard V0' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= + +_locations = {} + +from CommonParticles.StdLooseKs import * +_locations.update ( locations ) + +from CommonParticles.StdLooseLambda import * +_locations.update ( locations ) + +from CommonParticles.StdVeryLooseLambda import * +_locations.update ( locations ) + +from CommonParticles.StdV0FromBrunel import * +_locations.update ( locations ) + +# redefine the locations +locations = _locations + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + from CommonParticles.Utils import locationsDoD + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + + diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllLooseANNElectrons.py b/Phys/CommonParticles/python/CommonParticles/StdAllLooseANNElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..74a015fd92bb462eff226c37b183452962ef7155 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllLooseANNElectrons.py @@ -0,0 +1,53 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdAllLooseANNElectrons.py +# configuration file for 'Standard Loose ANN Electrons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Loose Electrons using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdAllLooseANNElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdAllLooseANNElectrons' , + Particle = 'electron' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter , 'Electron' ) +#fltr.Selection = [ "RequiresDet='CALO' ProbNNe>'0.09'" ] +#fltr.Selection = [ "ProbNNe>'0.1'" ] +fltr.Selection = [ "RequiresDet='RICHORCALO' ProbNNe>'0.03'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdAllLooseANNElectrons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllLooseANNKaons.py b/Phys/CommonParticles/python/CommonParticles/StdAllLooseANNKaons.py new file mode 100755 index 0000000000000000000000000000000000000000..d5a2d020f5bae1cb74739bb25371a47d3e577ca0 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllLooseANNKaons.py @@ -0,0 +1,51 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdLooseANNKaons.py +# configuration file for 'Standard Loose ANN Kaons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Loose ANN Kaons' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdAllLooseANNKaons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import ProtoParticleCALOFilter, CombinedParticleMaker +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker( 'StdAllLooseANNKaons', + Particle = 'kaon' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Kaon' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNk>'0.075'" ] +fltr.Selection = [ "ProbNNk>'0.02'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdAllLooseANNKaons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllLooseANNPions.py b/Phys/CommonParticles/python/CommonParticles/StdAllLooseANNPions.py new file mode 100755 index 0000000000000000000000000000000000000000..9ad5eb1a00c83c064dd1f780000d6e25b35f98da --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllLooseANNPions.py @@ -0,0 +1,53 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdAllLooseANNPions.py +# configuration file for 'Standard AllLoose Pions' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard All Loose ANN Pions' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdAllLooseANNPions' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdAllLooseANNPions', + Particle = 'pion' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Pion' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNpi>'0.1'" ] +fltr.Selection = [ "ProbNNpi>'0.05'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdAllLooseANNPions = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllLooseANNProtons.py b/Phys/CommonParticles/python/CommonParticles/StdAllLooseANNProtons.py new file mode 100755 index 0000000000000000000000000000000000000000..01e00e8e40b3772fc23d1efb46c8a92e2263d161 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllLooseANNProtons.py @@ -0,0 +1,52 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdALLLooseANNProtons.py +# configuration file for 'Standard Loose Protons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Loose ANN Protons' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdAllLooseANNProtons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdAllLooseANNProtons', + Particle = 'proton' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Proton' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNp>'0.05'" ] +fltr.Selection = [ "ProbNNp>'0.01'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdAllLooseANNProtons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllLooseElectrons.py b/Phys/CommonParticles/python/CommonParticles/StdAllLooseElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..d75d3fed74ebd6cb5b6b984323c515a8374e6a5b --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllLooseElectrons.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseElectrons.py,v 1.5 2010-06-01 09:41:12 odescham Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseElectrons.py +# configuration file for 'Standard Loose Electrons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Loose Electrons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdAllLooseElectrons', + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdAllLooseElectrons' ,Particle = 'electron' ) +# configure the track selector +selector = trackSelector ( algorithm ) +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter , 'Electron' ) +fltr.Selection = [ "RequiresDet='CALO' CombDLL(e-pi)>'-2.0'" ] +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdAllLooseElectrons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllLooseGammaConversion.py b/Phys/CommonParticles/python/CommonParticles/StdAllLooseGammaConversion.py new file mode 100644 index 0000000000000000000000000000000000000000..908e77359b59871e95cb28723599f655323bcd3e --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllLooseGammaConversion.py @@ -0,0 +1,76 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsDownElectrons.py,v 1.1 2010-08-11 12:43:05 ukerzel Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsElectrons.py +# configuration file for 'Standard NoPIDs Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard DiElectrons from gamma conversion' +""" +__author__ = "Olivier Deschamps : Olivier.Deschamps @cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= +__all__ = ( + 'StdAllLooseGammaLL' , + 'StdAllLooseGammaDD' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from CommonParticles.Utils import * +from GaudiKernel.SystemOfUnits import * +from Configurables import ( DiElectronMaker, ProtoParticleCALOFilter, + ParticleTransporter ) +from Configurables import LoKi__VertexFitter + +###--- Long pair +dieLL = DiElectronMaker('StdAllLooseGammaLL') +dieLL.DecayDescriptor = "gamma -> e+ e-" +selector = trackSelector ( dieLL , trackTypes = [ "Long"]) +dieLL.addTool( ProtoParticleCALOFilter, name='Electron' ) +dieLL.Electron.Selection = ["RequiresDet='CALO' CombDLL(e-pi)>'-2.0'"] +dieLL.DeltaY = 3. +dieLL.DeltaYmax = 200 * mm +dieLL.DiElectronMassMax = 100.*MeV +dieLL.DiElectronPtMin = 200.*MeV +locations = updateDoD ( dieLL ) +StdAllLooseGammaLL=dieLL + +###--- Downstream pair +dieDD = DiElectronMaker('StdAllLooseGammaDD') +dieDD.DecayDescriptor = "gamma -> e+ e-" +selector = trackSelector ( dieDD , trackTypes = [ "Downstream"]) +dieDD.addTool( ProtoParticleCALOFilter, name='Electron' ) +dieDD.Electron.Selection = ["RequiresDet='CALO' CombDLL(e-pi)>'-2.0'"] +dieDD.DeltaY = 3. +dieDD.DeltaYmax = 200 * mm +dieDD.DiElectronMassMax = 100.*MeV +dieDD.DiElectronPtMin = 200.*MeV +#-- improved vertex fitter settings +dieDD.UseCombinePair = True +dieDD.addTool( ParticleTransporter, name='TransporterDie' ) +dieDD.TransporterDie.TrackExtrapolator = "TrackRungeKuttaExtrapolator" + +dieDD.ParticleCombiners.update( { "" : "LoKi::VertexFitter"} ) +dieDD.addTool( LoKi__VertexFitter ) +dieDD.LoKi__VertexFitter.addTool( ParticleTransporter, name='Transporter' ) +dieDD.LoKi__VertexFitter.Transporter.TrackExtrapolator = "TrackRungeKuttaExtrapolator" +dieDD.LoKi__VertexFitter.DeltaDistance = 100 * mm + +locations.update( updateDoD ( dieDD )) +StdAllLooseGammaDD=dieDD + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllLooseKaons.py b/Phys/CommonParticles/python/CommonParticles/StdAllLooseKaons.py new file mode 100755 index 0000000000000000000000000000000000000000..8fc0c2a3c11e4430c0ab3e1cc8a3996beec884d7 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllLooseKaons.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdLooseKaons.py +# configuration file for 'Standard Loose Kaons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Loose Kaons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdAllLooseKaons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import ProtoParticleCALOFilter, CombinedParticleMaker +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker('StdAllLooseKaons', Particle = 'kaon' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Kaon' ) +fltr.Selection = [ "RequiresDet='RICH' CombDLL(k-pi)>'-5.0'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdAllLooseKaons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllLooseMuons.py b/Phys/CommonParticles/python/CommonParticles/StdAllLooseMuons.py new file mode 100755 index 0000000000000000000000000000000000000000..d7377a5e6bcb48fe306b839aa20355395c7fbe3e --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllLooseMuons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseMuons.py,v 1.7 2009-08-04 09:05:31 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseMuons.py +# configuration file for 'Standard Loose Muons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Loose Muons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.7 $" +# ============================================================================= +__all__ = ( + 'StdAllLooseMuons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleMUONFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdAllLooseMuons', + Particle = 'muon' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleMUONFilter, 'Muon' ) +fltr.Selection = [ "RequiresDet='MUON' IsMuon=True" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdAllLooseMuons = algorithm + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllLoosePions.py b/Phys/CommonParticles/python/CommonParticles/StdAllLoosePions.py new file mode 100755 index 0000000000000000000000000000000000000000..1fb6986844109bf9eaa598eb135be65bbafd333a --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllLoosePions.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLoosePions.py,v 1.4 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdLoosePions.py +# configuration file for 'Standard Loose Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Loose Pions' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdAllLoosePions' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdAllLoosePions' , + Particle = 'pion' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Pion' ) +fltr.Selection = [ "" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdAllLoosePions = algorithm + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllLooseProtons.py b/Phys/CommonParticles/python/CommonParticles/StdAllLooseProtons.py new file mode 100755 index 0000000000000000000000000000000000000000..7c0413d0d84d73d3527281c4995882b7e367757e --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllLooseProtons.py @@ -0,0 +1,52 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdLooseProtons.py +# configuration file for 'Standard Loose Protons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Loose Protons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdAllLooseProtons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdAllLooseProtons', + Particle = 'proton' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Proton' ) +fltr.Selection = [ "RequiresDet='RICH' CombDLL(p-pi)>'-5.0'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdAllLooseProtons = algorithm + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllNoPIDsElectrons.py b/Phys/CommonParticles/python/CommonParticles/StdAllNoPIDsElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..131799d15edf54c59ebffaa5d0bc04cb617e99ea --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllNoPIDsElectrons.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdAllNoPIDsElectrons.py,v 1.4 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdAllNoPIDsElectrons.py +# configuration file for 'Standard NoPIDs Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Electrons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdAllNoPIDsElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker +from CommonParticles.Utils import * + +## create the algorithm +algorithm = NoPIDsParticleMaker ( 'StdAllNoPIDsElectrons' , + DecayDescriptor = 'Electron' , + Particle = 'electron' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdAllNoPIDsElectrons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllNoPIDsKaons.py b/Phys/CommonParticles/python/CommonParticles/StdAllNoPIDsKaons.py new file mode 100755 index 0000000000000000000000000000000000000000..55ca258d04a5eb0051061f89deebb0041c7cb011 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllNoPIDsKaons.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdAllNoPIDsKaons.py,v 1.5 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdAllNoPIDsKaons.py +# configuration file for 'Standard NoPIDs Kaons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Kaons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdAllNoPIDsKaons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker +from CommonParticles.Utils import * + +## create the algorithm +algorithm = NoPIDsParticleMaker ( 'StdAllNoPIDsKaons' , + Particle = 'kaon' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdAllNoPIDsKaons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllNoPIDsMuons.py b/Phys/CommonParticles/python/CommonParticles/StdAllNoPIDsMuons.py new file mode 100755 index 0000000000000000000000000000000000000000..5af2ea97559a7c176c5641b57aa5299a5f91bad5 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllNoPIDsMuons.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdAllNoPIDsMuons.py,v 1.5 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdAllNoPIDsMuons.py +# configuration file for 'Standard NoPIDs Muons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Muons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdAllNoPIDsMuons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker +from CommonParticles.Utils import * + +## create the algorithm +algorithm = NoPIDsParticleMaker ( 'StdAllNoPIDsMuons' , + Particle = 'muon' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdAllNoPIDsMuons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllNoPIDsPions.py b/Phys/CommonParticles/python/CommonParticles/StdAllNoPIDsPions.py new file mode 100755 index 0000000000000000000000000000000000000000..b07c74ab13402f231b45b1b7a86d307088ffe69c --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllNoPIDsPions.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdAllNoPIDsPions.py,v 1.5 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdAllNoPIDsPions.py +# configuration file for 'Standard NoPIDs Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Pions' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdAllNoPIDsPions' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker +from CommonParticles.Utils import * + +## create the algorithm +algorithm = NoPIDsParticleMaker ( 'StdAllNoPIDsPions' , + Particle = 'pion' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdAllNoPIDsPions = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllNoPIDsProtons.py b/Phys/CommonParticles/python/CommonParticles/StdAllNoPIDsProtons.py new file mode 100755 index 0000000000000000000000000000000000000000..86288755a3fc9453a3850f63a7488d4fa7d41c01 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllNoPIDsProtons.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsProtons.py,v 1.5 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsProtons.py +# configuration file for 'Standard NoPIDs Protons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Protons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdAllNoPIDsProtons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker +from CommonParticles.Utils import * + +## create the algorithm +algorithm = NoPIDsParticleMaker ( 'StdAllNoPIDsProtons' , + Particle = 'proton' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdAllNoPIDsProtons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllNoPIDsVeloPions.py b/Phys/CommonParticles/python/CommonParticles/StdAllNoPIDsVeloPions.py new file mode 100644 index 0000000000000000000000000000000000000000..d1ccf6f770721c9464c0e4e70b332ba76325684f --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllNoPIDsVeloPions.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdAllNoPIDsVeloPions.py,v 1.0 2016-10-24 15:01:01 decianm Exp $ +# ============================================================================= +## @file CommonParticles/StdAllNoPIDsVeloPions.py +# configuration file for 'Standard NoPIDs Velo Pions' +# @author Michel De Cian, michel.de.cian@cern.ch +# @date 2016-10-24 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs pions from velo tracks' +""" +__author__ = "Michel De Cian michel.de.cian@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdAllNoPIDsVeloPions' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker, ChargedProtoParticleMaker +from CommonParticles.Utils import * + +## create the algorithm +algorithmPP = ChargedProtoParticleMaker( 'VeloPP', Output = "Rec/ProtoP/VeloCharged", TrackSelectorType = 'TrackSelector') + +algorithm = NoPIDsParticleMaker ( 'StdAllNoPIDsVeloPions' , + Particle = 'pion', + Input = "Rec/ProtoP/VeloCharged") + +# configure the track selector +selectorPP = trackSelector ( algorithmPP, trackTypes = [ "Velo" ] ) +selector = trackSelector ( algorithm, trackTypes = [ "Velo" ] ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +DataOnDemandSvc().AlgMap.update({ 'Rec/ProtoP/VeloCharged' : algorithmPP.getFullName() }) + +## finally: define the symbol +StdAllNoPIDsVeloPions = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllTightGammaConversion.py b/Phys/CommonParticles/python/CommonParticles/StdAllTightGammaConversion.py new file mode 100644 index 0000000000000000000000000000000000000000..276047fe3146bf1d7185aa2560852f350dd27ad1 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllTightGammaConversion.py @@ -0,0 +1,76 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsDownElectrons.py,v 1.1 2010-08-11 12:43:05 ukerzel Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsElectrons.py +# configuration file for 'Standard NoPIDs Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard DiElectrons from gamma conversion' +""" +__author__ = "Olivier Deschamps : Olivier.Deschamps @cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= +__all__ = ( + 'StdAllTightGammaLL' , + 'StdAllTightGammaDD' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from CommonParticles.Utils import * +from GaudiKernel.SystemOfUnits import * +from Configurables import ( DiElectronMaker, ProtoParticleCALOFilter, + ParticleTransporter ) +from Configurables import LoKi__VertexFitter + +###--- Long pair +dieLL = DiElectronMaker('StdAllTightGammaLL') +dieLL.DecayDescriptor = "gamma -> e+ e-" +selector = trackSelector ( dieLL , trackTypes = [ "Long"]) +dieLL.addTool( ProtoParticleCALOFilter, name='Electron' ) +dieLL.Electron.Selection = ["RequiresDet='CALO' CombDLL(e-pi)>'0.0'"] +dieLL.DeltaY = 3. +dieLL.DeltaYmax = 200 * mm +dieLL.DiElectronMassMax = 100.*MeV +dieLL.DiElectronPtMin = 200.*MeV +locations = updateDoD ( dieLL ) +StdAllTightGammaLL=dieLL + +###--- Downstream pair +dieDD = DiElectronMaker('StdAllTightGammaDD') +dieDD.DecayDescriptor = "gamma -> e+ e-" +selector = trackSelector ( dieDD , trackTypes = [ "Downstream"]) +dieDD.addTool( ProtoParticleCALOFilter, name='Electron' ) +dieDD.Electron.Selection = ["RequiresDet='CALO' CombDLL(e-pi)>'0.0'"] +dieDD.DeltaY = 3. +dieDD.DeltaYmax = 200 * mm +dieDD.DiElectronMassMax = 100.*MeV +dieDD.DiElectronPtMin = 200.*MeV +#-- improved vertex fitter settings +dieDD.UseCombinePair = True +dieDD.addTool( ParticleTransporter, name='TransporterDie' ) +dieDD.TransporterDie.TrackExtrapolator = "TrackRungeKuttaExtrapolator" + +dieDD.ParticleCombiners.update( { "" : "LoKi::VertexFitter"} ) +dieDD.addTool( LoKi__VertexFitter ) +dieDD.LoKi__VertexFitter.addTool( ParticleTransporter, name='Transporter' ) +dieDD.LoKi__VertexFitter.Transporter.TrackExtrapolator = "TrackRungeKuttaExtrapolator" +dieDD.LoKi__VertexFitter.DeltaDistance = 100 * mm + +locations.update( updateDoD ( dieDD ) ) +StdAllTightGammaDD=dieDD + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllTightSymGammaConversion.py b/Phys/CommonParticles/python/CommonParticles/StdAllTightSymGammaConversion.py new file mode 100644 index 0000000000000000000000000000000000000000..5e107b594f6108e01844fee9934d0569076a7d3f --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllTightSymGammaConversion.py @@ -0,0 +1,83 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsDownElectrons.py,v 1.1 2010-08-11 12:43:05 ukerzel Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsElectrons.py +# configuration file for 'Standard NoPIDs Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard DiElectrons from gamma conversion with PT reversed for background studies' +""" +__author__ = "Olivier Deschamps : Olivier.Deschamps @cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= +__all__ = ( + 'StdAllTightSymGammaLL' , + 'StdAllTightSymGammaDD' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from CommonParticles.Utils import * +from GaudiKernel.SystemOfUnits import * +from Configurables import ( DiElectronMaker, ProtoParticleCALOFilter, + ParticleTransporter ) +from Configurables import LoKi__VertexFitter + + +###--- Long pair +dieSymLL = DiElectronMaker('StdAllTightSymGammaLL') +dieSymLL.DecayDescriptor = "gamma -> e+ e-" +selector = trackSelector ( dieSymLL , trackTypes = [ "Long"]) +dieSymLL.addTool( ProtoParticleCALOFilter('Electron')) +dieSymLL.Electron.Selection = ["RequiresDet='CALO' CombDLL(e-pi)>'0.0'"] +dieSymLL.DeltaY = 3. +dieSymLL.DeltaYmax = 200 * mm +dieSymLL.DiElectronMassMax = 100.*MeV +dieSymLL.DiElectronPtMin = 200.*MeV +dieSymLL.SymetricPair = True + +locations = updateDoD ( dieSymLL ) +StdAllTightSymGammaLL=dieSymLL + +###--- Downstream pair +dieSymDD = DiElectronMaker('StdAllTightSymGammaDD') +dieSymDD.DecayDescriptor = "gamma -> e+ e-" +selector = trackSelector ( dieSymDD , trackTypes = [ "Downstream"]) +dieSymDD.addTool( ProtoParticleCALOFilter('Electron')) +dieSymDD.Electron.Selection = ["RequiresDet='CALO' CombDLL(e-pi)>'0.0'"] +dieSymDD.DeltaY = 3. +dieSymDD.DeltaYmax = 200 * mm +dieSymDD.DiElectronMassMax = 100.*MeV +dieSymDD.DiElectronPtMin = 200.*MeV +dieSymDD.SymetricPair = True + +#-- improved vertex fitter settings +dieSymDD.UseCombinePair = True +dieSymDD.addTool( ParticleTransporter, name='TransporterDie' ) +dieSymDD.TransporterDie.TrackExtrapolator = "TrackRungeKuttaExtrapolator" + +dieSymDD.ParticleCombiners.update( { "" : "LoKi::VertexFitter"} ) +dieSymDD.addTool( LoKi__VertexFitter ) +dieSymDD.LoKi__VertexFitter.addTool( ParticleTransporter, name='Transporter' ) +dieSymDD.LoKi__VertexFitter.Transporter.TrackExtrapolator = "TrackRungeKuttaExtrapolator" +dieSymDD.LoKi__VertexFitter.DeltaDistance = 100 * mm + +locations.update( updateDoD ( dieSymDD ) ) +StdAllTightSymGammaDD=dieSymDD + + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdAllVeryLooseMuons.py b/Phys/CommonParticles/python/CommonParticles/StdAllVeryLooseMuons.py new file mode 100755 index 0000000000000000000000000000000000000000..e0e451bd50c201414d98c9982159f5329895eb75 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdAllVeryLooseMuons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdVeryLooseMuons.py,v 1.1 2009-10-08 12:37:06 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StdAllVeryLooseMuons.py +# configuration file for 'Standard All Very Loose Muons' +# @author Patrick Koppenburg patrick.koppenburg@cern.ch +# @date 2009-10-08 +# ============================================================================= +""" +Configuration file for 'Standard AllVery Loose Muons' +""" +__author__ = "Patrick Koppenburg patrick.koppenburg@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= +__all__ = ( + 'StdAllVeryLooseMuons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleMUONFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdAllVeryLooseMuons', + Particle = 'muon' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleMUONFilter, 'Muon' ) +fltr.Selection = [ "RequiresDet='MUON' IsMuonLoose=True" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdAllVeryLooseMuons = algorithm + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdJets.py b/Phys/CommonParticles/python/CommonParticles/StdJets.py new file mode 100644 index 0000000000000000000000000000000000000000..252739118220367ff76c5fd6671cc4f933de7c7a --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdJets.py @@ -0,0 +1,43 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdAllNoPIDsPions.py,v 1.5 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdAllNoPIDsPions.py +# configuration file for 'Standard NoPIDs Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Pions' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdJets' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from CommonParticles.Utils import * + +from JetAccessories.JetMaker_Config import JetMakerConf +algorithm = JetMakerConf("StdJets").algorithms[0] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdJets = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdJetsR07.py b/Phys/CommonParticles/python/CommonParticles/StdJetsR07.py new file mode 100644 index 0000000000000000000000000000000000000000..a2237dd2b480fafc73594a775f31b0567633d1e4 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdJetsR07.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdAllNoPIDsPions.py,v 1.5 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdAllNoPIDsPions.py +# configuration file for 'Standard NoPIDs Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Pions' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdJets' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from CommonParticles.Utils import * + +from JetAccessories.JetMaker_Config import JetMakerConf +algorithm = JetMakerConf("StdJetsR07", R=0.7).algorithms[0] +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdJets = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLTUnbiasedJpsi2MuMu.py b/Phys/CommonParticles/python/CommonParticles/StdLTUnbiasedJpsi2MuMu.py new file mode 100644 index 0000000000000000000000000000000000000000..8272ccbab796857765a9b8ac5fb7ec463406fd5f --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLTUnbiasedJpsi2MuMu.py @@ -0,0 +1,44 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLTUnbiasedJpsi2MuMu.py,v 1.2 2009-06-28 12:02:54 gcowan Exp $ +# ============================================================================= +## @file CommonParticles/StdLTUnbiasedJpsi2MuMu.py +# configuration file for 'Standard lifetime unbiased Jpsi2MuMu' +# @author Greig Cowan +# @date 2009-05-21 +# ============================================================================= +""" +Configuration file for 'Standard lifetime unbiased Jpsi2MuMu' +""" +__author__ = "Greig Cowan" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.2 $" +# ============================================================================= +__all__ = ( + 'StdLTUnbiasedJpsi2MuMu' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import FilterDesktop +from CommonParticles.Utils import * + +## ============================================================================ +StdLTUnbiasedJpsi2MuMu = FilterDesktop("StdLTUnbiasedJpsi2MuMu") +StdLTUnbiasedJpsi2MuMu.Inputs =["Phys/StdLooseJpsi2MuMu/Particles"] +StdLTUnbiasedJpsi2MuMu.Code = " (MINTREE('mu+'==ABSID, PT) > 500.*MeV)" \ + "& (MINTREE('mu+'==ABSID, PIDmu) > -10.0)" \ + "& (MAXTREE('mu+'==ABSID, PIDK) < 10.0)" \ + "& (ADMASS('J/psi(1S)') < 50.*MeV)" \ + "& (PT > 1000.*MeV)" \ + "& (VFASPF(VCHI2) < 6.0)" + +## configure Data-On-Demand service +locations = updateDoD ( StdLTUnbiasedJpsi2MuMu ) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseANNDownElectrons.py b/Phys/CommonParticles/python/CommonParticles/StdLooseANNDownElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..f526022826ec46e9b2e5c39816e96bae679f08e3 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseANNDownElectrons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdLooseANNDownElectrons.py +# configuration file for 'Standard Loose ANN Downstream Electrons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Loose Downstream Electrons using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdLooseANNDownElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdLooseANNDownElectrons' , + Particle = 'electron' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Downstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter , 'Electron' ) +#fltr.Selection = [ "RequiresDet='CALO' ProbNNe>'0.1'" ] +fltr.Selection = [ "RequiresDet='RICHORCALO' ProbNNe>'0.035'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseANNDownElectrons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseANNDownKaons.py b/Phys/CommonParticles/python/CommonParticles/StdLooseANNDownKaons.py new file mode 100755 index 0000000000000000000000000000000000000000..17e2151dc925ed370e89082bdac009d7d393dc58 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseANNDownKaons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdLooseANNDownKaons.py +# configuration file for 'Standard Loose ANN Downstream Kaons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Loose Downstream Kaons using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdLooseANNDownKaons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdLooseANNDownKaons' , + Particle = 'kaon' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Downstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Kaon' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNk>'0.075'" ] +fltr.Selection = [ "ProbNNk>'0.05'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseANNDownKaons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseANNDownPions.py b/Phys/CommonParticles/python/CommonParticles/StdLooseANNDownPions.py new file mode 100755 index 0000000000000000000000000000000000000000..369a523e9744b47a4492f413b152c4cb7831c325 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseANNDownPions.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdLooseANNDownPions.py +# configuration file for 'Standard Loose ANN Downstream Pions' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Loose Downstream Pions using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdLooseANNDownPions' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdLooseANNDownPions' , + Particle = 'pion' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Downstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Pion' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNpi>'0.1'" ] +fltr.Selection = [ "ProbNNpi>'0.03'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseANNDownPions = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseANNDownProtons.py b/Phys/CommonParticles/python/CommonParticles/StdLooseANNDownProtons.py new file mode 100755 index 0000000000000000000000000000000000000000..812ec6b50472dc3729f10531da0747cc1a2cbb9b --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseANNDownProtons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdLooseANNDownProtons.py +# configuration file for 'Standard Loose ANN Downstream Electrons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Loose Downstream Protons using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdLooseANNDownProtons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdLooseANNDownProtons' , + Particle = 'proton' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Downstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Proton' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNp>'0.1'" ] +fltr.Selection = [ "ProbNNp>'0.04'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseANNDownProtons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseANNElectrons.py b/Phys/CommonParticles/python/CommonParticles/StdLooseANNElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..26cdaf639e7e9882dca003fcc2f55aa07c606393 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseANNElectrons.py @@ -0,0 +1,44 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdLooseANNElectrons.py +# configuration file for 'Standard Loose ANN PID Electrons' +# @author Patrick Koppenburg +# @date 2011-07-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose Electrons using ANN PID' +""" +__author__ = "Patrick Koppenburg " +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdLooseANNElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import FilterDesktop +from CommonParticles.Utils import * + +## create the algorithm +algorithm = FilterDesktop( 'StdLooseANNElectrons', + Inputs = ["Phys/StdAllLooseANNElectrons/Particles"], + Code = defaultCuts() ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseANNElectrons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseANNKaons.py b/Phys/CommonParticles/python/CommonParticles/StdLooseANNKaons.py new file mode 100755 index 0000000000000000000000000000000000000000..752687c2b60b55bcfd275b25e0e125e7dacefe59 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseANNKaons.py @@ -0,0 +1,44 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdLooseANNKaons.py +# configuration file for 'Standard Loose Kaons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Loose Kaons with loose ANN cuts' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdLooseANNKaons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import FilterDesktop +from CommonParticles.Utils import * + +## create the algorithm +algorithm = FilterDesktop( 'StdLooseANNKaons', + Inputs = ["Phys/StdAllLooseANNKaons/Particles"], + Code = defaultCuts() ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseANNKaons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseANNPions.py b/Phys/CommonParticles/python/CommonParticles/StdLooseANNPions.py new file mode 100755 index 0000000000000000000000000000000000000000..820046cbd7107c0cb02bfa08ff22e0eb3bf7344d --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseANNPions.py @@ -0,0 +1,44 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdLooseANNPions.py +# configuration file for 'Standard Loose Pions' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Loose ANN Pions' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdLooseANNPions' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import FilterDesktop +from CommonParticles.Utils import * + +## create the algorithm +algorithm = FilterDesktop ( 'StdLooseANNPions', + Inputs = ["Phys/StdAllLooseANNPions/Particles"], + Code = defaultCuts() ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseANNPions = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseANNProtons.py b/Phys/CommonParticles/python/CommonParticles/StdLooseANNProtons.py new file mode 100755 index 0000000000000000000000000000000000000000..e93f04d9b28960baa0eee124d9e5d55f5a91ccc1 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseANNProtons.py @@ -0,0 +1,44 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdLooseANNProtons.py +# configuration file for 'Standard Loose Protons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Loose Protons with loose ANN cuts' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdLooseANNProtons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import FilterDesktop +from CommonParticles.Utils import * + +## create the algorithm +algorithm = FilterDesktop( 'StdLooseANNProtons', + Inputs = ["Phys/StdAllLooseANNProtons/Particles"], + Code = defaultCuts() ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseANNProtons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseANNUpElectrons.py b/Phys/CommonParticles/python/CommonParticles/StdLooseANNUpElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..acd13357897d582bada522e3b9c6c90991ddff80 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseANNUpElectrons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdLooseANNUpElectrons.py +# configuration file for 'Standard Loose ANN Upstream Electrons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Loose Upstream Electrons using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdLooseANNUpElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdLooseANNUpElectrons' , + Particle = 'electron' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Upstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter , 'Electron' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNe>'0.1'" ] +fltr.Selection = [ "RequiresDet='RICHORCALO' ProbNNe>'0.03'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseANNUpElectrons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseANNUpKaons.py b/Phys/CommonParticles/python/CommonParticles/StdLooseANNUpKaons.py new file mode 100755 index 0000000000000000000000000000000000000000..5cdacdeb8d637b4e8f27aae731a990e8fb6fbc84 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseANNUpKaons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdLooseANNUpKaons.py +# configuration file for 'Standard Loose ANN Upstream Kaons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Loose Upstream Kaons using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdLooseANNUpKaons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdLooseANNUpKaons' , + Particle = 'kaon' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Upstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Kaon' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNk>'0.1'" ] +fltr.Selection = [ "ProbNNk>'0.025'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseANNUpKaons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseANNUpPions.py b/Phys/CommonParticles/python/CommonParticles/StdLooseANNUpPions.py new file mode 100755 index 0000000000000000000000000000000000000000..da9e2c830268c688e2953639b37c732cd6abf836 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseANNUpPions.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdLooseANNUpPions.py +# configuration file for 'Standard Loose ANN Upstream Electrons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Loose Upstream Pions using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdLooseANNUpPions' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdLooseANNUpPions' , + Particle = 'pion' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Upstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Pion' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNpi>'0.1'" ] +fltr.Selection = [ "ProbNNpi>'0.03'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseANNUpPions = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseANNUpProtons.py b/Phys/CommonParticles/python/CommonParticles/StdLooseANNUpProtons.py new file mode 100755 index 0000000000000000000000000000000000000000..fe2c64b9c24f0605b7474f0b817530cc40618c26 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseANNUpProtons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdLooseANNUpProtons.py +# configuration file for 'Standard Loose ANN Upstream Electrons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Loose Upstream Protons using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdLooseANNUpProtons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdLooseANNUpProtons' , + Particle = 'proton' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Upstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Proton' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNp>'0.1'" ] +fltr.Selection = [ "ProbNNp>'0.03'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseANNUpProtons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseAllPhotons.py b/Phys/CommonParticles/python/CommonParticles/StdLooseAllPhotons.py new file mode 100755 index 0000000000000000000000000000000000000000..6e9bc62db5f272778b6abf6d026d8954f1d6e450 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseAllPhotons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseAllPhotons.py,v 1.2 2009-04-22 14:17:39 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseAllPhotons.py +# configuration file for 'Standard Loose All Photons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Loose All Photons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.2 $" +# ============================================================================= +__all__ = ( + 'StdLooseAllPhotons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import PhotonMakerAlg +from Configurables import PhotonMaker +from GaudiKernel.SystemOfUnits import MeV +from CommonParticles.Utils import * + +## create the algorithm +algorithm = PhotonMakerAlg ( 'StdLooseAllPhotons' , + DecayDescriptor = 'Gamma' ) + +# configure desktop&particle maker: +algorithm.addTool ( PhotonMaker , name = 'PhotonMaker' ) +photon = algorithm.PhotonMaker +photon.ConvertedPhotons = True +photon.UnconvertedPhotons = True +photon.PtCut = 200 * MeV + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseAllPhotons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseCnvPhotons.py b/Phys/CommonParticles/python/CommonParticles/StdLooseCnvPhotons.py new file mode 100755 index 0000000000000000000000000000000000000000..ad0c50a648b6c4e50d185e08bf90f246674b29ef --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseCnvPhotons.py @@ -0,0 +1,56 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseCnvPhotons.py,v 1.2 2009-04-22 14:17:39 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseCnvPhotons.py +# configuration file for 'Standard Loose Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Loose Converted Photons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.2 $" +# ============================================================================= +__all__ = ( + 'StdLooseCnvPhotons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import PhotonMakerAlg +from Configurables import PhotonMaker + +from GaudiKernel.SystemOfUnits import MeV + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = PhotonMakerAlg ( 'StdLooseCnvPhotons', + DecayDescriptor = 'Gamma' ) + +# configure desktop&particle maker: +algorithm.addTool ( PhotonMaker , name = 'PhotonMaker' ) +photon = algorithm.PhotonMaker +photon.ConvertedPhotons = True +photon.UnconvertedPhotons = False +photon.PtCut = 200 * MeV + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseCnvPhotons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseD02HH.py b/Phys/CommonParticles/python/CommonParticles/StdLooseD02HH.py new file mode 100755 index 0000000000000000000000000000000000000000..95499687e24136a9ca7e54176749ac21a1a3654c --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseD02HH.py @@ -0,0 +1,82 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseD02HH.py,v 1.8 2009-07-10 03:05:14 gligorov Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseD02HH.py +# configuration file for 'Standard Loose D0 -> HH' +# @author Patrick Koppenburg +# @date 2009-02-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose D0 -> HH' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.8 $" +# ============================================================================= +__all__ = ( + 'StdLooseD02KPi' , + 'StdLooseD02PiPi' , + 'StdLooseD02KK' , + 'StdLooseD02KPiDCS' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm +StdLooseD02KPi = CombineParticles ( 'StdLooseD02KPi' ) + +StdLooseD02KPi.Inputs = [ "Phys/StdLooseKaons/Particles", + "Phys/StdLoosePions/Particles" ] +StdLooseD02KPi.DecayDescriptor = "[D0 -> K- pi+]cc" + +StdLooseD02KPi.DaughtersCuts = { "K+" : "(P>2*GeV)", + "pi+" : "(P>2*GeV)"} + +#for the mass window, need 100 MeV above the Ds mass for clean background estimation, but only need +#~100 MeV below since the lower mass sideband will be for the crystal ball only. + +StdLooseD02KPi.CombinationCut = "(((APT>1*GeV) | (ASUM(PT)>1.2*GeV)) & (ADAMASS('D0')<110*MeV) & (ADOCA(1,2)<0.5*mm) & (ADOCACHI2CUT(15,'')))" +StdLooseD02KPi.MotherCut = "((VFASPF(VCHI2)<10) & (ADMASS('D0')<100*MeV) & (BPVVDCHI2>36))" + +## configure Data-On-Demand service +locations = updateDoD ( StdLooseD02KPi ) + +## ============================================================================ +## PiPi +StdLooseD02PiPi = StdLooseD02KPi.clone("StdLooseD02PiPi") +StdLooseD02PiPi.DecayDescriptor = "[D0 -> pi- pi+]cc" + +## configure Data-On-Demand service +locations.update( updateDoD ( StdLooseD02PiPi ) ) + +## ============================================================================ +## KK +StdLooseD02KK = StdLooseD02KPi.clone("StdLooseD02KK") +StdLooseD02KK.DecayDescriptor = "[D0 -> K- K+]cc" + +## configure Data-On-Demand service +locations.update( updateDoD ( StdLooseD02KK ) ) + +## ============================================================================ +## Doubly Cabibbo suppressed +StdLooseD02KPiDCS = StdLooseD02KPi.clone("StdLooseD02KPiDCS") +StdLooseD02KPiDCS.DecayDescriptor = "[D0 -> K+ pi-]cc" + +## configure Data-On-Demand service +locations.update( updateDoD ( StdLooseD02KPiDCS ) ) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseD02KsHH.py b/Phys/CommonParticles/python/CommonParticles/StdLooseD02KsHH.py new file mode 100755 index 0000000000000000000000000000000000000000..44d727c9ea0c87f40d064db66dda2cbc0e95df3b --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseD02KsHH.py @@ -0,0 +1,76 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseD02KsHH.py,v 1.3 2009-04-22 14:17:39 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseD02KsHH.py +# configuration file for 'Standard Loose D0 -> KsHH' +# @author Patrick Koppenburg +# @date 2009-02-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose D0 -> KsHH' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.3 $" +# ============================================================================= +__all__ = ( + 'StdLooseD02KsPiPi' , + 'StdLooseD02KsKK' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +locations = {} + +## ============================================================================ +## create the algorithm +########################################################################################## +# D0 -> Ks Pi Pi +# +StdLooseD02KsPiPi = CombineParticles("StdLooseD02KsPiPi") + +StdLooseD02KsPiPi.Inputs = [ "Phys/StdLoosePions/Particles", + "Phys/StdLooseKsLL/Particles" ] + +StdLooseD02KsPiPi.DecayDescriptor = "[D0 -> KS0 pi+ pi-]cc" + +StdLooseD02KsPiPi.DaughtersCuts = { "pi+" : "(PT>400*MeV)", + "KS0" : "(PT>1*GeV)"} +StdLooseD02KsPiPi.CombinationCut = "(ADAMASS('D0')<80*MeV) & (APT>1800*MeV)" +StdLooseD02KsPiPi.MotherCut = "(VFASPF(VCHI2/VDOF)<10) & (MIPCHI2DV(PRIMARY)>1)" + +## configure Data-On-Demand service +locations.update(updateDoD ( StdLooseD02KsPiPi )) + + +########################################################################################## +# D0 -> Ks K K is a clone of Ks Pi Pi +# +StdLooseD02KsKK = StdLooseD02KsPiPi.clone("StdLooseD02KsKK") + +StdLooseD02KsKK.Inputs = [ "Phys/StdLooseKaons/Particles", + "Phys/StdLooseKsLL/Particles" ] +StdLooseD02KsKK.DecayDescriptor = "[D0 -> KS0 K+ K-]cc" + +StdLooseD02KsKK.DaughtersCuts = { "K+" : "(PT>300*MeV)", + "KS0" : "(PT>800*MeV)" } +StdLooseD02KsKK.CombinationCut = "(ADAMASS('D0')<80) & (APT>1500*MeV)" +StdLooseD02KsKK.MotherCut = "(VFASPF(VCHI2/VDOF)<10) & (MIPCHI2DV(PRIMARY)>0.49)" + +## configure Data-On-Demand service +locations.update(updateDoD ( StdLooseD02KsKK )) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseDalitzPi0.py b/Phys/CommonParticles/python/CommonParticles/StdLooseDalitzPi0.py new file mode 100644 index 0000000000000000000000000000000000000000..422d99c967178bea1af02f396932d6a3e146d37b --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseDalitzPi0.py @@ -0,0 +1,65 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseDalitzPi0.py,v 1.3 2009-04-22 14:17:39 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseDalitzPi0.py +# configuration file for 'Standard Loose Dalitz Pi0s and Pi0 with photon conversion' +# @author Olivier Deschamps +# @date 2014-05-20 +# ============================================================================= +""" +Configuration file for 'Standard Loose DalitzPi0' +""" +__author__ = "Olivier Deschamps" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.3 $" +# ============================================================================= +__all__ = ( + 'StdLoosePi02gee' , + 'StdLoosePi024e' , + 'StdLooseDalitzPi0' , + 'locations' + ) +# ============================================================================= +from GaudiKernel.SystemOfUnits import MeV +from CommonParticles.Utils import * +from Configurables import CombineParticles + +## create the algorithm : pi0 -> gg(ee) (1 conversion) +pi02gee = CombineParticles( "StdLoosePi02gee", DecayDescriptor = 'pi0 -> gamma gamma' ) +pi02gee.Inputs = ["Phys/StdLooseAllPhotons/Particles","Phys/StdAllLooseGammaLL/Particles","Phys/StdAllLooseGammaDD/Particles"] +pi02gee.ParticleCombiners.update( {"" : "ParticleAdder"} ) +pi02gee.Preambulo += ["cnv = switch(INTES('StdLooseAllPhotons',False),1,0)"] +pi02gee.MotherCut = " (MM < 170*MeV) & (MM > 90*MeV) & (1 == CHILD(1,cnv)+CHILD(2,cnv) )" +locations = updateDoD ( pi02gee ) +StdLoosePi02gee=pi02gee + +## create the algorithm : pi0 -> g(ee)g(ee) (2 conversions) +pi024e = CombineParticles( "StdLoosePi024e", DecayDescriptor = 'pi0 -> gamma gamma' ) +pi024e.Inputs = ["Phys/StdAllLooseGammaLL","Phys/StdAllLooseGammaDD/Particles"] +pi024e.ParticleCombiners.update( {"" : "ParticleAdder"} ) +#pi024e.ParticleCombiners.update( {"" : "LoKi::VertexFitter"} ) +pi024e.MotherCut = " (MM < 170*MeV) & (MM > 90*MeV)" +locations.update( updateDoD ( pi024e ) ) +StdLoosePi024e=pi024e + +## create the algorithm : pi0 -> gee (Dalitz decay) - note : also contains Long-Long contribution to 1 conversion gg(ee) +from CommonParticles.StdLooseDiElectron import * +pi0Dalitz = CombineParticles( "StdLooseDalitzPi0", DecayDescriptor = 'pi0 -> gamma gamma' ) +pi0Dalitz.Inputs = ["Phys/StdLooseAllPhotons/Particles","Phys/StdDiElectronGamma/Particles"] +pi0Dalitz.CombinationCut = "(AM < 200*MeV) & (1 == ACHILD(1,cnv)+ACHILD(2,cnv) )" +pi0Dalitz.Preambulo += ["cnv = switch(INTES('StdLooseAllPhotons',False),1,0)"] +pi0Dalitz.MotherCut = " (MM < 170*MeV) & (MM > 90*MeV)" +locations.update( updateDoD ( pi0Dalitz ) ) +StdLooseDalitzPi0=pi0Dalitz + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseDetachedDiElectron.py b/Phys/CommonParticles/python/CommonParticles/StdLooseDetachedDiElectron.py new file mode 100644 index 0000000000000000000000000000000000000000..0cf063a3341049e87f6b47b47bcd270aae455837 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseDetachedDiElectron.py @@ -0,0 +1,33 @@ +""" +Configuration file for Standard Loose Detached DiElectron +""" + +__author__ = 'Jibo He' +__date__ = '20/01/2012' + + +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * +import GaudiKernel.SystemOfUnits as Units + +############################## +# StdLooseDetachedDiElectron # +############################## +StdLooseDetachedDiElectron = CombineParticles("StdLooseDetachedDiElectron") +StdLooseDetachedDiElectron.DecayDescriptor = "J/psi(1S) -> e+ e-" +StdLooseDetachedDiElectron.Inputs = ["Phys/StdAllLooseElectrons/Particles"] +StdLooseDetachedDiElectron.DaughtersCuts = { "e+" : "(PT>200*MeV) & (MIPCHI2DV(PRIMARY)>1.)" } +StdLooseDetachedDiElectron.CombinationCut = "(ADOCACHI2CUT(30,''))" +StdLooseDetachedDiElectron.MotherCut = "(VFASPF(VCHI2)<25)" +locations = updateDoD(StdLooseDetachedDiElectron) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + + diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseDetachedKpi.py b/Phys/CommonParticles/python/CommonParticles/StdLooseDetachedKpi.py new file mode 100644 index 0000000000000000000000000000000000000000..8f848d3767aa858688df48417f4a614f0de35957 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseDetachedKpi.py @@ -0,0 +1,28 @@ +""" +Configuration file for Standard Loose Detached Kpi, +with Kpi invariant mass up to 2.2 GeV +""" + +__author__ = 'Jibo He' +__date__ = '22/01/2012' + + +from Gaudi.Configuration import * +from Configurables import CombineParticles # , OfflineVertexFitter, OnOfflineTool +from CommonParticles.Utils import * +import GaudiKernel.SystemOfUnits as Units + +########################### +# StdDetachetKst2Kpi # +########################### +StdLooseDetachedKpi = CombineParticles("StdLooseDetachedKpi") +StdLooseDetachedKpi.DecayDescriptor = "[K*(892)0 -> K+ pi-]cc" +StdLooseDetachedKpi.Inputs = ["Phys/StdLooseKaons/Particles", + "Phys/StdLoosePions/Particles"] + +StdLooseDetachedKpi.CombinationCut = "(AM<2.2*GeV) & (ADOCACHI2CUT(30, ''))" +StdLooseDetachedKpi.MotherCut = "(VFASPF(VCHI2)<25)" + +locations = updateDoD(StdLooseDetachedKpi) + + diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseDetachedKstar.py b/Phys/CommonParticles/python/CommonParticles/StdLooseDetachedKstar.py new file mode 100644 index 0000000000000000000000000000000000000000..3ce2c6b60e8b4e894f92aa2da2cae86ceff66b32 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseDetachedKstar.py @@ -0,0 +1,23 @@ +""" +Configuration file for Standard Loose Kstar2Kpi +""" + +__author__ = 'Diego Martinez Santos, P. Koppenburg' +__date__ = '29/06/2009' + + +from Gaudi.Configuration import * +from Configurables import FilterDesktop +from CommonParticles.Utils import * +import GaudiKernel.SystemOfUnits as Units + +########################### +# StdLooseDetachetKst2Kpi # +########################### + +StdLooseDetachedKst2Kpi = FilterDesktop("StdLooseDetachedKst2Kpi") +StdLooseDetachedKst2Kpi.Inputs = ["Phys/StdVeryLooseDetachedKst2Kpi/Particles"] +StdLooseDetachedKst2Kpi.Code = "(MIPCHI2DV(PRIMARY)> 2.25)" +locations = updateDoD(StdLooseDetachedKst2Kpi) + + diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseDetachedPhi.py b/Phys/CommonParticles/python/CommonParticles/StdLooseDetachedPhi.py new file mode 100755 index 0000000000000000000000000000000000000000..e8b90fd6c4fa764a9a82a6b95401a41472d33cc1 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseDetachedPhi.py @@ -0,0 +1,43 @@ +##!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseDetachedPhi.py,v 1.2 2009-07-10 15:19:54 gcowan Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseDetachedPhi2KK.py +# configuration file for 'Standard Loose Detached' +# @author Greig Cowan +# @date 2009-06-23 +# ============================================================================= +""" +Configuration file for 'Standard Loose Detached (i.e., cut on K IP) Phi2KK' +""" +__author__ = "Greig Cowan" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.2 $" +# ============================================================================= +__all__ = ( + 'StdLooseDetachedPhi2KK' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm +StdLooseDetachedPhi2KK = CombineParticles ("StdLooseDetachedPhi2KK") +StdLooseDetachedPhi2KK.Inputs = ["Phys/StdLooseKaons/Particles"] +StdLooseDetachedPhi2KK.DecayDescriptor = "phi(1020) -> K+ K-" +StdLooseDetachedPhi2KK.DaughtersCuts = {"K+": "(MIPCHI2DV(PRIMARY) > 4.)"} +StdLooseDetachedPhi2KK.CombinationCut = "(AM < 1100.*MeV) & (ADOCACHI2CUT(30,''))" +StdLooseDetachedPhi2KK.MotherCut = "(VFASPF(VCHI2) < 25.0)" + +## configure Data-On-Demand service +locations = updateDoD ( StdLooseDetachedPhi2KK ) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseDetachedTau.py b/Phys/CommonParticles/python/CommonParticles/StdLooseDetachedTau.py new file mode 100755 index 0000000000000000000000000000000000000000..351ba3a5d0237a7904f79bfb17893018a6e72ecd --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseDetachedTau.py @@ -0,0 +1,60 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseDetachedTau.py,v 1.0 2012-12-04 14:44:42 elsasser Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseDetachedTau.py +# configuration file for 'Standard Loose Detached Tau' +# @author Donal Hill, Conor Fitzpatrick, Christian Elsasser +# @date 2012-12-02 +# ============================================================================= +""" +Configuration file for 'Standard Loose Detached Tau' +""" +__author__ = "Donal Hill, Conor Fitzpatrick, Christian Elsasser" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.0 $" +# ============================================================================= +__all__ = ( + 'StdLooseDetachedTau3pi', + 'locations' + + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm - physical tau+ -> pi+ pi- pi+ +StdLooseDetachedTau3pi = CombineParticles ( 'StdLooseDetachedTau3pi' ) + +StdLooseDetachedTau3pi.Inputs = [ "Phys/StdLoosePions/Particles" ] + +#Build physical tau and tau+++ +StdLooseDetachedTau3pi.DecayDescriptors = ["[tau+ -> pi+ pi- pi+]cc"] +StdLooseDetachedTau3pi.DaughtersCuts = { + "pi+" : "(PT>150.*MeV) & (MIPCHI2DV(PRIMARY) > 4.0) & (TRCHI2DOF<4) & (TRGHOSTPROB<0.4) & (PIDK < 8)", + "pi-" : "(PT>150.*MeV) & (MIPCHI2DV(PRIMARY) > 4.0) & (TRCHI2DOF<4) & (TRGHOSTPROB<0.4) & (PIDK < 8)" + + } + +#Need an upper mass window of 100 MeV for background estimation +#and a lower mass window of 200 to catch the D+ and Ds + +StdLooseDetachedTau3pi.CombinationCut = "((AM>400.*MeV) & (AM<3500.*MeV)) & (ADOCAMAX('')<0.15*mm) & ((AM12<1670.*MeV) or (AM23<1670.*MeV)) & (ANUM(PT < 300*MeV) <= 1) & (1<ANUM( ('pi+'==ABSID) & (MIPCHI2DV(PRIMARY)>5)))" +StdLooseDetachedTau3pi.MotherCut = "(M>400.*MeV) & (M < 3500.*MeV) & (BPVDIRA>0.99) & (VFASPF(VCHI2) < 25 )" + +## configure Data-On-Demand service +locations = updateDoD ( StdLooseDetachedTau3pi ) + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseDetachedTauNonPhys.py b/Phys/CommonParticles/python/CommonParticles/StdLooseDetachedTauNonPhys.py new file mode 100644 index 0000000000000000000000000000000000000000..baaf4469410ee03145f70fd16c23fe545498f831 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseDetachedTauNonPhys.py @@ -0,0 +1,61 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseDetachedTau.py,v 1.0 2012-12-04 14:44:42 elsasser Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseDetachedTau.py +# configuration file for 'Standard Loose Detached Tau' +# @author Donal Hill, Conor Fitzpatrick, Christian Elsasser +# @date 2012-08-07 +# ============================================================================= +""" +Configuration file for 'Standard Loose Detached Tau Non Physical Tau' +""" +__author__ = "Donal Hill, Conor Fitzpatrick, Christian Elsasser" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.0 $" +# ============================================================================= +__all__ = ( + 'StdLooseDetachedTau3piNonPhys', + 'locations' + + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm - non-physical tau+++ -> pi+ pi+ pi+ +StdLooseDetachedTau3piNonPhys = CombineParticles ( 'StdLooseDetachedTau3piNonPhys' ) + + +StdLooseDetachedTau3piNonPhys.Inputs = [ "Phys/StdLoosePions/Particles" ] + +#Build physical tau and tau+++ +StdLooseDetachedTau3piNonPhys.DecayDescriptors = ["[tau+ -> pi+ pi+ pi+]cc"] +StdLooseDetachedTau3piNonPhys.DaughtersCuts = { + "pi+" : "(PT>150.*MeV) & (MIPCHI2DV(PRIMARY) > 4.0) & (TRCHI2DOF<4) & (TRGHOSTPROB<0.4) & (PIDK < 8)" + } + +#Need an upper mass window of 100 MeV for background estimation +#and a lower mass window of 200 to catch the D+ and Ds + +StdLooseDetachedTau3piNonPhys.CombinationCut = "((AM>400.*MeV) & (AM<3500.*MeV)) & (ADOCAMAX('')<0.15*mm) & ((AM12<1670.*MeV) or (AM23<1670.*MeV)) & (ANUM(PT < 300*MeV) <= 1) & (1<ANUM( ('pi+'==ABSID) & (MIPCHI2DV(PRIMARY)>5)))" +StdLooseDetachedTau3piNonPhys.MotherCut = "(M>400.*MeV) & (M < 3500.*MeV) & (BPVDIRA>0.99) & (VFASPF(VCHI2) < 25 )" + + + +## configure Data-On-Demand service +locations = updateDoD ( StdLooseDetachedTau3piNonPhys ) + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseDiElectron.py b/Phys/CommonParticles/python/CommonParticles/StdLooseDiElectron.py new file mode 100644 index 0000000000000000000000000000000000000000..c8f2d2720e71fdf88686e3d4f99a67e65381732c --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseDiElectron.py @@ -0,0 +1,59 @@ +""" +Configuration file for Standard Loose DiElectron, very loose for penguins +""" + +__author__ = 'Patrick Koppenburg' +__date__ = '08/12/2009' + + +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * +import GaudiKernel.SystemOfUnits as Units + +locations = { } + +########################### +# StdLooseDiElectron # +########################### +""" +Standard Di-Electron maker from 2 electrons +""" +StdLooseDiElectron = CombineParticles("StdLooseDiElectron") +StdLooseDiElectron.DecayDescriptor = "J/psi(1S) -> e+ e-" +StdLooseDiElectron.Inputs = ["Phys/StdAllLooseElectrons/Particles"] +StdLooseDiElectron.DaughtersCuts = { "e+" : "(PT>500*MeV)" } +StdLooseDiElectron.CombinationCut = "(AM>30*MeV) & (ADOCACHI2CUT(30,''))" +StdLooseDiElectron.MotherCut = "(VFASPF(VCHI2)<25)" +locations.update( updateDoD(StdLooseDiElectron) ) + +""" +Using Olivier's Di-Electron Particle Maker +""" +###--- From Olivier's ParticleMaker +from Configurables import DiElectronMaker, ProtoParticleCALOFilter +from GaudiKernel.SystemOfUnits import * +dieLL = DiElectronMaker('StdDiElectronFromTracks') +dieLL.Particle = "J/psi(1S)" +selector = trackSelector ( dieLL , trackTypes = ["Long"] ) +dieLL.addTool( ProtoParticleCALOFilter, name='Electron' ) +dieLL.Electron.Selection = ["RequiresDet='CALO' CombDLL(e-pi)>'-2.0'"] +dieLL.DiElectronMassMax = 5000.*MeV +dieLL.DiElectronMassMin = 0.*MeV +dieLL.DiElectronPtMin = 200.*MeV +locations.update( updateDoD(dieLL) ) +StdDiElectronFromTracks = dieLL + +# gamma version (clone) +StdDiElectronGamma = DiElectronMaker('StdDiElectronFromTracks').clone("StdDiElectronGamma") +StdDiElectronGamma.Particle = "gamma" +locations.update(updateDoD( StdDiElectronGamma )) + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseDiMuon.py b/Phys/CommonParticles/python/CommonParticles/StdLooseDiMuon.py new file mode 100644 index 0000000000000000000000000000000000000000..d1ba296476f36ba1c18d11666ab05b7b534f4e54 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseDiMuon.py @@ -0,0 +1,33 @@ +""" +Configuration file for Standard Loose DiMuon +""" + +__author__ = 'Rob Lambert' +__date__ = '07/07/2009' + + +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * +import GaudiKernel.SystemOfUnits as Units + +########################### +# StdLooseDiMuon # +########################### + +StdLooseDiMuon = CombineParticles("StdLooseDiMuon") +StdLooseDiMuon.DecayDescriptor = "J/psi(1S) -> mu+ mu-" +StdLooseDiMuon.Inputs = ["Phys/StdAllLooseMuons/Particles"] +StdLooseDiMuon.CombinationCut="(ADOCACHI2CUT(30, ''))" +StdLooseDiMuon.MotherCut = "(VFASPF(VCHI2) < 25)" +locations = updateDoD(StdLooseDiMuon) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + + diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseDiMuonSameSign.py b/Phys/CommonParticles/python/CommonParticles/StdLooseDiMuonSameSign.py new file mode 100644 index 0000000000000000000000000000000000000000..178cca43ab8add6d9f3fa661bfb876da782d8456 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseDiMuonSameSign.py @@ -0,0 +1,29 @@ +""" +Configuration file for Standard Loose DiMuon +""" + +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * +import GaudiKernel.SystemOfUnits as Units + +########################### +# StdLooseDiMuonSameSign # +########################### + +StdLooseDiMuonSameSign = CombineParticles("StdLooseDiMuonSameSign") +StdLooseDiMuonSameSign.DecayDescriptor = "[J/psi(1S) -> mu+ mu+]cc" +StdLooseDiMuonSameSign.Inputs = ["Phys/StdAllLooseMuons/Particles"] +StdLooseDiMuonSameSign.CombinationCut="(ADOCACHI2CUT(30,''))" +StdLooseDiMuonSameSign.MotherCut = "(VFASPF(VCHI2) < 25)" +locations = updateDoD(StdLooseDiMuonSameSign) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + + diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseDipion.py b/Phys/CommonParticles/python/CommonParticles/StdLooseDipion.py new file mode 100755 index 0000000000000000000000000000000000000000..fbaf6a0ef085922877c82e4042ba71cac2652051 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseDipion.py @@ -0,0 +1,56 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseDipion.py,v 1.8 2012-08-07 14:44:42 elsasser Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseDipion.py +# configuration file for 'Standard Loose Detached Tau' +# @author Donal Hill, Conor Fitzpatrick, Christian Elsasser +# @date 2012-08-07 +# ============================================================================= +""" +Configuration file for 'Standard Loose Dipion' +""" +__author__ = "Donal Hill, Conor Fitzpatrick, Christian Elsasser" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.0 $" +# ============================================================================= +__all__ = ( + 'StdLooseDetachedDipion', + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm +StdLooseDetachedDipion = CombineParticles ( 'StdLooseDetachedDipion' ) + +StdLooseDetachedDipion.Inputs = [ "Phys/StdLoosePions/Particles" ] +StdLooseDetachedDipion.DecayDescriptors = ["rho(770)0 -> pi+ pi-", + "[rho(770)+ -> pi+ pi+]cc"] +StdLooseDetachedDipion.DaughtersCuts = { + "pi+" : "(PT>150.*MeV) & (MIPCHI2DV(PRIMARY) > 4.0) & (TRCHI2DOF<4) & (TRGHOSTPROB<0.4) & (PIDK < 8)", + "pi-" : "(PT>150.*MeV) & (MIPCHI2DV(PRIMARY) > 4.0) & (TRCHI2DOF<4) & (TRGHOSTPROB<0.4) & (PIDK < 8)" + } + +#Need an upper mass window of 100 MeV for background estimation +#and a lower mass window of 200 to catch the D+ and Ds + +StdLooseDetachedDipion.CombinationCut = "(ANUM(PT < 300*MeV) <= 1) & (ADOCAMAX('') < 0.25*mm) & (AM<1670.*MeV)" +StdLooseDetachedDipion.MotherCut = "(VFASPF(VCHI2) < 9.0) & (MIPCHI2DV(PRIMARY) > 5.0) & (VFASPF(VMINVDDV(PRIMARY)) > 2.0*mm)" + +## configure Data-On-Demand service +locations = updateDoD (StdLooseDetachedDipion ) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseDownKaons.py b/Phys/CommonParticles/python/CommonParticles/StdLooseDownKaons.py new file mode 100755 index 0000000000000000000000000000000000000000..77934aded5796daa54a96cf89d1a785a59605577 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseDownKaons.py @@ -0,0 +1,52 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseDownKaons.py +# ============================================================================= +## @file CommonParticles/StdLooseDownKaons.py +# configuration file for 'Standard Loose Down Kaons' +# @author Yasmine Amhis +# @date 2010-06-03 +# ============================================================================= +""" +Configuration file for 'Standard Loose Downstream Kaons' +""" +__author__ = "Yasmine Amhis <yasmine.amhis@epfl.ch> " +__version__ = "" +# ============================================================================= +__all__ = ( + 'StdLooseDownKaons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import ProtoParticleCALOFilter, CombinedParticleMaker + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker('StdLooseDownKaons', Particle = 'kaon' ) + +# configure the track selector +selector = trackSelector ( algorithm , trackTypes = ['Downstream'] ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Kaon' ) +fltr.Selection = [ "RequiresDet='RICH' CombDLL(k-pi)>'-5.0'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseDownKaons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseDownMuons.py b/Phys/CommonParticles/python/CommonParticles/StdLooseDownMuons.py new file mode 100644 index 0000000000000000000000000000000000000000..6107dd6c258de4a7afa6525fcbcc9850c797fa18 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseDownMuons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseMuons.py,v 1.7 2009-08-04 09:05:31 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseMuons.py +# configuration file for 'Standard Loose Muons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Loose Muons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.7 $" +# ============================================================================= +__all__ = ( + 'StdLooseDownMuons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleMUONFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdLooseDownMuons', + Particle = 'muon' ) + +# configure the track selector +selector = trackSelector ( algorithm, trackTypes = ['Downstream'] ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleMUONFilter, 'Muon' ) +fltr.Selection = [ "RequiresDet='MUON' IsMuon=True" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseDownMuons = algorithm + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseDplus.py b/Phys/CommonParticles/python/CommonParticles/StdLooseDplus.py new file mode 100755 index 0000000000000000000000000000000000000000..9d4c413cacf6419b4d6d96be7c874cdf8313e10e --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseDplus.py @@ -0,0 +1,162 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseDplus.py,v 1.8 2010-09-09 08:44:42 jpalac Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseDplus.py +# configuration file for 'Standard Loose Dplus' +# @author Vladimir Gligorov +# @date 2009-02-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose Dplus' +""" +__author__ = "Vladimir Gligorov" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.8 $" +# ============================================================================= +__all__ = ( + 'StdLooseDplus2KPiPi' , + 'StdLooseDplus2KKPi' , + 'StdLooseDplus2PiPiPi' , + 'StdLooseDplus2KPiPiOppSignPi' , + 'StdLooseDsplus2KKPi' , + 'StdLooseDplus2hhh', + 'StdLooseDplus2KKK', + 'StdLooseDsplus2KKPiOppSign', + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +locations = {} + +## ============================================================================ +## create the algorithm +StdLooseDplus2KPiPi = CombineParticles ( 'StdLooseDplus2KPiPi' ) + +StdLooseDplus2KPiPi.Inputs = [ "Phys/StdLooseKaons/Particles", + "Phys/StdLoosePions/Particles" ] +StdLooseDplus2KPiPi.DecayDescriptor = "[D+ -> K- pi+ pi+]cc" +StdLooseDplus2KPiPi.DaughtersCuts = { + "K+" : "(P > 2*GeV)", + "pi+" : "(P > 2*GeV)" + } + +#Need an upper mass window of 100 MeV for background estimation +#and a lower mass window of 200 to catch the D+ and Ds + +StdLooseDplus2KPiPi.CombinationCut = "((AM>1760.*MeV) & (AM<2080.*MeV) & ((APT>1.*GeV) | (ASUM(PT)>1.*GeV)) & (ADOCAMAX('')<0.5*mm))" +StdLooseDplus2KPiPi.MotherCut = "((VFASPF(VCHI2) < 30 ) & (M>1770.*MeV) & (M < 2070.*MeV) & (BPVVDCHI2>36) & (BPVDIRA>0.98))" + +## configure Data-On-Demand service +locations.update(updateDoD ( StdLooseDplus2KPiPi )) +########################################################################################## +# D+ -> K K Pi is a clone of D+ -> K Pi Pi +# +StdLooseDplus2KKPi = StdLooseDplus2KPiPi.clone("StdLooseDplus2KKPi") +StdLooseDplus2KKPi.DecayDescriptor = "[D+ -> K- K+ pi+]cc" +locations.update(updateDoD ( StdLooseDplus2KKPi )) +########################################################################################## +# D+ -> 3 pi is a clone of D+ -> K Pi Pi +# +StdLooseDplus2PiPiPi = StdLooseDplus2KPiPi.clone("StdLooseDplus2PiPiPi") +StdLooseDplus2PiPiPi.Inputs = [ "Phys/StdLoosePions/Particles" ] +StdLooseDplus2PiPiPi.DecayDescriptor = "[D+ -> pi- pi+ pi+]cc" +locations.update(updateDoD ( StdLooseDplus2PiPiPi )) +########################################################################################## +# D_s+ -> K K Pi is a clone of D+ -> K Pi Pi +# +StdLooseDsplus2KKPi = StdLooseDplus2KPiPi.clone("StdLooseDsplus2KKPi") +StdLooseDsplus2KKPi.DecayDescriptor = "[D_s+ -> K- K+ pi+]cc" +locations.update(updateDoD ( StdLooseDsplus2KKPi )) +########################################################################################## + +# Also need the opposite sign pions mode for the Ds +# +StdLooseDplus2KPiPiOppSignPi = StdLooseDplus2KPiPi.clone("StdLooseDplus2KPiPiOppSignPi") +StdLooseDplus2KPiPiOppSignPi.DecayDescriptor = "[D+ -> pi- pi+ K+]cc" +locations.update(updateDoD ( StdLooseDplus2KPiPiOppSignPi )) + +######################################################################################## + +StdLooseDplus2KKK = CombineParticles ( 'StdLooseDplus2KKK' ) + +StdLooseDplus2KKK.Inputs = [ "Phys/StdLooseKaons/Particles" ] +StdLooseDplus2KKK.DecayDescriptor = "[D+ -> K- K+ K+]cc" +StdLooseDplus2KKK.DaughtersCuts = { + "K+" : "(PT > 250*MeV) & (P > 2000*MeV) &((MIPCHI2DV(PRIMARY)) > 2.0 ) & (PIDK-PIDpi > 3.0)" + } + +#Need an upper mass window of 100 MeV for background estimation +#and a lower mass window of 200 to catch the D+ and Ds + +StdLooseDplus2KKK.CombinationCut = "(AM>1760.*MeV) & (AM<2080.*MeV) & (ACHILD(PT,1)+ACHILD(PT,2)+ACHILD(PT,3) > 2500*MeV) & (ADOCACHI2CUT(50 , '' )) & (ANUM(MIPCHI2DV(PRIMARY) > 4.0 ) >= 2) & (AHASCHILD(MIPCHI2DV(PRIMARY) > 10.0)) & (ADOCAMAX('') < 0.5*mm)" +StdLooseDplus2KKK.MotherCut = "(PT > 1000) & (VFASPF(VCHI2/VDOF) < 10.0) & (BPVDIRA > 0.98) & (BPVIPCHI2() < 15.0) & (VFASPF(VMINVDCHI2DV(PRIMARY)) > 100.0)" + +## configure Data-On-Demand service +locations.update(updateDoD ( StdLooseDplus2KKK )) + + + + +######################################################################################## +StdLooseDsplus2KKPiOppSign = CombineParticles ( 'StdLooseDsplus2KKPiOppSign' ) + +StdLooseDsplus2KKPiOppSign.Inputs = [ "Phys/StdLooseKaons/Particles", + "Phys/StdLoosePions/Particles" ] +StdLooseDsplus2KKPiOppSign.DecayDescriptor = "[D_s+ -> pi- K+ K+]cc" +StdLooseDsplus2KKPiOppSign.DaughtersCuts = { + "K+" : "(PT > 250*MeV) & (P > 2000*MeV) &((MIPCHI2DV(PRIMARY)) > 2.5 ) & (PIDK-PIDpi > 3.0)", + "pi+" : "(PT > 250*MeV) & (P > 2000*MeV) &((MIPCHI2DV(PRIMARY)) > 2.5 ) & (PIDK-PIDpi < 10.0)" + } + +#Need an upper mass window of 100 MeV for background estimation +#and a lower mass window of 200 to catch the D+ and Ds + +StdLooseDsplus2KKPiOppSign.CombinationCut = "(AM>1760.*MeV) & (AM<2080.*MeV) & (ACHILD(PT,1)+ACHILD(PT,2)+ACHILD(PT,3) > 2500*MeV) & (ADOCACHI2CUT(50 , '' )) & (ANUM(MIPCHI2DV(PRIMARY) > 4.0 ) >= 2) & (AHASCHILD(MIPCHI2DV(PRIMARY) > 10.0)) & (ADOCAMAX('') < 0.5*mm)" +StdLooseDsplus2KKPiOppSign.MotherCut = "(PT > 1000) & (VFASPF(VCHI2/VDOF) < 10.0) & (BPVDIRA > 0.98) & (BPVIPCHI2() < 15.0) & (VFASPF(VMINVDCHI2DV(PRIMARY)) > 100.0)" + +## configure Data-On-Demand service +locations.update(updateDoD ( StdLooseDsplus2KKPiOppSign )) +########################################################################################## + + + +StdLooseDplus2hhh = CombineParticles ( 'StdLooseDplus2hhh') +StdLooseDplus2hhh.Inputs = [ "Phys/StdLoosePions/Particles" ] +StdLooseDplus2hhh.DecayDescriptor = "[D+ -> pi- pi+ pi+]cc" +StdLooseDplus2hhh.DaughtersCuts = { + "pi+" : "((PT >250*MeV) & (P > 2*GeV) & (MIPCHI2DV(PRIMARY) > 4.))" + } + +StdLooseDplus2hhh.CombinationCut = """(APT>1.*GeV) & (ADOCACHI2CUT(50, '')) & ( + in_range(1769*MeV, mpipipi , 2069 * MeV) | + in_range(1769*MeV, mKpipi , 2069 * MeV) | + in_range(1769*MeV, mKKpi1 , 2069 * MeV) | + in_range(1769*MeV, mKKpi2 , 2069 * MeV) | + in_range(1769*MeV, mKpipiDCS1 , 2069 * MeV) | + in_range(1769*MeV, mKpipiDCS2 , 2069 * MeV) + ) + """ +StdLooseDplus2hhh.MotherCut = "(VFASPF(VCHI2) < 30 )" +StdLooseDplus2hhh.Preambulo = [ "mpipipi = AWM ('pi-' , 'pi+', 'pi+' ) " , + "mKpipi = AWM ('K-' , 'pi+', 'pi+' ) " , + "mKKpi1 = AWM ('K-' , 'K+' , 'pi+' ) " , + "mKKpi2 = AWM ('K-' , 'pi+', 'K+' ) " , + "mKpipiDCS1 = AWM ( 'pi-' , 'K+' , 'pi+' )", + "mKpipiDCS2 = AWM ( 'pi-' , 'pi+', 'K+' )" ] +## configure Data-On-Demand service +locations.update(updateDoD (StdLooseDplus2hhh) ) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseDstarWithD2HH.py b/Phys/CommonParticles/python/CommonParticles/StdLooseDstarWithD2HH.py new file mode 100755 index 0000000000000000000000000000000000000000..ef957bfc2db760ef4b5371c2ed8e858e3054c96f --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseDstarWithD2HH.py @@ -0,0 +1,82 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseDstarWithD2HH.py,v 1.3 2009-04-22 14:17:39 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseDstarWithD02HH.py +# configuration file for 'Standard Loose Dstar WithD02HH' +# @author Patrick Koppenburg +# @date 2009-02-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose Dstar WithD02HH'. Lifetime unbiased at pion level +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.3 $" +# ============================================================================= +__all__ = ( + 'StdLooseDstarWithD02KPi' , + 'StdLooseDstarWithD02KPiDCS' , + 'StdLooseDstarWithD02PiPi' , + 'StdLooseDstarWithD02KK' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm +StdLooseDstarWithD02KPi = CombineParticles ( 'StdLooseDstarWithD02KPi' ) + +StdLooseDstarWithD02KPi.Inputs = [ "Phys/StdAllLoosePions/Particles", + "Phys/StdLooseD02KPi/Particles" ] +StdLooseDstarWithD02KPi.DecayDescriptor = "[D*(2010)+ -> pi+ D0]cc" + +StdLooseDstarWithD02KPi.CombinationCut = "(ADAMASS('D*(2010)+')<50*MeV) & (APT>1250*MeV)" +StdLooseDstarWithD02KPi.MotherCut = "(VFASPF(VCHI2/VDOF)<25) & (M-MAXTREE('D0'==ABSID,M)<165.5)" + +## configure Data-On-Demand service +locations = updateDoD ( StdLooseDstarWithD02KPi ) + +################################################################################ +# D* with Cabibbo-suppressed D0->K+Pi- is a clone of D* with D0->KPi +# +StdLooseDstarWithD02KPiDCS = StdLooseDstarWithD02KPi.clone("StdLooseDstarWithD02KPiDCS") +GaudiSequencer("SeqStdLooseDstarWithD02KPiDCS").Members += [ StdLooseDstarWithD02KPiDCS ] +StdLooseDstarWithD02KPiDCS.Inputs = [ "Phys/StdAllLoosePions/Particles", + "Phys/StdLooseD02KPiDCS/Particles" ] +## configure Data-On-Demand service +locations.update( updateDoD ( StdLooseDstarWithD02KPiDCS ) ) + +################################################################################ +# D* with D0->KK is a clone of D* with D0->Kpi +# +StdLooseDstarWithD02KK = StdLooseDstarWithD02KPi.clone("StdLooseDstarWithD02KK") +StdLooseDstarWithD02KK.DecayDescriptor = "[D*(2010)+ -> pi+ D0]cc" +StdLooseDstarWithD02KK.Inputs = [ "Phys/StdAllLoosePions/Particles", + "Phys/StdLooseD02KK/Particles" ] +## configure Data-On-Demand service +locations.update( updateDoD ( StdLooseDstarWithD02KK ) ) + +################################################################################ +# D* with D0->PiPi is a clone of D* with D0->KK +# +StdLooseDstarWithD02PiPi = StdLooseDstarWithD02KK.clone("StdLooseDstarWithD02PiPi") +GaudiSequencer("SeqStdLooseDstarWithD02PiPi").Members += [ StdLooseDstarWithD02PiPi ] +StdLooseDstarWithD02PiPi.Inputs = [ "Phys/StdAllLoosePions/Particles", + "Phys/StdLooseD02PiPi/Particles" ] +## configure Data-On-Demand service +locations.update( updateDoD ( StdLooseDstarWithD02PiPi ) ) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseElectrons.py b/Phys/CommonParticles/python/CommonParticles/StdLooseElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..45ee9d3e2f26ab54429df8268fbcd130135431a3 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseElectrons.py @@ -0,0 +1,44 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdLooseElectrons.py +# configuration file for 'Standard Loose Electrons' +# @author Patrick Koppenburg +# @date 2011-07-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose Electrons with loose tracking cuts' +""" +__author__ = "Patrick Koppenburg " +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdLooseElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import FilterDesktop +from CommonParticles.Utils import * + +## create the algorithm +algorithm = FilterDesktop( 'StdLooseElectrons', + Inputs = ["Phys/StdAllLooseElectrons/Particles"], + Code = defaultCuts() ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseElectrons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseJpsi2MuMu.py b/Phys/CommonParticles/python/CommonParticles/StdLooseJpsi2MuMu.py new file mode 100644 index 0000000000000000000000000000000000000000..086aec23ca29472e17dbd2afbaac94c51422e566 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseJpsi2MuMu.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseJpsi2MuMu.py,v 1.9 2009-06-29 09:16:49 gcowan Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseJpsi2MuMu.py +# configuration file for 'Standard Loose Jpsi2MuMu' +# @author Greig Cowan +# @date 2009-06-23 +# ============================================================================= +""" +Configuration file for 'Standard Loose Jpsi2MuMu'. Lifetime unbiased. +""" +__author__ = "Greig Cowan" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.9 $" +# ============================================================================= +__all__ = ( + 'StdLooseJpsi2MuMu' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm +StdLooseJpsi2MuMu = CombineParticles ("StdLooseJpsi2MuMu") +StdLooseJpsi2MuMu.Inputs = ["Phys/StdAllLooseMuons/Particles"] +StdLooseJpsi2MuMu.DecayDescriptor = "J/psi(1S) -> mu+ mu-" +StdLooseJpsi2MuMu.CombinationCut = "(ADAMASS('J/psi(1S)') < 100.*MeV) & (ADOCACHI2CUT(30,''))" +StdLooseJpsi2MuMu.MotherCut = "(VFASPF(VCHI2) < 25.)" + +## configure Data-On-Demand service +locations = updateDoD ( StdLooseJpsi2MuMu ) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseJpsi2ee.py b/Phys/CommonParticles/python/CommonParticles/StdLooseJpsi2ee.py new file mode 100644 index 0000000000000000000000000000000000000000..1d467a22b86cbdc8c5079649b53aebe60a20f196 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseJpsi2ee.py @@ -0,0 +1,47 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseJpsi2ee.py,v 1.6 2010-05-21 09:53:29 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseJpsi2ee.py +# configuration file for 'Standard Loose Jpsi2ee' +# @author Patrick Koppenburg +# @date 2009-02-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose Jpsi2ee'. Lieftime unbiased. +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.6 $" +# ============================================================================= +__all__ = ( + 'StdLooseJpsi2ee' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm +StdLooseJpsi2ee = CombineParticles ( 'StdLooseJpsi2ee' ) +StdLooseJpsi2ee.Inputs = [ "Phys/StdAllLooseElectrons/Particles" ] +StdLooseJpsi2ee.DecayDescriptor = "J/psi(1S) -> e+ e-" + +StdLooseJpsi2ee.CombinationCut = "(AM>2000*MeV) & (AM<3800*MeV) & (ADOCACHI2CUT(30,''))" +StdLooseJpsi2ee.MotherCut = "(VFASPF(VCHI2)<25)" + +## configure Data-On-Demand service +locations = updateDoD ( StdLooseJpsi2ee ) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseKaons.py b/Phys/CommonParticles/python/CommonParticles/StdLooseKaons.py new file mode 100755 index 0000000000000000000000000000000000000000..bc117fe48331d398b9c48bef025dbaf8cc545c54 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseKaons.py @@ -0,0 +1,46 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdLooseKaons.py +# configuration file for 'Standard Loose Kaons' +# @author Patrick Koppenburg +# @date 2011-07-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose Kaons' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdLooseKaons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import FilterDesktop + + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = FilterDesktop( 'StdLooseKaons', + Inputs = ["Phys/StdAllLooseKaons/Particles"], + Code = defaultCuts() ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseKaons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseKs.py b/Phys/CommonParticles/python/CommonParticles/StdLooseKs.py new file mode 100755 index 0000000000000000000000000000000000000000..b3de148d7db58baace76372f5e1d06f1368c1c8d --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseKs.py @@ -0,0 +1,96 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseKs.py,v 1.5 2009-05-26 13:48:13 gcowan Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseKs.py +# configuration file for 'Standard Loose ' +# @author Patrick Koppenburg +# @date 2009-02-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose Ks' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdLooseKsLL' , + 'StdLooseKsDD' , + 'StdLooseKsLD' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles, FilterDesktop +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm +StdLooseKsLL = CombineParticles ( 'StdLooseKsLL' ) + +StdLooseKsLL.Inputs = [ "Phys/StdLoosePions/Particles" ] +StdLooseKsLL.DecayDescriptor = "KS0 -> pi+ pi-" + +StdLooseKsLL.DaughtersCuts = { "pi+" : "(P > 2.*GeV) & (MIPCHI2DV(PRIMARY) > 9.)" } +StdLooseKsLL.CombinationCut = "(ADAMASS('KS0') < 50.*MeV) & (ADOCACHI2CUT(25, '')) " +StdLooseKsLL.MotherCut = "(ADMASS('KS0') < 35.*MeV) & (VFASPF(VCHI2) < 25.)" + +## configure Data-On-Demand service +locations = updateDoD ( StdLooseKsLL ) + +## ============================================================================ +# configuration file for 'Standard Loose Downstream ' +# @author Greig Cowan +# @date 2009-04-27 +# ============================================================================= +StdLooseKsDD = CombineParticles ( 'StdLooseKsDD' ) +DDPionCuts = "(P > 2.*GeV) & (MIPCHI2DV(PRIMARY) > 4.)" +StdLooseKsDD.Inputs = [ "Phys/StdNoPIDsDownPions/Particles" ] +StdLooseKsDD.DecayDescriptor = "KS0 -> pi+ pi-" + +StdLooseKsDD.DaughtersCuts = { "pi+" : DDPionCuts } +StdLooseKsDD.CombinationCut = "(ADAMASS('KS0') < 80.*MeV) & (ADOCACHI2CUT(25, ''))" +StdLooseKsDD.MotherCut = "(ADMASS('KS0') < 64.*MeV) & (VFASPF(VCHI2) < 25.)" + +## configure Data-On-Demand service +locations.update( updateDoD ( StdLooseKsDD )) + +## ============================================================================ +# configuration file for 'Standard Loose Long-Downstream ' +# Please be aware that this is mostly background +# @author Patrick Koppenburg +# @date 2012-01-26 +# ============================================================================= +# The one with a long pi+ +StdLooseKsLD_PosLong = StdLooseKsDD.clone( 'StdLooseKsLD_PosLong' ) + +StdLooseKsLD_PosLong.Inputs = [ "Phys/StdNoPIDsDownPions/Particles", + "Phys/StdLoosePions/Particles" ] +StdLooseKsLD_PosLong.DaughtersCuts = { "pi+" : "(ISLONG) & "+DDPionCuts, + "pi-" : "(ISDOWN) & "+DDPionCuts } + +# The one with a long pi- +StdLooseKsLD_NegLong = StdLooseKsLD_PosLong.clone( 'StdLooseKsLD_NegLong') +StdLooseKsLD_NegLong.DaughtersCuts = { "pi-" : "(ISLONG) & "+DDPionCuts, + "pi+" : "(ISDOWN) & "+DDPionCuts } +# The combination of them +StdLooseKsLD = FilterDesktop("StdLooseKsLD", Code = "ALL") +StdLooseKsLD.Inputs = [ "Phys/StdLooseKsLD_PosLong/Particles", + "Phys/StdLooseKsLD_NegLong/Particles" ] + +## configure Data-On-Demand service +locations.update( updateDoD ( StdLooseKsLD_PosLong )) +locations.update( updateDoD ( StdLooseKsLD_NegLong )) +locations.update( updateDoD ( StdLooseKsLD )) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseKstar.py b/Phys/CommonParticles/python/CommonParticles/StdLooseKstar.py new file mode 100755 index 0000000000000000000000000000000000000000..818343bfb9c12668073ad397ba08dea2f41ae055 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseKstar.py @@ -0,0 +1,45 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseKstar.py,v 1.4 2009-06-28 12:02:54 gcowan Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseKstar.py +# configuration file for 'Standard Loose Kstar' +# (based on lifetime unbiased JpsiK* requirements) +# @author Greig Cowan +# @date 2009-06-23 +# ============================================================================= +""" +Configuration file for 'Standard Loose Kstar'. Lieftime unbiased. +""" +__author__ = "Greig Cowan" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdLooseKstar2Kpi' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm +StdLooseKstar2Kpi = CombineParticles ("StdLooseKstar2Kpi") +StdLooseKstar2Kpi.Inputs = ["Phys/StdAllLooseKaons/Particles", + "Phys/StdAllLoosePions/Particles"] +StdLooseKstar2Kpi.DecayDescriptor = "[K*(892)0 -> K+ pi-]cc" +StdLooseKstar2Kpi.CombinationCut = "(APT > 500.*MeV) & (ADAMASS('K*(892)0') < 300.*MeV) & (ADOCACHI2CUT(30, ''))" +StdLooseKstar2Kpi.MotherCut = "(VFASPF(VCHI2) < 25.)" + +## configure Data-On-Demand service +locations = updateDoD ( StdLooseKstar2Kpi ) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseLambda.py b/Phys/CommonParticles/python/CommonParticles/StdLooseLambda.py new file mode 100755 index 0000000000000000000000000000000000000000..f00d1eaeb077519a2d0398a93cad1b06e55acb1c --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseLambda.py @@ -0,0 +1,115 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseLambda.py,v 1.2 2010-08-24 17:48:00 yamhis Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseLambda.py +# configuration file for 'Standard Loose ' +# @author Patrick Koppenburg +# @date 2009-02-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose Lambda' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.2 $" +# ============================================================================= +__all__ = ( + 'StdLooseLambdaLL' , + 'StdLooseLambdaDD' , + 'StdLooseLambdaLD' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles, FilterDesktop +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm +StdLooseLambdaLL = CombineParticles ( 'StdLooseLambdaLL' ) + +StdLooseLambdaLL.Inputs = [ "Phys/StdLoosePions/Particles", + "Phys/StdLooseProtons/Particles" ] +StdLooseLambdaLL.DecayDescriptor = "[Lambda0 -> p+ pi-]cc" + +StdLooseLambdaLL.DaughtersCuts = { + "pi+" : "(P>2*GeV) & (MIPCHI2DV(PRIMARY)>9)", + "p+" : "(P>2*GeV) & (MIPCHI2DV(PRIMARY)>9)" + } + +StdLooseLambdaLL.CombinationCut = "(ADAMASS('Lambda0')<50*MeV) & (ADOCACHI2CUT(30, ''))" +StdLooseLambdaLL.MotherCut = "(ADMASS('Lambda0')<35*MeV) & (VFASPF(VCHI2)<30)" + +## configure Data-On-Demand service +locations = updateDoD ( StdLooseLambdaLL ) + +## ============================================================================ +# configuration file for 'Standard Loose Downstream ' +# @author Greig Cowan +# @date 2009-04-27 +# ============================================================================= +StdLooseLambdaDD = StdLooseLambdaLL.clone( 'StdLooseLambdaDD' ) + +StdLooseLambdaDD.Inputs = [ "Phys/StdNoPIDsDownPions/Particles", + "Phys/StdNoPIDsDownProtons/Particles" ] + +StdLooseLambdaDD.DaughtersCuts = { + "pi+" : "(P>2*GeV) & (MIPCHI2DV(PRIMARY)>4)", + "p+" : "(P>2*GeV) & (MIPCHI2DV(PRIMARY)>4)" + } + +StdLooseLambdaDD.CombinationCut = "(ADAMASS('Lambda0')<80*MeV) & (ADOCACHI2CUT(25, ''))" +StdLooseLambdaDD.MotherCut = "(ADMASS('Lambda0')<64*MeV) & (VFASPF(VCHI2)<25)" + +## configure Data-On-Demand service +locations.update( updateDoD ( StdLooseLambdaDD ) ) + +## ============================================================================ +# configuration file for 'Standard Loose Long-Downstream ' +# @author Daniel O'Hanlon +# @date 2014-08-18 +# ============================================================================= + +# p +/- long + +StdLooseLambdaLDpLong = StdLooseLambdaDD.clone( 'StdLooseLambdaLDpLong' ) + +StdLooseLambdaLDpLong.Inputs = [ "Phys/StdLooseProtons/Particles", + "Phys/StdNoPIDsDownPions/Particles"] + +StdLooseLambdaLDpLong.DaughtersCuts = { "p+" : "(ISLONG) & (P>2*GeV) & (MIPCHI2DV(PRIMARY)>9)", + "pi-" : "(ISDOWN) & (P>2*GeV) & (MIPCHI2DV(PRIMARY)>4)"} + +# p +/- down + +StdLooseLambdaLDpDown = StdLooseLambdaDD.clone( 'StdLooseLambdaLDpDown' ) + +StdLooseLambdaLDpDown.Inputs = [ "Phys/StdNoPIDsDownProtons/Particles", + "Phys/StdLoosePions/Particles" ] + +StdLooseLambdaLDpDown.DaughtersCuts = { "p+" : "(ISDOWN) & (P>2*GeV) & (MIPCHI2DV(PRIMARY)>4)", + "pi-" : "(ISLONG) & (P>2*GeV) & (MIPCHI2DV(PRIMARY)>9)"} + +# Combination + +StdLooseLambdaLD = FilterDesktop("StdLooseLambdaLD", Code = "ALL") + +StdLooseLambdaLD.Inputs = [ "Phys/StdLooseLambdaLDpLong/Particles", + "Phys/StdLooseLambdaLDpDown/Particles" ] + +locations.update( updateDoD (StdLooseLambdaLDpLong) ) +locations.update( updateDoD (StdLooseLambdaLDpDown) ) + +locations.update( updateDoD (StdLooseLambdaLD) ) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseLambdac.py b/Phys/CommonParticles/python/CommonParticles/StdLooseLambdac.py new file mode 100755 index 0000000000000000000000000000000000000000..2f3ca2bc8b509b0ff1a48e779d28f93f40e49680 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseLambdac.py @@ -0,0 +1,48 @@ +""" +Configuration file for 'Standard Loose Lambda_c+' +""" +__author__ = "Liming Zhang" +__date__ = '09/12/2009' +__version__ = "version $Revision: 1.1 $" +# ============================================================================= +__all__ = ( + 'StdLooseLambdac2PKPi' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm +StdLooseLambdac2PKPi = CombineParticles ( 'StdLooseLambdac2PKPi' ) + +StdLooseLambdac2PKPi.Inputs = [ "Phys/StdLooseKaons/Particles", + "Phys/StdLoosePions/Particles", + "Phys/StdLooseProtons/Particles" ] + +StdLooseLambdac2PKPi.DecayDescriptor = "[Lambda_c+ -> K- p+ pi+]cc" +StdLooseLambdac2PKPi.DaughtersCuts = { + "K+" : "(P > 2*GeV)", + "pi+" : "(P > 2*GeV)", + "p+" : "(P > 2*GeV)" + } + +StdLooseLambdac2PKPi.CombinationCut = "((ADAMASS('Lambda_c+')<110*MeV) & (APT>1.*GeV) & (ADOCAMAX('')<0.5*mm))" +StdLooseLambdac2PKPi.MotherCut = "((VFASPF(VCHI2) < 30) & (ADMASS('Lambda_c+')<100*MeV) & (BPVVDCHI2>36) & (BPVDIRA>0.98))" + +## configure Data-On-Demand service +locations = updateDoD ( StdLooseLambdac2PKPi ) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseMergedPi0.py b/Phys/CommonParticles/python/CommonParticles/StdLooseMergedPi0.py new file mode 100755 index 0000000000000000000000000000000000000000..e32f08f11f59a0bec2480450e7a7b19e8a975da2 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseMergedPi0.py @@ -0,0 +1,44 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseMergedPi0.py,v 1.3 2009-04-22 14:17:39 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseMergedPi0.py +# configuration file for 'Standard Loose Pions' +# @author Patrick Koppenburg +# @date 2009-02-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose MergedPi0' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.3 $" +# ============================================================================= +__all__ = ( + 'StdLooseMergedPi0' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import MergedPi0Maker +from GaudiKernel.SystemOfUnits import MeV +from CommonParticles.Utils import * + +## create the algorithm +algorithm = MergedPi0Maker ( 'StdLooseMergedPi0' , + DecayDescriptor = 'Pi0' , + MassWindow = 60.* MeV) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseMergedPi0 = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseMuons.py b/Phys/CommonParticles/python/CommonParticles/StdLooseMuons.py new file mode 100755 index 0000000000000000000000000000000000000000..43a98b20776668b2135b892a373d6292bae26c23 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseMuons.py @@ -0,0 +1,47 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseMuons.py,v 1.4 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseMuons.py +# configuration file for 'Standard Loose Muons' +# @author Patrick Koppenburg +# @date 2011-07-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose Muons wioth loose cuts' +""" +__author__ = "Patrick Koppenburg " +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdLooseMuons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import FilterDesktop +from CommonParticles.Utils import * + +## create the algorithm +algorithm = FilterDesktop( 'StdLooseMuons', + Inputs = ["Phys/StdAllLooseMuons/Particles"], + Code = defaultCuts() ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseMuons = algorithm + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLoosePhi.py b/Phys/CommonParticles/python/CommonParticles/StdLoosePhi.py new file mode 100755 index 0000000000000000000000000000000000000000..3ffb05c742553c4eb97b4087947e1ef93d99c695 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLoosePhi.py @@ -0,0 +1,42 @@ +##!/usr/bin/env python +# ============================================================================= +# $Id: StdLoosePhi.py,v 1.6 2009-06-29 09:16:49 gcowan Exp $ +# ============================================================================= +## @file CommonParticles/StdLoosePhi2KK.py +# configuration file for 'Standard Loose Phi -> KK' +# @author Greig Cowan +# @date 2009-06-23 +# ============================================================================= +""" +Configuration file for 'Standard Loose Phi2KK'. Lieftime unbiased. +""" +__author__ = "Greig Cowan" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.6 $" +# ============================================================================= +__all__ = ( + 'StdLoosePhi2KK' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm +StdLoosePhi2KK = CombineParticles("StdLoosePhi2KK") +StdLoosePhi2KK.Inputs = ["Phys/StdAllLooseKaons/Particles"] +StdLoosePhi2KK.DecayDescriptor = "phi(1020) -> K+ K-" +StdLoosePhi2KK.CombinationCut = "(AM < 1100.*MeV) & (ADOCACHI2CUT(30, ''))" +StdLoosePhi2KK.MotherCut = "(VFASPF(VCHI2) < 25.0)" + +## configure Data-On-Demand service +locations = updateDoD ( StdLoosePhi2KK ) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) diff --git a/Phys/CommonParticles/python/CommonParticles/StdLoosePhotons.py b/Phys/CommonParticles/python/CommonParticles/StdLoosePhotons.py new file mode 100755 index 0000000000000000000000000000000000000000..d511da688fa49e7a6247f752fc14b164227e4fb1 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLoosePhotons.py @@ -0,0 +1,53 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLoosePhotons.py,v 1.2 2009-04-22 14:17:39 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StdLoosePhotons.py +# configuration file for 'Standard Loose Photons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Loose Photons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.2 $" +# ============================================================================= +__all__ = ( + 'StdLoosePhotons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import PhotonMakerAlg +from Configurables import PhotonMaker +from GaudiKernel.SystemOfUnits import MeV +from CommonParticles.Utils import * + +## create the algorithm +algorithm = PhotonMakerAlg ( 'StdLoosePhotons' , + DecayDescriptor = 'Gamma' ) + +algorithm.addTool ( PhotonMaker , name = 'PhotonMaker' ) +photon = algorithm.PhotonMaker +photon.ConvertedPhotons = False +photon.UnconvertedPhotons = True +photon.PtCut = 200 * MeV + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLoosePhotons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLoosePions.py b/Phys/CommonParticles/python/CommonParticles/StdLoosePions.py new file mode 100755 index 0000000000000000000000000000000000000000..a4b77c20c6e41785e3959aab7d8c49d9240b5699 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLoosePions.py @@ -0,0 +1,46 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLoosePions.py,v 1.4 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdLoosePions.py +# configuration file for 'Standard Loose Pions' +# @author Patrick Koppenburg +# @date 2011-07-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose Pions wioth loose cuts' +""" +__author__ = "Patrick Koppenburg " +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdLoosePions' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import FilterDesktop +from CommonParticles.Utils import * + +## create the algorithm +algorithm = FilterDesktop( 'StdLoosePions', + Inputs = ["Phys/StdAllLoosePions/Particles"], + Code = defaultCuts() ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLoosePions = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseProtons.py b/Phys/CommonParticles/python/CommonParticles/StdLooseProtons.py new file mode 100755 index 0000000000000000000000000000000000000000..d7e252ebf5846a1a7a609d922e3c63d13cfd5bb6 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseProtons.py @@ -0,0 +1,44 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdLooseProtons.py +# configuration file for 'Standard Loose Protons' +# @author Patrick Koppenburg +# @date 2011-07-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose Protons with loose cuts' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdLooseProtons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import FilterDesktop +from CommonParticles.Utils import * + +## create the algorithm +algorithm = FilterDesktop( 'StdLooseProtons', + Inputs = ["Phys/StdAllLooseProtons/Particles"], + Code = defaultCuts() ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdLooseProtons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseResolvedEta.py b/Phys/CommonParticles/python/CommonParticles/StdLooseResolvedEta.py new file mode 100755 index 0000000000000000000000000000000000000000..af92a33ac4b4c5336e090763c3c4e2aa2293b9b3 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseResolvedEta.py @@ -0,0 +1,68 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseResolvedEta.py,v 1.1 2010-01-06 11:04:12 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseResolvedEta.py +# configuration file for 'Standard Loose Resolved Etas' +# @author Patrick Koppenburg +# @date 2009-02-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose ResolvedEta' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= +__all__ = ( + 'StdLooseEta2gg' , + 'StdLooseResolvedEta' , + 'locations' + ) +# ============================================================================= +from CommonParticles.Utils import * +from GaudiKernel.SystemOfUnits import MeV + +# =========================================================== +## create the algorithm, eta in wide mass-window +from Configurables import ResolvedPi0Maker, PhotonMaker +wide = ResolvedPi0Maker ( + 'StdLooseEta2gg' , + DecayDescriptor = 'Eta' , + MassWindow = 105 * MeV , + Particle = 'eta' ) + +wide.addTool(PhotonMaker) +wide.PhotonMaker.PtCut = 200 * MeV + +## configure Data-On-Demand service +locations = updateDoD ( wide ) +## finally: define the symbol +StdLooseEta2gg = wide + +# ============================================================================ +## filter the ``standard''-mass window +from Configurables import FilterDesktop +fltr = FilterDesktop ( + 'StdLooseResolvedEta' , + Code = "ADMASS('eta') < 50 * MeV " , + Inputs = [ + 'Phys/%s/Particles' % wide.name() + ] + ) + +## finally: define the symbol +StdLooseResolvedEta = fltr +## configure Data-On-Demand service +locations.update ( updateDoD ( fltr ) ) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseResolvedPi0.py b/Phys/CommonParticles/python/CommonParticles/StdLooseResolvedPi0.py new file mode 100755 index 0000000000000000000000000000000000000000..92c52efc85e82c68d4efa268ae031bca25962024 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseResolvedPi0.py @@ -0,0 +1,59 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseResolvedPi0.py,v 1.3 2009-04-22 14:17:39 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseResolvedPi0.py +# configuration file for 'Standard Loose Resolved Pi0s' +# @author Patrick Koppenburg +# @date 2009-02-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose ResolvedPi0' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.3 $" +# ============================================================================= +__all__ = ( + 'StdLoosePi02gg' , + 'StdLooseResolvedPi0' , + 'locations' + ) +# ============================================================================= +from GaudiKernel.SystemOfUnits import MeV +from CommonParticles.Utils import * + +## create the algorithm +from Configurables import ResolvedPi0Maker, PhotonMaker +wide = ResolvedPi0Maker ( 'StdLoosePi02gg' , + DecayDescriptor = 'Pi0' , + MassWindow = 60.* MeV ) +wide.addTool(PhotonMaker) +wide.PhotonMaker.PtCut = 200.*MeV + +## configure Data-On-Demand service +locations = updateDoD ( wide ) +## define the symbol: +StdLoosePi02gg = wide + +# ============================================================================ +## filter the ``standard''-mass window +from Configurables import FilterDesktop +fltr = FilterDesktop ( + 'StdLooseResolvedPi0' , + Code = "ADMASS('pi0') < 30 * MeV " , + Inputs = [ + 'Phys/%s/Particles' % wide.name() + ] + ) +## configure Data-On-Demand service +locations.update ( updateDoD ( fltr ) ) +## finally: define the symbol +StdLooseResolvedPi0 = fltr + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseRho0.py b/Phys/CommonParticles/python/CommonParticles/StdLooseRho0.py new file mode 100755 index 0000000000000000000000000000000000000000..a052e1640a6530a8c5b206e405f236c953f33d8d --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseRho0.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseRho0.py,v 1.3 2009-04-22 14:17:39 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseRho0.py +# configuration file for 'Standard Loose Rho0' +# @author Patrick Koppenburg +# @date 2009-02-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose ' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.3 $" +# ============================================================================= +__all__ = ( + 'StdLooseRho0' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm +StdLooseRho0 = CombineParticles ( 'StdLooseRho0' ) + +StdLooseRho0.Inputs = [ "Phys/StdLoosePions/Particles" ] +StdLooseRho0.DecayDescriptor = "rho(770)0 -> pi+ pi-" +StdLooseRho0.CombinationCut = "(ADAMASS('rho(770)0')<100*MeV)& (ADOCACHI2CUT(15, ''))" +StdLooseRho0.MotherCut = "(BPVVDZ>0) & (VFASPF(VCHI2)<9) & (BPVDIRA>0.95) & (BPVVDCHI2>25)" + +## configure Data-On-Demand service +locations = updateDoD ( StdLooseRho0 ) + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdLooseRhoPlus.py b/Phys/CommonParticles/python/CommonParticles/StdLooseRhoPlus.py new file mode 100755 index 0000000000000000000000000000000000000000..d902d5ea641fcd2bdd9bbfad6115f6b552f96bb9 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdLooseRhoPlus.py @@ -0,0 +1,57 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseRhoPlus.py,v 1.3 2009-04-22 14:17:39 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseRhoPlus.py +# configuration file for 'Standard Loose RhoPlus' +# @author Patrick Koppenburg +# @date 2009-02-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose RhoPlus' +""" +__author__ = "Yasmine Amhis" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.3 $" +# ============================================================================= +__all__ = ( + 'StdLooseRhoPlus' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm +StdLooseRhoPlus = CombineParticles ( 'StdLooseRhoPlus' ) + +StdLooseRhoPlus = CombineParticles("StdLooseRhoPlus") +StdLooseRhoPlus.Inputs = [ "Phys/StdLooseMergedPi0/Particles", + "Phys/StdLooseResolvedPi0/Particles", + "Phys/StdLoosePions/Particles", + "Phys/StdLooseKaons/Particles"] +StdLooseRhoPlus.DecayDescriptor = "[rho(770)- -> pi- pi0]cc" +StdLooseRhoPlus.DaughtersCuts = {"pi+" : "ALL", "K+" : "ALL", + "pi0" : "(PT>1000*MeV) & (P> 1500*MeV)"} +#Note +#The cut of 550 MeV around the K*(892)+ is NOT a typo, is motivated +#by the requirements of the B2DVec HLT2 selection +StdLooseRhoPlus.CombinationCut = "(ADAMASS('K*(892)+')<550*MeV)" +StdLooseRhoPlus.MotherCut = "ALL" + +## configure Data-On-Demand service +locations = updateDoD ( StdLooseRhoPlus ) + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdMassConstrainedJpsi2MuMu.py b/Phys/CommonParticles/python/CommonParticles/StdMassConstrainedJpsi2MuMu.py new file mode 100644 index 0000000000000000000000000000000000000000..880cde9ad82240f17f030c44be124fa96302da33 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdMassConstrainedJpsi2MuMu.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdMassConstrainedJpsi2MuMu.py,v 1.2 2010-09-05 20:36:44 gcowan Exp $ +# ============================================================================= +## @file CommonParticles/StdMassConstrainedJpsi2MuMu.py +# configuration file for 'Standard mass constrained Jpsi2MuMu' +# @author Roel Aaij +# @date 2010-08-31 +# ============================================================================= +""" +Configuration file for 'Standard mass constrained Jpsi2MuMu' +""" +__author__ = "Roel Aaij" +__version__ = "" +# ============================================================================= +__all__ = ( + 'StdMassConstrainedJpsi2MuMu' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +## ============================================================================ +StdMassConstrainedJpsi2MuMu = CombineParticles("StdMassConstrainedJpsi2MuMu") +StdMassConstrainedJpsi2MuMu.Inputs = ["Phys/StdAllLooseMuons/Particles"] +StdMassConstrainedJpsi2MuMu.DecayDescriptor = "J/psi(1S) -> mu+ mu-" +StdMassConstrainedJpsi2MuMu.DaughtersCuts = { 'mu+' : '(PIDmu > 0) & (PT > 0.5*GeV)' } +StdMassConstrainedJpsi2MuMu.CombinationCut = "(ADAMASS('J/psi(1S)') < 150.*MeV) & (ADOCACHI2CUT(20, ''))" +StdMassConstrainedJpsi2MuMu.MotherCut = "(VFASPF(VCHI2) < 16.) & (MFIT)" + +## configure Data-On-Demand service +locations = updateDoD ( StdMassConstrainedJpsi2MuMu ) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) diff --git a/Phys/CommonParticles/python/CommonParticles/StdNoPIDsDownElectrons.py b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsDownElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..b73ad39ff65f21f9c6c389be51958a0a268297f9 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsDownElectrons.py @@ -0,0 +1,50 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsDownElectrons.py,v 1.1 2010-08-11 12:43:05 ukerzel Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsElectrons.py +# configuration file for 'Standard NoPIDs Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Electrons with downstram tracks' +""" +__author__ = "Ulrich Kerzel Ulrich.Kerzel@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= +__all__ = ( + 'StdNoPIDsDownElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = NoPIDsParticleMaker ( 'StdNoPIDsDownElectrons' , + DecayDescriptor = 'Electron' , + Particle = 'electron' ) + +# configure the track selector +selector = trackSelector ( algorithm , trackTypes = [ "Downstream" ]) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdNoPIDsDownElectrons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdNoPIDsDownKaons.py b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsDownKaons.py new file mode 100644 index 0000000000000000000000000000000000000000..56197380f80d2b6f9e9aa6d8a9c2248d479c3ebf --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsDownKaons.py @@ -0,0 +1,52 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsDownKaons.py,v 1.4 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsDownKaons.py +# configuration file for 'Standard NoPIDs Downstream Kaons' +# @author Olli LUPTON oliver.lupton@cern.ch +# @date 2016-11-03 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Downstream Kaons' +""" +__author__ = "Olli Lupton <oliver.lupton@cern.ch>" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdNoPIDsDownKaons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = NoPIDsParticleMaker ( 'StdNoPIDsDownKaons' , + DecayDescriptor = 'Kaon' , + Particle = 'kaon' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Downstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdNoPIDsDownKaons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdNoPIDsDownPions.py b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsDownPions.py new file mode 100644 index 0000000000000000000000000000000000000000..e4678ede764a3fb7111e22ca235a3fdc868a736b --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsDownPions.py @@ -0,0 +1,52 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsDownPions.py,v 1.4 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsDownPions.py +# configuration file for 'Standard NoPIDs Downstream Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Downstream Pions' +""" +__author__ = "Alessio Sarti <Alessio.Sarti@lnf.infn.it>" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdNoPIDsDownPions' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = NoPIDsParticleMaker ( 'StdNoPIDsDownPions' , + DecayDescriptor = 'Pion' , + Particle = 'pion' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Downstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdNoPIDsDownPions = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdNoPIDsDownProtons.py b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsDownProtons.py new file mode 100644 index 0000000000000000000000000000000000000000..b2bbdc2ca7271cab0e2814eeabaad38a84851e96 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsDownProtons.py @@ -0,0 +1,52 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsDownProtons.py,v 1.4 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsDownProtons.py +# configuration file for 'Standard NoPIDs Downstream Protons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Downstream Protons' +""" +__author__ = "Alessio Sarti <Alessio.Sarti@lnf.infn.it>" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdNoPIDsDownProtons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = NoPIDsParticleMaker ( 'StdNoPIDsDownProtons' , + DecayDescriptor = 'Proton' , + Particle = 'proton') + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Downstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdNoPIDsDownProtons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdNoPIDsElectrons.py b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..8ae7bb8f0881a4b4a624513a91d39fdf8b3f33ad --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsElectrons.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsElectrons.py,v 1.4 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsElectrons.py +# configuration file for 'Standard NoPIDs Electrons' +# @author Patrick Koppenburg +# @date 2011-07-18 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Electrons with loose cuts' +""" +__author__ = "Patrick Koppenburg " +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdNoPIDsElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import FilterDesktop + + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = FilterDesktop( 'StdNoPIDsElectrons', + Inputs = ["Phys/StdAllNoPIDsElectrons/Particles"], + Code = defaultCuts() ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdNoPIDsElectrons = algorithm + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdNoPIDsKaons.py b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsKaons.py new file mode 100755 index 0000000000000000000000000000000000000000..89df00c1b31362e4a2bc270bc924d42f7dd8ba4c --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsKaons.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsKaons.py,v 1.4 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsKaons.py +# configuration file for 'Standard NoPIDs Kaons' +# @author Patrick Koppenburg +# @date 2011-07-18 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Kaons with loose cuts' +""" +__author__ = "Patrick Koppenburg " +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdNoPIDsKaons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import FilterDesktop + + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = FilterDesktop( 'StdNoPIDsKaons', + Inputs = ["Phys/StdAllNoPIDsKaons/Particles"], + Code = defaultCuts() ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdNoPIDsKaons = algorithm + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdNoPIDsMuons.py b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsMuons.py new file mode 100755 index 0000000000000000000000000000000000000000..ce8ff9a6175799b9bc98fdb03a8f6c25b4c8961f --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsMuons.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsMuons.py,v 1.4 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsMuons.py +# configuration file for 'Standard NoPIDs Muons' +# @author Patrick Koppenburg +# @date 2011-07-18 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Muons with loose cuts' +""" +__author__ = "Patrick Koppenburg " +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdNoPIDsMuons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import FilterDesktop + + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = FilterDesktop( 'StdNoPIDsMuons', + Inputs = ["Phys/StdAllNoPIDsMuons/Particles"], + Code = defaultCuts() ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdNoPIDsMuons = algorithm + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdNoPIDsPions.py b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsPions.py new file mode 100755 index 0000000000000000000000000000000000000000..18fa2f5c04fb534d386a8b36e35f8e601cac6711 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsPions.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsPions.py,v 1.4 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsPions.py +# configuration file for 'Standard NoPIDs Pions' +# @author Patrick Koppenburg +# @date 2011-07-18 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Pions with loose cuts' +""" +__author__ = "Patrick Koppenburg " +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdNoPIDsPions' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import FilterDesktop + + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = FilterDesktop( 'StdNoPIDsPions', + Inputs = ["Phys/StdAllNoPIDsPions/Particles"], + Code = defaultCuts() ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdNoPIDsPions = algorithm + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdNoPIDsProtons.py b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsProtons.py new file mode 100755 index 0000000000000000000000000000000000000000..553fe37881c387595d5d1aa76d5cac037fdefcad --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsProtons.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsProtons.py,v 1.4 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsProtons.py +# configuration file for 'Standard NoPIDs Protons' +# @author Patrick Koppenburg +# @date 2011-07-18 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Protons wioth loose cuts' +""" +__author__ = "Patrick Koppenburg " +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdNoPIDsProtons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import FilterDesktop + + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = FilterDesktop( 'StdNoPIDsProtons', + Inputs = ["Phys/StdAllNoPIDsProtons/Particles"], + Code = defaultCuts() ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdNoPIDsProtons = algorithm + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdNoPIDsUpElectrons.py b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsUpElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..1c6d26c29a893b8a16641c3fdaa14ef4a3eb2f82 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsUpElectrons.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsUpElectrons.py,v 1.1 2010-08-11 12:43:05 ukerzel Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsElectrons.py +# configuration file for 'Standard NoPIDs Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Electrons with Upstream tracks' +""" +__author__ = "Ulrich Kerzel Ulrich.Kerzel@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= +__all__ = ( + 'StdNoPIDsUpElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = NoPIDsParticleMaker ( 'StdNoPIDsUpElectrons' , + DecayDescriptor = 'Electron' , Particle = 'electron' ) + +# configure the track selector +selector = trackSelector ( algorithm, trackTypes = [ "Upstream" ] ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdNoPIDsUpElectrons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdNoPIDsUpKaons.py b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsUpKaons.py new file mode 100755 index 0000000000000000000000000000000000000000..96a73ab4bb6bd8e83a6d0635ad3bd9761438c9c3 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsUpKaons.py @@ -0,0 +1,47 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdNoPIDsUpKaons.py +# configuration file for No PID Upstream Kaons +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for No PID Upstream Kaons +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdNoPIDsUpKaons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker +from CommonParticles.Utils import * + +## create the algorithm +algorithm = NoPIDsParticleMaker ( 'StdNoPIDsUpKaons', + DecayDescriptor = 'Kaon' , + Particle = 'kaon' ) + +# configure the track selector +selector = trackSelector ( algorithm, trackTypes = ['Upstream'] ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdNoPIDsUpKaons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdNoPIDsUpPions.py b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsUpPions.py new file mode 100644 index 0000000000000000000000000000000000000000..e64df24bb4e6c584f5c6a468332657caa0956c6c --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsUpPions.py @@ -0,0 +1,50 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsUpPions.py,v 1.1 2009-10-08 12:37:06 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsUpPions.py +# configuration file for 'Standard NoPIDs Upstream Pions' +# @author Patrick Koppenburg patrick.koppenburg@cern.ch +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Upstream Pions' +""" +__author__ = "Patrick Koppenburg patrick.koppenburg@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= +__all__ = ( + 'StdNoPIDsUpPions' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = NoPIDsParticleMaker ( 'StdNoPIDsUpPions' , + DecayDescriptor = 'Pion' , + Particle = 'pion' ) + +# configure the track selector +selector = trackSelector ( algorithm, trackTypes = ['Upstream'] ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdNoPIDsUpPions = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdNoPIDsVeloElectrons.py b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsVeloElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..5d7e708ef6a987e9afc9b596b7260346f9aa26e5 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdNoPIDsVeloElectrons.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdNoPIDsVeloElectrons.py,v 1.1 2010-08-11 12:43:05 ukerzel Exp $ +# ============================================================================= +## @file CommonParticles/StdNoPIDsElectrons.py +# configuration file for 'Standard NoPIDs Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Electrons with VELO tracks' +""" +__author__ = "Ulrich Kerzel Ulrich.Kerzel@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= +__all__ = ( + 'StdNoPIDsElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import NoPIDsParticleMaker + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = NoPIDsParticleMaker ( 'StdNoPIDsVeloElectrons' , + DecayDescriptor = 'Electron' , Particle = 'electron' ) + +# configure the track selector +selector = trackSelector ( algorithm,trackTypes = [ "Velo" ] ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdNoPIDsVeloElectrons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdParticleFlow.py b/Phys/CommonParticles/python/CommonParticles/StdParticleFlow.py new file mode 100644 index 0000000000000000000000000000000000000000..ca29c813c58dd520914ee031c60c6f02baaa40d7 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdParticleFlow.py @@ -0,0 +1,45 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdAllNoPIDsPions.py,v 1.5 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdAllNoPIDsPions.py +# configuration file for 'Standard NoPIDs Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard NoPIDs Pions' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdParticleFlow' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from CommonParticles.Utils import * + + +from JetAccessories.ParticleFlow_Config import ParticleFlowConf +algorithm = ParticleFlowConf("PF" , _MCCor = False ).PFSeq + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + + +## finally: define the symbol +StdParticleFlow = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightANNDownElectrons.py b/Phys/CommonParticles/python/CommonParticles/StdTightANNDownElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..3e55ccc3a179c7bd1c3d2c72a6cff68d84489a23 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightANNDownElectrons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdTightANNDownElectrons.py +# configuration file for 'Standard Tight ANN Downstream Electrons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Tight Downstream Electrons using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdTightANNDownElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightANNDownElectrons' , + Particle = 'electron' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Downstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter , 'Electron' ) +#fltr.Selection = [ "RequiresDet='CALO' ProbNNe>'0.2'" ] +fltr.Selection = [ "RequiresDet='RICHORCALO' ProbNNe>'0.07'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightANNDownElectrons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightANNDownKaons.py b/Phys/CommonParticles/python/CommonParticles/StdTightANNDownKaons.py new file mode 100755 index 0000000000000000000000000000000000000000..10b4c514ab4b8c06692a57c8f50760c2bc7bdf1c --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightANNDownKaons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdTightANNDownKaons.py +# configuration file for 'Standard Tight ANN Downstream Kaons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Tight Downstream Kaons using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdTightANNDownKaons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightANNDownKaons' , + Particle = 'kaon' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Downstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Kaon' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNk>'0.2'" ] +fltr.Selection = [ "ProbNNk>'0.15'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightANNDownKaons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightANNDownMuons.py b/Phys/CommonParticles/python/CommonParticles/StdTightANNDownMuons.py new file mode 100755 index 0000000000000000000000000000000000000000..0b9196c96edc1d093b3fc1d860134b8ba2c267ee --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightANNDownMuons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdTightANNDownMuons.py +# configuration file for 'Standard Tight ANN Downstream Muons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Loose Downstream Muons using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdTightANNDownMuons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleMUONFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightANNDownMuons' , + Particle = 'muons' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Downstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleMUONFilter, 'Muon' ) +#fltr.Selection = [ "RequiresDet='MUON' IsMuon=True ProbNNmu>'0.1'" ] +fltr.Selection = [ "ProbNNmu>'0.1'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightANNDownMuons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightANNDownPions.py b/Phys/CommonParticles/python/CommonParticles/StdTightANNDownPions.py new file mode 100755 index 0000000000000000000000000000000000000000..e4da684635c6778d3a61373992c8b4db89c930f9 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightANNDownPions.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdTightANNDownPions.py +# configuration file for 'Standard Tight ANN Downstream Pions' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Tight Downstream Pions using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdTightANNDownPions' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightANNDownPions' , + Particle = 'pion' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Downstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Pion' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNpi>'0.2'" ] +fltr.Selection = [ "ProbNNpi>'0.07'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightANNDownPions = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightANNDownProtons.py b/Phys/CommonParticles/python/CommonParticles/StdTightANNDownProtons.py new file mode 100755 index 0000000000000000000000000000000000000000..73e43b749ceab24d70da61df7ad8daf5d3d9a128 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightANNDownProtons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdTightANNDownProtons.py +# configuration file for 'Standard Tight ANN Downstream Protons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Tight Downstream Protons using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdTightANNDownProtons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightANNDownProtons' , + Particle = 'proton' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Downstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Proton' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNp>'0.2'" ] +fltr.Selection = [ "ProbNNp>'0.1'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightANNDownProtons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightANNElectrons.py b/Phys/CommonParticles/python/CommonParticles/StdTightANNElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..92bff470d2628cac45a57e542b956c9ef61a263f --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightANNElectrons.py @@ -0,0 +1,55 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdTightANNElectrons.py,v 1.5 2010-06-01 09:41:12 odescham Exp $ +# ============================================================================= +## @file CommonParticles/StdTightANNElectrons.py +# configuration file for 'Standard Loose Electrons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Tight ANN Electrons' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdTightANNElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightANNElectrons', + Particle = 'electron' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter , 'Electron' ) +#fltr.Selection = [ "RequiresDet='CALO' ProbNNe>'0.2'" ] +#fltr.Selection = [ "ProbNNe>'0.2'" ] +fltr.Selection = [ "RequiresDet='RICHORCALO' ProbNNe>'0.16'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightANNElectrons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightANNKaons.py b/Phys/CommonParticles/python/CommonParticles/StdTightANNKaons.py new file mode 100755 index 0000000000000000000000000000000000000000..32d682148ade310eb71e71d53ac4d350fdd937d2 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightANNKaons.py @@ -0,0 +1,52 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdTightANNKaons.py +# configuration file for 'Standard Tight Kaons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Tight Kaons' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdTightANNKaons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import ProtoParticleCALOFilter, CombinedParticleMaker +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightANNKaons', + Particle = 'kaon' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Kaon' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNk>'0.15'" ] +fltr.Selection = [ "ProbNNk>'0.05'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightANNKaons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightANNMuons.py b/Phys/CommonParticles/python/CommonParticles/StdTightANNMuons.py new file mode 100755 index 0000000000000000000000000000000000000000..28736d215843f435971f43b137a59f9865fb66be --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightANNMuons.py @@ -0,0 +1,55 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdTightANNMuons.py,v 1.7 2009-08-04 09:05:31 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdTightANNMuons.py +# configuration file for 'Standard Tight Muons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Tight Muons' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.7 $" +# ============================================================================= +__all__ = ( + 'StdTightANNMuons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleMUONFilter + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightANNMuons' , + Particle = 'muon' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleMUONFilter, 'Muon' ) +#fltr.Selection = [ "RequiresDet='MUON' IsMuon=True ProbNNmu>'0.1'" ] +fltr.Selection = [ "ProbNNmu>'0.01'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightANNMuons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightANNPions.py b/Phys/CommonParticles/python/CommonParticles/StdTightANNPions.py new file mode 100755 index 0000000000000000000000000000000000000000..55c12b6e33cd8c005163da100dfe5c252c762ac9 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightANNPions.py @@ -0,0 +1,52 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdTightANNPions.py +# configuration file for 'Standard Tight Pions' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Tight ANN Pions' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdTightANNPions' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightANNPions', + Particle = 'pion' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Pion' ) +fltr.Selection = [ "ProbNNpi>'0.6'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightANNPions = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightANNProtons.py b/Phys/CommonParticles/python/CommonParticles/StdTightANNProtons.py new file mode 100755 index 0000000000000000000000000000000000000000..45b55c570d8a11ac2257dbd55da17ab5a0e46ef8 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightANNProtons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdTightANNProtons.py,v 1.4 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdTightANNProtons.py +# configuration file for 'Standard Tight ANN Protons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Tight ANN Protons' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdTightANNProtons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightANNProtons', + Particle = 'proton' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Proton' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNp>'0.125'" ] +fltr.Selection = [ "ProbNNp>'0.02'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightANNProtons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightANNUpElectrons.py b/Phys/CommonParticles/python/CommonParticles/StdTightANNUpElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..9a6032a06650c1670891ada6658576c5c3903ba7 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightANNUpElectrons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdTightANNUpElectrons.py +# configuration file for 'Standard Tight ANN Upstream Electrons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Tight Upstream Electrons using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdTightANNUpElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightANNUpElectrons' , + Particle = 'electron' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Upstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter , 'Electron' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNe>'0.2'" ] +fltr.Selection = [ "RequiresDet='RICHORCALO' ProbNNe>'0.1'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightANNUpElectrons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightANNUpKaons.py b/Phys/CommonParticles/python/CommonParticles/StdTightANNUpKaons.py new file mode 100755 index 0000000000000000000000000000000000000000..4d55a42b910e3d7d89025d881e779788320b3899 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightANNUpKaons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdTightANNUpKaons.py +# configuration file for 'Standard Tight ANN Upstream Kaons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Tight Upstream Kaons using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdTightANNUpKaons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightANNUpKaons' , + Particle = 'kaon' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Upstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Kaon' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNk>'0.2'" ] +fltr.Selection = [ "ProbNNk>'0.09'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightANNUpKaons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightANNUpMuons.py b/Phys/CommonParticles/python/CommonParticles/StdTightANNUpMuons.py new file mode 100755 index 0000000000000000000000000000000000000000..71f019d3e1b0b006b889aedb624dd52a4e875088 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightANNUpMuons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdTightANNUpMuons.py +# configuration file for 'Standard Loose ANN Upstream Muons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Loose Upstream Muons using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdTightANNUpMuons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleMUONFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightANNUpMuons' , + Particle = 'muons' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Upstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleMUONFilter, 'Muon' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNmu>'0.1'" ] +fltr.Selection = [ "ProbNNmu>'0.1'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightANNUpMuons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightANNUpPions.py b/Phys/CommonParticles/python/CommonParticles/StdTightANNUpPions.py new file mode 100755 index 0000000000000000000000000000000000000000..e2463ac9ba38a7e6f2359e9ebf46a8c6e99ab630 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightANNUpPions.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdTightANNUpPions.py +# configuration file for 'Standard Tight ANN Upstream Pions' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Tight Upstream Pions using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdTightANNUpPions' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightANNUpPions' , + Particle = 'pion' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Upstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Pion' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNpi>'0.2'" ] +fltr.Selection = [ "ProbNNpi>'0.1'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightANNUpPions = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightANNUpProtons.py b/Phys/CommonParticles/python/CommonParticles/StdTightANNUpProtons.py new file mode 100755 index 0000000000000000000000000000000000000000..0c6345a215c858d0b30c20f13512828a8007f5a4 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightANNUpProtons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdTightANNUpProtons.py +# configuration file for 'Standard Tight ANN Upstream Protons' +# @author Chris Jones christopher.rob.jones@cern.ch +# @date 20/01/2012 +# ============================================================================= +""" +Configuration file for 'Standard Tight Upstream Protons using ANN PID' +""" +__author__ = "Chris Jones christopher.rob.jones@cern.ch" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdTightANNUpProtons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightANNUpProtons' , + Particle = 'proton' ) + +# configure the track selector +selector = trackSelector ( algorithm, + trackTypes = ['Upstream'], + cuts = { "Chi2Cut" : [0,10] } ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Proton' ) +#fltr.Selection = [ "RequiresDet='RICH' ProbNNp>'0.2'" ] +fltr.Selection = [ "ProbNNp>'0.075'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightANNUpProtons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightDetachedTau.py b/Phys/CommonParticles/python/CommonParticles/StdTightDetachedTau.py new file mode 100755 index 0000000000000000000000000000000000000000..974dc23ec992b49b5a9b36754dc80b75e5a4bdc9 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightDetachedTau.py @@ -0,0 +1,62 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseDetachedTau.py,v 1.0 2012-12-04 14:44:42 elsasser Exp $ +# ============================================================================= +## @file CommonParticles/StdTightDetachedTau.py +# configuration file for 'Standard Tight Detached Tau' +# @author Donal Hill, Conor Fitzpatrick, Christian Elsasser, Giampiero Mancinelli +# @date 2012-12-02 +# Strongly modified 2012-14-01 by Giampiero Mancinelli +# Used to make the StdLooseDetachedTau3pi in Stripping20r0p3 +# Renamed tight afterward (in view of Stripping 21), in order to restore the +# previous loose selection (Sept 9th 2014) +# ============================================================================= +""" +Configuration file for 'Standard Tight Detached Tau' +""" +__author__ = "Donal Hill, Conor Fitzpatrick, Christian Elsasser" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.0 $" +# ============================================================================= +__all__ = ( + 'StdTightDetachedTau3pi', + 'locations' + + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm - physical tau+ -> pi+ pi- pi+ +StdTightDetachedTau3pi = CombineParticles ( 'StdTightDetachedTau3pi' ) + +StdTightDetachedTau3pi.Inputs = [ "Phys/StdLoosePions/Particles" ] + +#Build physical tau and tau+++ +StdTightDetachedTau3pi.DecayDescriptors = ["[tau+ -> pi+ pi- pi+]cc"] +StdTightDetachedTau3pi.DaughtersCuts = { + "pi+" : "(PT>250.*MeV) & (P>2000.*MeV) & (MIPCHI2DV(PRIMARY) > 16.0) & (TRCHI2DOF<4) & (TRGHOSTPROB<0.4) & (PROBNNpi > 0.55)", + "pi-" : "(PT>250.*MeV) & (P>2000.*MeV) & (MIPCHI2DV(PRIMARY) > 16.0) & (TRCHI2DOF<4) & (TRGHOSTPROB<0.4) & (PROBNNpi > 0.55)" + + } + + +StdTightDetachedTau3pi.CombinationCut = "(APT>800.*MeV) & ((AM>400.*MeV) & (AM<2100.*MeV)) & (AMAXDOCA('')<0.2*mm) & (ANUM(PT > 800*MeV) >= 1) " +StdTightDetachedTau3pi.MotherCut = "(PT>1000.*MeV) & (M>500.*MeV) & (M<2000.*MeV) & (BPVDIRA>0.99) & (VFASPF(VCHI2) < 16) & (BPVVDCHI2>16) & (BPVVDRHO>0.1*mm) & (BPVVDRHO<7.0*mm) & (BPVVDZ>5.0*mm)" + +## configure Data-On-Demand service +locations = updateDoD ( StdTightDetachedTau3pi ) + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightDplus.py b/Phys/CommonParticles/python/CommonParticles/StdTightDplus.py new file mode 100644 index 0000000000000000000000000000000000000000..8af3fc5639b1e68d246ad49b9cdc757cf9c3b699 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightDplus.py @@ -0,0 +1,71 @@ +#!/usr/bin/env python +## @file CommonParticles/StdTightDplus.py +# configuration file for 'Standard Tight Dplus' +# @author Sandra Amato +# @date 2011-08-26# ============================================================================= +""" +Configuration file for 'Standard Tight Dplus'""" +__author__ = "Sandra Amato" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.8 $" +# ============================================================================= +__all__ = ( + 'StdTightDplus2KPiPiOppSignPi' , + 'StdVeryTightDsplus2KKPi', + 'locations' + ) +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +locations = {} + +## ============================================================================ +StdTightDplus2KPiPiOppSignPi = CombineParticles ( 'StdTightDplus2KPiPiOppSignPi') +StdTightDplus2KPiPiOppSignPi.Inputs = [ "Phys/StdLooseKaons/Particles", + "Phys/StdLoosePions/Particles" ] + +StdTightDplus2KPiPiOppSignPi.DecayDescriptor = "[D+ -> pi- pi+ K+]cc" +StdTightDplus2KPiPiOppSignPi.DaughtersCuts = { + "K+" : "(P > 2*GeV) & ((PIDK-PIDpi) > 7.)", + "pi+" : "(P > 2*GeV) & ((PIDK-PIDpi) < 3.)" + } +StdTightDplus2KPiPiOppSignPi.CombinationCut = "((AM>1760.*MeV) & (AM<2080.*MeV) & ((APT>1.*GeV) | (ASUM(PT)>1.*GeV)) & (ADOCAMAX('')<0.5*mm))" +StdTightDplus2KPiPiOppSignPi.MotherCut = "((VFASPF(VCHI2) < 30 ) & (M>1770.*MeV) & (M < 2070.*MeV) & (BPVVDCHI2>36) & (BPVDIRA>0.98))" + +locations.update(updateDoD ( StdTightDplus2KPiPiOppSignPi )) + +## =========================================================================== +StdVeryTightDsplus2KKPi = CombineParticles( 'StdVeryTightDsplus2KKPi' ) +StdVeryTightDsplus2KKPi.Inputs = [ "Phys/StdLooseKaons/Particles", "Phys/StdLoosePions/Particles" ] +StdVeryTightDsplus2KKPi.DecayDescriptor = "[D_s+ -> K- K+ pi+]cc" +StdVeryTightDsplus2KKPi.DaughtersCuts = { + "K+" : "(P > 2*GeV) & ((PIDK-PIDpi) > 5.)", + "pi+" : "(P > 2*GeV) & ((PIDK-PIDpi) < 5.)" + } +StdVeryTightDsplus2KKPi.CombinationCut = "((AM>1900.*MeV) & (AM<2040.*MeV) & ((APT>1.*GeV) | (ASUM(PT)>1.*GeV)) & (ADOCAMAX('')<0.5*mm))" +StdVeryTightDsplus2KKPi.MotherCut = "((VFASPF(VCHI2) < 30 ) & (M>1920.*MeV) & (M < 2020.*MeV) & (BPVVDCHI2>36) & (BPVDIRA>0.98))" +locations.update(updateDoD ( StdVeryTightDsplus2KKPi )) + +########################################################################################## +# D+ -> 3 pi is a clone of D+ -> K Pi Pi +# +from StdLooseDplus import StdLooseDplus2KPiPi +StdTightDplus2PiPiPi = StdLooseDplus2KPiPi.clone("StdTightDplus2PiPiPi") +StdTightDplus2PiPiPi.Inputs = [ "Phys/StdLoosePions/Particles" ] +StdTightDplus2PiPiPi.DecayDescriptor = "[D+ -> pi- pi+ pi+]cc" +StdTightDplus2PiPiPi.DaughtersCuts = {"pi+" : "(P > 2*GeV) & ((PIDK-PIDpi) < 3.) & ((MIPCHI2DV(PRIMARY)) > 6.0 )"} +locations.update(updateDoD ( StdTightDplus2PiPiPi )) +########################################################################################## + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= + diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightElectrons.py b/Phys/CommonParticles/python/CommonParticles/StdTightElectrons.py new file mode 100755 index 0000000000000000000000000000000000000000..a73a5058d81e32bd79ad9daee1f4b957ee069b0b --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightElectrons.py @@ -0,0 +1,58 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdTightElectrons.py +# configuration file for 'Standard Loose Electrons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Tight Electrons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'StdTightElectrons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from Configurables import BremAdder + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightElectrons', + Particle = 'electron' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter , 'Electron' ) +fltr.Selection = [ "RequiresDet='CALO' CombDLL(e-pi)>'0.0'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightElectrons = algorithm + +## temporary: +#algorithm.addTool ( BremAdder ) +#brem = algorithm.BremAdder +#brem.BremCor = 1.0 + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightKaons.py b/Phys/CommonParticles/python/CommonParticles/StdTightKaons.py new file mode 100755 index 0000000000000000000000000000000000000000..75ebcd9a3b31c24441fbafd18f29df9254f60044 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightKaons.py @@ -0,0 +1,51 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdTightKaons.py +# configuration file for 'Standard Tight Kaons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Tight Kaons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdTightKaons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import ProtoParticleCALOFilter, CombinedParticleMaker +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightKaons', + Particle = 'kaon' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Kaon' ) +fltr.Selection = [ "RequiresDet='RICH' CombDLL(k-pi)>'0.0'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightKaons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightMuons.py b/Phys/CommonParticles/python/CommonParticles/StdTightMuons.py new file mode 100755 index 0000000000000000000000000000000000000000..0029fa9c60a573a6e4d16b6fa0b83800a9c9d3ac --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightMuons.py @@ -0,0 +1,55 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdTightMuons.py,v 1.7 2009-08-04 09:05:31 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdTightMuons.py +# configuration file for 'Standard Tight Muons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Tight Muons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.7 $" +# ============================================================================= +__all__ = ( + 'StdTightMuons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleMUONFilter + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightMuons' , + Particle = 'muon' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleMUONFilter, 'Muon' ) +fltr.Selection = [ "RequiresDet='MUON' IsMuon=True CombDLL(mu-pi)>'-3.0'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightMuons = algorithm + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightPhi.py b/Phys/CommonParticles/python/CommonParticles/StdTightPhi.py new file mode 100755 index 0000000000000000000000000000000000000000..110f46888c68a8651cdfcca5d2676534003cea6f --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightPhi.py @@ -0,0 +1,36 @@ +#!/usr/bin/env python +""" +Configuration file for 'Standard Tight Phi2KK'. Lieftime unbiased. +""" +__author__ = "Jibo He" +__date__ = "3/2/2012" + +# ============================================================================= +__all__ = ( + 'StdTightPhi2KK' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm +StdTightPhi2KK = CombineParticles("StdTightPhi2KK") +StdTightPhi2KK.Inputs = ["Phys/StdTightKaons/Particles"] +StdTightPhi2KK.DecayDescriptor = "phi(1020) -> K+ K-" +StdTightPhi2KK.DaughtersCuts = { "K+" : "(PT>500*MeV)" } +StdTightPhi2KK.CombinationCut = "(ADAMASS('phi(1020)')<30*MeV) & (ADOCACHI2CUT(30, ''))" +StdTightPhi2KK.MotherCut = "(VFASPF(VCHI2) < 25.0)" + +## configure Data-On-Demand service +locations = updateDoD ( StdTightPhi2KK ) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightPions.py b/Phys/CommonParticles/python/CommonParticles/StdTightPions.py new file mode 100755 index 0000000000000000000000000000000000000000..b12bf4c08a5c585e37c13e1e05a02d87c8efa64c --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightPions.py @@ -0,0 +1,55 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdTightPions.py +# configuration file for 'Standard Tight Pions' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Tight Pions' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdTightPions' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightPions', + Particle = 'pion' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Pion' ) +fltr.Selection = [ "RequiresDet='RICH' CombDLL(pi-k)>'-5.0'" ] + + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightPions = algorithm + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdTightProtons.py b/Phys/CommonParticles/python/CommonParticles/StdTightProtons.py new file mode 100755 index 0000000000000000000000000000000000000000..064155c9305e43b83f3c94d45f3684c5e0b3c3a3 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdTightProtons.py @@ -0,0 +1,50 @@ +#!/usr/bin/env python +# ============================================================================= +## @file CommonParticles/StdTightProtons.py +# configuration file for 'Standard Tight Protons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Tight Protons' +""" +__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdTightProtons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombinedParticleMaker +from Configurables import ProtoParticleCALOFilter +from CommonParticles.Utils import * + +## create the algorithm +algorithm = CombinedParticleMaker ( 'StdTightProtons', Particle = 'proton' ) + +# configure the track selector +selector = trackSelector ( algorithm ) + +# protoparticle filter: +fltr = protoFilter ( algorithm , ProtoParticleCALOFilter, 'Proton' ) +fltr.Selection = [ "RequiresDet='RICH' CombDLL(p-pi)>'0.0'" ] + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdTightProtons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdV0FromBrunel.py b/Phys/CommonParticles/python/CommonParticles/StdV0FromBrunel.py new file mode 100755 index 0000000000000000000000000000000000000000..3c19fb0af856f5711ee1b7bc727c1569b95dff08 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdV0FromBrunel.py @@ -0,0 +1,52 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseKs.py,v 1.5 2009-05-26 13:48:13 gcowan Exp $ +# ============================================================================= +## @file CommonParticles/StdV0FromBrunel.py +# configuration file for 'Standard Loose ' +# @author Patrick Koppenburg +# @date 2012-06-08 +# ============================================================================= +""" +Configuration file for 'Standard Loose Ks' +""" +__author__ = "Patrick Koppenburg" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + 'V0Maker' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import DataOnDemandSvc, V0FromDstMaker +from CommonParticles.Utils import * +locations = {} + +# One algorithm does all V0 +v0locations = [ "StdKs2PiPiLL" , + "StdKs2PiPiDD" , + "StdLambda2PPiLL" , + "StdLambda2PPiDD" ] +hat = "Phys/" +V0Maker = V0FromDstMaker() + +dod = DataOnDemandSvc() + +for v0 in v0locations: + p1 = { hat + v0 + '/Particles' : V0Maker.getFullName() } + p2 = { hat + v0 + '/Particles' : V0Maker } + dod.AlgMap.update( p1 ) + locations.update ( p2 ) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdVeryLooseAllPhotons.py b/Phys/CommonParticles/python/CommonParticles/StdVeryLooseAllPhotons.py new file mode 100644 index 0000000000000000000000000000000000000000..139257f38d33d7b11188e01bcdb31235dba7050f --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdVeryLooseAllPhotons.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseAllPhotons.py,v 1.2 2009-04-22 14:17:39 pkoppenb Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseAllPhotons.py +# configuration file for 'Standard Loose All Photons' +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Configuration file for 'Standard Very Loose All Photons' +""" +__author__ = "Olivier Deschamps odescham@in2p3.fr" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.2 $" +# ============================================================================= +__all__ = ( + 'StdVeryLooseAllPhotons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import PhotonMakerAlg +from Configurables import PhotonMaker +from GaudiKernel.SystemOfUnits import MeV +from CommonParticles.Utils import * + +## create the algorithm +algorithm = PhotonMakerAlg ( 'StdVeryLooseAllPhotons' , + DecayDescriptor = 'Gamma' ) + +# configure desktop&particle maker: +algorithm.addTool ( PhotonMaker , name = 'PhotonMaker' ) +photon = algorithm.PhotonMaker +photon.ConvertedPhotons = True +photon.UnconvertedPhotons = True +photon.PtCut = 75 * MeV + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdVeryLooseAllPhotons = algorithm + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdVeryLooseDetachedKstar.py b/Phys/CommonParticles/python/CommonParticles/StdVeryLooseDetachedKstar.py new file mode 100644 index 0000000000000000000000000000000000000000..71877c18fdc995cb32357d293c931f4edec5afc5 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdVeryLooseDetachedKstar.py @@ -0,0 +1,34 @@ +""" +Configuration file for Standard Very Loose Kstar2Kpi +""" + +__author__ = 'P. Koppenburg' +__date__ = '22/01/2010' + + +from Gaudi.Configuration import * +from Configurables import CombineParticles # , OfflineVertexFitter, OnOfflineTool +from CommonParticles.Utils import * +import GaudiKernel.SystemOfUnits as Units + +########################### +# StdVeryLooseDetachetKst2Kpi # +########################### + +StdVeryLooseDetachedKst2Kpi = CombineParticles("StdVeryLooseDetachedKst2Kpi") +StdVeryLooseDetachedKst2Kpi.DecayDescriptor = "[K*(892)0 -> K+ pi-]cc" +StdVeryLooseDetachedKst2Kpi.Inputs = ["Phys/StdLooseKaons/Particles", + "Phys/StdLoosePions/Particles"] + +## # IPCHI2>4 already applied on StdLoose{Kaons,Pions} +## StdVeryLooseDetachedKst2Kpi.DaughtersCuts = { +## "K+" :"(MIPCHI2DV(PRIMARY)>2.25)", +## "pi-":"(MIPCHI2DV(PRIMARY)>2.25)" +## } + +StdVeryLooseDetachedKst2Kpi.CombinationCut = "(ADAMASS('K*(892)0')<300*MeV) & (ADOCACHI2CUT(30, ''))" +StdVeryLooseDetachedKst2Kpi.MotherCut = "(VFASPF(VCHI2)<25)" + +locations = updateDoD(StdVeryLooseDetachedKst2Kpi) + + diff --git a/Phys/CommonParticles/python/CommonParticles/StdVeryLooseDiMuon.py b/Phys/CommonParticles/python/CommonParticles/StdVeryLooseDiMuon.py new file mode 100644 index 0000000000000000000000000000000000000000..3c84c2bfbd0f3ca97c48e9fbff3b2d68e9cd811a --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdVeryLooseDiMuon.py @@ -0,0 +1,33 @@ +""" +Configuration file for Standard Loose DiMuon, very loose for penguins (and other small animals). +""" + +__author__ = 'Rob Lambert' +__date__ = '07/07/2009' + + +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * +import GaudiKernel.SystemOfUnits as Units + +########################### +# StdLooseDiMuon # +########################### + +StdVeryLooseDiMuon = CombineParticles("StdVeryLooseDiMuon") +StdVeryLooseDiMuon.DecayDescriptor = "J/psi(1S) -> mu+ mu-" +StdVeryLooseDiMuon.Inputs = ["Phys/StdAllVeryLooseMuons/Particles"] +StdVeryLooseDiMuon.CombinationCut = "(ADAMASS('J/psi(1S)') < 3000.*MeV) & (ADOCACHI2CUT(30, ''))" +StdVeryLooseDiMuon.MotherCut = "(VFASPF(VCHI2) < 25.)" +locations = updateDoD(StdVeryLooseDiMuon) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + + diff --git a/Phys/CommonParticles/python/CommonParticles/StdVeryLooseJpsi2MuMu.py b/Phys/CommonParticles/python/CommonParticles/StdVeryLooseJpsi2MuMu.py new file mode 100644 index 0000000000000000000000000000000000000000..a1d496cd15b2307fbcbd8402a282ac808ceb9a75 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdVeryLooseJpsi2MuMu.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdVeryLooseJpsi2MuMu.py,v 1.1 2010-01-18 10:08:49 gcowan Exp $ +# ============================================================================= +## @file CommonParticles/StdVeryLooseJpsi2MuMu.py +# configuration file for 'Standard Very Loose Jpsi2MuMu' +# @author Greig Cowan +# @date 2009-06-23 +# ============================================================================= +""" +Configuration file for 'Standard Very Loose Jpsi2MuMu' +""" +__author__ = "Greig Cowan" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.1 $" +# ============================================================================= +__all__ = ( + 'StdVeryLooseJpsi2MuMu' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm +StdVeryLooseJpsi2MuMu = CombineParticles ("StdVeryLooseJpsi2MuMu") +StdVeryLooseJpsi2MuMu.Inputs = ["Phys/StdVeryLooseMuons/Particles"] +StdVeryLooseJpsi2MuMu.DecayDescriptor = "J/psi(1S) -> mu+ mu-" +StdVeryLooseJpsi2MuMu.CombinationCut = "(ADAMASS('J/psi(1S)') < 100.*MeV) & (ADOCACHI2CUT(30, ''))" +StdVeryLooseJpsi2MuMu.MotherCut = "(VFASPF(VCHI2) < 25.)" + +## configure Data-On-Demand service +locations = updateDoD ( StdVeryLooseJpsi2MuMu ) + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) diff --git a/Phys/CommonParticles/python/CommonParticles/StdVeryLooseLambda.py b/Phys/CommonParticles/python/CommonParticles/StdVeryLooseLambda.py new file mode 100644 index 0000000000000000000000000000000000000000..c7695fddb4e0f5959da5734fb589d1710c4a9c29 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdVeryLooseLambda.py @@ -0,0 +1,57 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseLambda.py,v 1.2 2010-08-24 17:48:00 yamhis Exp $ +# ============================================================================= +## @file CommonParticles/StdLooseLambda.py +# configuration file for 'Standard Loose ' +# @author Patrick Koppenburg +# @date 2009-02-18 +# ============================================================================= +""" +Configuration file for 'Standard Very Loose Lambda' +""" +__author__ = "Thomas Blake" +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.2 $" +# ============================================================================= +__all__ = ( + 'StdVeryLooseLambdaLL' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import CombineParticles +from CommonParticles.Utils import * + +## ============================================================================ +## create the algorithm +StdVeryLooseLambdaLL = CombineParticles ( 'StdVeryLooseLambdaLL' ) + + +StdVeryLooseLambdaLL.Inputs = [ "Phys/StdAllNoPIDsPions/Particles", + "Phys/StdAllNoPIDsProtons/Particles" ] + +StdVeryLooseLambdaLL.DecayDescriptor = "[Lambda0 -> p+ pi-]cc" + +StdVeryLooseLambdaLL.DaughtersCuts = { + "pi+" : "(P>2*GeV) & (MIPCHI2DV(PRIMARY)>9)", + "p+" : "(P>2*GeV) & (MIPCHI2DV(PRIMARY)>9)" + } + +StdVeryLooseLambdaLL.CombinationCut = "(ADAMASS('Lambda0')<50*MeV) & (ADOCACHI2CUT(30, ''))" +StdVeryLooseLambdaLL.MotherCut = "(ADMASS('Lambda0')<35*MeV) & (VFASPF(VCHI2)<30) & (BPVVDCHI2 > 4.)" + +## configure Data-On-Demand service +locations = updateDoD ( StdVeryLooseLambdaLL ) + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/StdVeryLooseMuons.py b/Phys/CommonParticles/python/CommonParticles/StdVeryLooseMuons.py new file mode 100755 index 0000000000000000000000000000000000000000..7dcb2a2364a202d5bf042a251de179d7d795e26b --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/StdVeryLooseMuons.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: StdLooseMuons.py,v 1.4 2009-07-01 18:42:29 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/StdVeryLooseMuons.py +# configuration file for 'Standard Very Loose Muons' +# @author Patrick Koppenburg +# @date 2011-07-18 +# ============================================================================= +""" +Configuration file for 'Standard Loose Muons with very loose cuts' +""" +__author__ = "Patrick Koppenburg " +__version__ = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.4 $" +# ============================================================================= +__all__ = ( + 'StdVeryLooseMuons' , + 'locations' + ) +# ============================================================================= +from Gaudi.Configuration import * +from Configurables import FilterDesktop + + +from CommonParticles.Utils import * + +## create the algorithm +algorithm = FilterDesktop( 'StdVeryLooseMuons', + Inputs = ["Phys/StdAllVeryLooseMuons/Particles"], + Code = defaultCuts() ) + +## configure Data-On-Demand service +locations = updateDoD ( algorithm ) + +## finally: define the symbol +StdVeryLooseMuons = algorithm + + +## ============================================================================ +if '__main__' == __name__ : + + print __doc__ + print __author__ + print __version__ + print locationsDoD ( locations ) + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/Utils.py b/Phys/CommonParticles/python/CommonParticles/Utils.py new file mode 100755 index 0000000000000000000000000000000000000000..1feb3f263588727e9e0034cd26a0bae060811531 --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/Utils.py @@ -0,0 +1,141 @@ +#!/usr/bin/env python +# ============================================================================= +# $Id: Utils.py,v 1.5 2009-07-21 08:59:46 jonrob Exp $ +# ============================================================================= +## @file CommonParticles/Utils.py +# helper file for configuration of "standard particles" +# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl +# @date 2009-01-14 +# ============================================================================= +""" +Helper file for configuration of 'standard particles' +""" +author = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl" +version = "CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.5 $" +# ============================================================================= +__all__ = ( + # general: + 'updateDoD' , ## update data-on-demand service + 'locationsDoD' , ## print locations, known for data-on-demand service + 'particles' , ## locations, known for data-on-demand service + 'trackSelector' , ## get the track selector + 'protoFilter' , ## filter for (charged) protoparticles + 'defaultCuts' , ## Default PT and IP cuts + ) +# ============================================================================= + +from Gaudi.Configuration import * +from Configurables import DataOnDemandSvc +from Configurables import TrackSelector +from Configurables import LHCbConfigurableUser + +# local storage of data-on-demand actions +_particles = {} + +# Default cuts +_defaultCuts = "(PT>250*MeV) & (MIPCHI2DV(PRIMARY) > 4.)" + +# ============================================================================= +# Default Cuts +def defaultCuts(): + """ + Return string with default cuts + """ + return _defaultCuts + +# ============================================================================= +# ============================================================================= +## @class DefaultTrackingCuts +# Little class to hold default track selection criteria +class DefaultTrackingCuts(LHCbConfigurableUser) : + ## Configuration slots + __slots__ = { "Cuts" : { "Chi2Cut" : [ 0, 5 ], + "CloneDistCut" : [5000, 9e+99 ] }, ## The cuts to apply + "Types" : ["Long"] ## The track types to include + } + +# ============================================================================= +## Return the locations known for data-on-demand service +def particles () : + """ + Return the locations known for data-oon-demand service + """ + return _particles + + +# ============================================================================= +# Update Data-On-Demand Service +def updateDoD ( alg , hat = 'Phys/' ) : + """ + Update Data-On-Demand service + """ + _parts = { hat+alg.name()+'/Particles' : alg } + _particles.update ( _parts ) + + dod = DataOnDemandSvc() + dod.AlgMap.update( + { hat + alg.name() + '/Particles' : alg.getFullName() } + ) + return _parts + +## get the track selector +def trackSelector ( alg , + tracks = TrackSelector, + trackTypes = [], + cuts = {} + ) : + """ + Get the track selector for maker + """ + alg.addTool ( tracks ) + + selector = getattr ( alg , tracks.getType() ) + + # selection cuts + # Ugly but works ... + if 0 == len(trackTypes) : + trackTypes = DefaultTrackingCuts().Types + if 0 == len(cuts) : + cuts = DefaultTrackingCuts().Cuts + selector.TrackTypes = trackTypes + for name,cut in cuts.iteritems() : + selector.setProp("Min"+name,cut[0]) + selector.setProp("Max"+name,cut[1]) + if ( "CloneDistCut"==name): selector.setProp("AcceptClones",False) +# selector.MinPtCut = 100000000 + + return selector + +## get the protoparticle filter +def protoFilter ( alg , fltr , name ) : + """ + Get the protoparticle filter + """ + alg.addTool ( fltr , name ) + return getattr ( alg , name ) + + +# ============================================================================= +## nice prinout for the input locations, known for Data-On-Demand Service +def locationsDoD ( particles = _particles ) : + """ + Nice printout of the known algorithm for 'standard particles' + """ + line = ' +' + 100*'-' + '+ ' + result = line + result += '\n | %-45.45s : %-50.50s |' % ( 'Input Location for DVAlgorithm' , + 'Data-On-Demand creator' ) + result += '\n' + line + locs = particles.keys() + locs.sort() + for l in locs : + a = particles[l] + if a.name() == a.getType() : a = a.name() + else : a = a.getFullName() + result += '\n | %-45.45s : %-50.50s |' % ( l , a ) + result += '\n' + line + return result + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/python/CommonParticles/__init__.py b/Phys/CommonParticles/python/CommonParticles/__init__.py new file mode 100755 index 0000000000000000000000000000000000000000..c46f6d6347ad8335db1276f2a26c6989631a120a --- /dev/null +++ b/Phys/CommonParticles/python/CommonParticles/__init__.py @@ -0,0 +1,7 @@ +# $Id: __init__.py,v 1.1 2009-01-15 14:22:15 ibelyaev Exp $ +# ============================================================================= + + +# ============================================================================= +# The END +# ============================================================================= diff --git a/Phys/CommonParticles/tests/qmtest/commonparticles.qms/test_inputlocations_consistency.qmt b/Phys/CommonParticles/tests/qmtest/commonparticles.qms/test_inputlocations_consistency.qmt new file mode 100644 index 0000000000000000000000000000000000000000..6d88d4ad294d44e1cba5036cab1a216f4938a1e6 --- /dev/null +++ b/Phys/CommonParticles/tests/qmtest/commonparticles.qms/test_inputlocations_consistency.qmt @@ -0,0 +1,7 @@ +<?xml version="1.0" ?> +<!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'> +<extension class="GaudiTest.GaudiExeTest" kind="test"> + <argument name="program"> + <text>$COMMONPARTICLESROOT/tests/test_inputlocations_consistency.py</text> + </argument> +</extension> diff --git a/Phys/CommonParticles/tests/qmtest/commonparticles.qms/test_load_modules.qmt b/Phys/CommonParticles/tests/qmtest/commonparticles.qms/test_load_modules.qmt new file mode 100644 index 0000000000000000000000000000000000000000..42b826dfb5b1840460ecce01212a2efb25883622 --- /dev/null +++ b/Phys/CommonParticles/tests/qmtest/commonparticles.qms/test_load_modules.qmt @@ -0,0 +1,7 @@ +<?xml version="1.0" ?> +<!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'> +<extension class="GaudiTest.GaudiExeTest" kind="test"> + <argument name="program"> + <text>$COMMONPARTICLESROOT/tests/test_load_modules.py</text> + </argument> +</extension> diff --git a/Phys/CommonParticles/tests/test_inputlocations_consistency.py b/Phys/CommonParticles/tests/test_inputlocations_consistency.py new file mode 100755 index 0000000000000000000000000000000000000000..1b6efffce80f92c285234eb97492e61b5de0c672 --- /dev/null +++ b/Phys/CommonParticles/tests/test_inputlocations_consistency.py @@ -0,0 +1,35 @@ +#!/usr/bin/env python +#$Id: test_load_modules.py,v 1.1 2010-04-22 14:44:53 jpalac Exp $ +''' +Test loading various CommonParticles in the Stripping environment. Needs to be extended. +''' +__author__ = 'Juan Palacios juan.palacios@nikhef.nl' + + +import sys +sys.path.append('../python') + +from CommonParticles import StandardBasic, StandardIntermediate, StdLooseKs + +outputLocations = list(StandardBasic.locations.keys()) + list(StandardIntermediate.locations.keys()) + +algs = list(StandardBasic.locations.values()) + list(StandardIntermediate.locations.values()) + +errors = {} + +message = "" + +for alg in algs : + if not hasattr(alg, 'Inputs') : continue + locs = alg.Inputs + for loc in locs : + if not loc in outputLocations : + message+= "ERROR: Algorithm "+alg.name()+".Input "+loc+" not in output locations\n" + errors[alg.name()]=loc + + +if len(errors)>0 : + sys.stderr.write('test_inputlocations_consistency: FAIL\n') + sys.stderr.write(message) +else : + sys.stdout.write('test_inputlocations_consistency: PASS\n') diff --git a/Phys/CommonParticles/tests/test_load_modules.py b/Phys/CommonParticles/tests/test_load_modules.py new file mode 100755 index 0000000000000000000000000000000000000000..a1fbd0d4824eff4d494282355e60773533dff128 --- /dev/null +++ b/Phys/CommonParticles/tests/test_load_modules.py @@ -0,0 +1,56 @@ +#!/usr/bin/env python +#$Id: test_load_modules.py,v 1.1 2010-04-22 14:44:53 jpalac Exp $ +''' +Test loading various CommonParticles in the Analysis environment. Needs to be extended. +''' +__author__ = 'Juan Palacios juan.palacios@nikhef.nl' + + +import sys +sys.path.append('../python') + + +def test_load_utils() : + from CommonParticles import Utils + +def test_load_standard_basic_neutral() : + from CommonParticles import StandardBasicNeutral + +def test_load_standard_basic_charged() : + from CommonParticles import StandardBasicCharged + +def test_load_all() : + import CommonParticles + +if '__main__' == __name__ : + + import sys + + test_names = filter(lambda k : k.count('test_') > 0, locals().keys()) + + __tests = filter( lambda x : x[0] in test_names, locals().items()) + + + message = '' + summary = '\n' + length = len(sorted(test_names, + cmp = lambda x,y : cmp(len(y),len(x)))[0]) +2 + + for test in __tests : + try : + test[1]() + message = 'PASS' + except : + message = "FAIL" + summary += test[0].ljust(length) + ':' + message.rjust(10) + '\n' + + if summary.count('FAIL') > 0 : + message = 'FAIL' + wr = sys.stderr.write + else : + message = 'PASS' + wr = sys.stdout.write + + summary += 'Global'.ljust(length) + ':' + message.rjust(10) + '\n\n' + wr(summary) + diff --git a/PhysSys/CMakeLists.txt b/PhysSys/CMakeLists.txt index be5a27c8653467791245a5226e5e8add3f323a70..eddb61d87d4e25f276b161560d42c8cdb85ef9e1 100644 --- a/PhysSys/CMakeLists.txt +++ b/PhysSys/CMakeLists.txt @@ -5,6 +5,7 @@ gaudi_subdir(PhysSys v23r1) gaudi_depends_on_subdirs(Kernel/SelectionLine Phys/BBDecTreeTool + Phys/CommonParticles/ Phys/DaVinciInterfaces Phys/DaVinciKernel Phys/DaVinciMCKernel