Commit cc7b9034 authored by Justin Griffiths's avatar Justin Griffiths Committed by Graeme Stewart
Browse files

fix cell links (tauRec-05-00-10)

parent b5922e37
...@@ -485,7 +485,7 @@ def getPi0ScoreCalculator(): ...@@ -485,7 +485,7 @@ def getPi0ScoreCalculator():
from tauRecTools.tauRecToolsConf import TauPi0ScoreCalculator from tauRecTools.tauRecToolsConf import TauPi0ScoreCalculator
TauPi0ScoreCalculator = TauPi0ScoreCalculator(name = _name, TauPi0ScoreCalculator = TauPi0ScoreCalculator(name = _name,
ReaderOption = 'Silent:!Color', ReaderOption = 'Silent:!Color',
BDTWeightFile = 'TauPi0BDTWeights.xml', BDTWeightFile = 'TauPi0BDTWeights.root',
) )
cached_instances[_name] = TauPi0ScoreCalculator cached_instances[_name] = TauPi0ScoreCalculator
...@@ -789,7 +789,7 @@ def getMvaTESEvaluator(): ...@@ -789,7 +789,7 @@ def getMvaTESEvaluator():
_name = sPrefix + 'MvaTESEvaluator' _name = sPrefix + 'MvaTESEvaluator'
from tauRecTools.tauRecToolsConf import MvaTESEvaluator from tauRecTools.tauRecToolsConf import MvaTESEvaluator
MvaTESEvaluator = MvaTESEvaluator(name = _name, MvaTESEvaluator = MvaTESEvaluator(name = _name,
WeightFileName = 'LC.pantau.interpolPt250GeV_mediumTaus_BDTG.weights.xml') WeightFileName = 'LC.pantau.interpolPt250GeV_mediumTaus_BDTG.weights.root')
cached_instances[_name] = MvaTESEvaluator cached_instances[_name] = MvaTESEvaluator
return MvaTESEvaluator return MvaTESEvaluator
...@@ -822,7 +822,7 @@ def getTauTrackClassifier(): ...@@ -822,7 +822,7 @@ def getTauTrackClassifier():
# ========================================================================= # =========================================================================
_BDT_TTCT_ITFT_0 = TrackMVABDT(name = _name + "_0", _BDT_TTCT_ITFT_0 = TrackMVABDT(name = _name + "_0",
#InputWeightsPath = "/home/duschi/workspace/TauRec/InstallArea/share/tauRecTools/00-00-00/TMVAClassification_BDT.weights.xml", #InputWeightsPath = "/home/duschi/workspace/TauRec/InstallArea/share/tauRecTools/00-00-00/TMVAClassification_BDT.weights.xml",
InputWeightsPath = "tauRecTools/00-00-00/TMVAClassification_BDT.weights.xml", InputWeightsPath = "TMVAClassification_BDT.weights.root",
Threshold = -0.005, Threshold = -0.005,
# ExpectedFlag = 9, # unclassified # ExpectedFlag = 9, # unclassified
# SignalType = 5, # charged # SignalType = 5, # charged
...@@ -836,7 +836,7 @@ def getTauTrackClassifier(): ...@@ -836,7 +836,7 @@ def getTauTrackClassifier():
_BDT_TTCT_ITFT_0_0 = TrackMVABDT(name = _name + "_0_0", _BDT_TTCT_ITFT_0_0 = TrackMVABDT(name = _name + "_0_0",
#InputWeightsPath = "/home/duschi/workspace/TauRec/InstallArea/share/tauRecTools/00-00-00/TMVAClassification_BDT_0.weights.xml", #InputWeightsPath = "/home/duschi/workspace/TauRec/InstallArea/share/tauRecTools/00-00-00/TMVAClassification_BDT_0.weights.xml",
InputWeightsPath = "tauRecTools/00-00-00/TMVAClassification_BDT_0.weights.xml", InputWeightsPath = "TMVAClassification_BDT_0.weights.root",
Threshold = -0.0074, Threshold = -0.0074,
# ExpectedFlag = 5, # charged # ExpectedFlag = 5, # charged
# SignalType = 5, # charged # SignalType = 5, # charged
...@@ -850,7 +850,7 @@ def getTauTrackClassifier(): ...@@ -850,7 +850,7 @@ def getTauTrackClassifier():
_BDT_TTCT_ITFT_0_1 = TrackMVABDT(name = _name + "_0_1", _BDT_TTCT_ITFT_0_1 = TrackMVABDT(name = _name + "_0_1",
#InputWeightsPath = "/home/duschi/workspace/TauRec/InstallArea/share/tauRecTools/00-00-00/TMVAClassification_BDT_1.weights.xml", #InputWeightsPath = "/home/duschi/workspace/TauRec/InstallArea/share/tauRecTools/00-00-00/TMVAClassification_BDT_1.weights.xml",
InputWeightsPath = "tauRecTools/00-00-00/TMVAClassification_BDT_1.weights.xml", InputWeightsPath = "TMVAClassification_BDT_1.weights.root",
Threshold = 0.0005, Threshold = 0.0005,
# ExpectedFlag = 7, # isolation # ExpectedFlag = 7, # isolation
# SignalType = 7, # isolation # SignalType = 7, # isolation
......
...@@ -42,7 +42,7 @@ TauESDList += [ "xAOD::CaloClusterAuxContainer#TauPi0ClustersAux." ] ...@@ -42,7 +42,7 @@ TauESDList += [ "xAOD::CaloClusterAuxContainer#TauPi0ClustersAux." ]
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# Tau Pi0 cluster cell container and links # Tau Pi0 cluster cell container and links
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
TauESDList += [ "CaloClusterCellLinkContainer#TauPi0ClusterLinks" ] TauESDList += [ "CaloClusterCellLinkContainer#TauPi0Clusters_links" ]
TauESDList += [ "CaloCellContainer#TauCommonPi0Cells" ] TauESDList += [ "CaloCellContainer#TauCommonPi0Cells" ]
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
......
...@@ -55,6 +55,7 @@ StatusCode TauProcessorAlg::initialize() { ...@@ -55,6 +55,7 @@ StatusCode TauProcessorAlg::initialize() {
sc = itT->retrieve(); sc = itT->retrieve();
if (sc.isFailure()) { if (sc.isFailure()) {
ATH_MSG_WARNING("Cannot find tool named <" << *itT << ">"); ATH_MSG_WARNING("Cannot find tool named <" << *itT << ">");
return StatusCode::FAILURE;
} else { } else {
++tool_count; ++tool_count;
ATH_MSG_INFO((*itT)->type() << " - " << (*itT)->name()); ATH_MSG_INFO((*itT)->type() << " - " << (*itT)->name());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment