test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ALCARECOTkAlMinBias_cff.py
Go to the documentation of this file.
1 # AlCaReco for track based alignment using min. bias events
2 import FWCore.ParameterSet.Config as cms
3 
5 #Note the MinBias selection should contain as many tracks as possible but no overlaps. So the HLT selection selects any event that is not selected in another TkAl* selector.
6 ALCARECOTkAlMinBiasNOTHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
7  andOr = True, ## choose logical OR between Triggerbits
8  eventSetupPathsKey = 'TkAlMinBiasNOT',
9  throw = False # tolerate triggers stated above, but not available
10  )
11 ALCARECOTkAlMinBiasHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
12  andOr = True, ## choose logical OR between Triggerbits
13  eventSetupPathsKey = 'TkAlMinBias',
14  throw = False # tolerate triggers stated above, but not available
15  )
16 
17 # DCS partitions
18 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
19 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
20 # "BPIX","FPIX","ESp","ESm"
21 import DPGAnalysis.Skims.skim_detstatus_cfi
22 ALCARECOTkAlMinBiasDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
23  DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX'),
24  ApplyFilter = cms.bool(True),
25  AndOr = cms.bool(True),
26  DebugOn = cms.untracked.bool(False)
27 )
28 
30 ALCARECOTkAlMinBias = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
31 ALCARECOTkAlMinBias.filter = True ##do not store empty events
32 
33 ALCARECOTkAlMinBias.applyBasicCuts = True
34 ALCARECOTkAlMinBias.ptMin = 0.65 ##GeV
35 ALCARECOTkAlMinBias.pMin = 1.5 ##GeV
36 
37 
38 ALCARECOTkAlMinBias.etaMin = -3.5
39 ALCARECOTkAlMinBias.etaMax = 3.5
40 ALCARECOTkAlMinBias.nHitMin = 7 ## at least 7 hits required
41 ALCARECOTkAlMinBias.GlobalSelector.applyIsolationtest = False
42 ALCARECOTkAlMinBias.GlobalSelector.applyGlobalMuonFilter = False
43 ALCARECOTkAlMinBias.TwoBodyDecaySelector.applyMassrangeFilter = False
44 ALCARECOTkAlMinBias.TwoBodyDecaySelector.applyChargeFilter = False
45 ALCARECOTkAlMinBias.TwoBodyDecaySelector.applyAcoplanarityFilter = False
46 
47 seqALCARECOTkAlMinBias = cms.Sequence(ALCARECOTkAlMinBiasHLT*~ALCARECOTkAlMinBiasNOTHLT+ALCARECOTkAlMinBiasDCSFilter+ALCARECOTkAlMinBias)
dont throw on unknown path names