Skip to content
Snippets Groups Projects
Commit 17ec2c47 authored by Anil Sonay's avatar Anil Sonay Committed by Edward Moyse
Browse files

Adding L1Topo jJet TOBs into menu

parent 4ede4f81
7 merge requests!69091Fix correlated smearing bug in JER in JetUncertainties in 22.0,!58791DataQualityConfigurations: Modify L1Calo config for web display,!51674Fixing hotSpotInHIST for Run3 HIST,!50012RecExConfig: Adjust log message levels from GetRunNumber and GetLBNumber,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!46566Adding L1Topo jJet TOBs into menu
......@@ -69,7 +69,7 @@ JetInputProviderFEX::handle(const Incident& incident) {
replace( histPath.begin(), histPath.end(), '.', '/');
//jJet
auto hjJetPt = std::make_unique<TH1I>( "jJetTOBPt", "jJet TOB Pt", 40, 0, 200);
auto hjJetPt = std::make_unique<TH1I>( "jJetTOBPt", "jJet TOB Pt", 100, 0, 500);
hjJetPt->SetXTitle("p_{T}");
auto hjJetEtaPhi = std::make_unique<TH2I>( "jJetTOBPhiEta", "jJet TOB Location", 220, -110, 110, 128, 0, 128);
......@@ -92,7 +92,7 @@ JetInputProviderFEX::handle(const Incident& incident) {
}
//jLargeRJet
auto hjLargeRJetPt = std::make_unique<TH1I>( "jLargeRJetTOBPt", "jLargeRJet TOB Pt", 80, 0, 400);
auto hjLargeRJetPt = std::make_unique<TH1I>( "jLargeRJetTOBPt", "jLargeRJet TOB Pt", 100, 0, 2000);
hjLargeRJetPt->SetXTitle("p_{T}");
auto hjLargeRJetEtaPhi = std::make_unique<TH2I>( "jLargeRJetTOBPhiEta", "jLargeRJet TOB Location", 220, -110, 110, 128, 0, 128);
......@@ -173,14 +173,14 @@ JetInputProviderFEX::fillTopoInputEvent(TCS::TopoInputEvent& inputEvent) const {
ATH_MSG_DEBUG( "EDM jFEX jTau Number: "
<< +jFexRoI->jFexNumber() // returns an 8 bit unsigned integer referring to the jFEX number
<< " et: "
<< jFexRoI->et() // returns the et value of the jet in 200 MeV unit
<< jFexRoI->et() // returns the et value of the jet in MeV unit
<< " eta: "
<< jFexRoI->globalEta() // returns a floating point global eta (will be at full precision 0.025, but currently only at 0.1)
<< " phi: "
<< jFexRoI->globalPhi() // returns a floating point global phi
);
unsigned int Et = jFexRoI->et()*2; //Convert Et to 100 MeV unit
unsigned int Et = jFexRoI->et()/100.; //Convert Et to 100 MeV unit
// Eta and phi is local coordinates, need to switch with global coordinates.
double phi = jFexRoI->globalPhi()/10.;
double eta = jFexRoI->globalEta()/10.;
......@@ -206,14 +206,14 @@ JetInputProviderFEX::fillTopoInputEvent(TCS::TopoInputEvent& inputEvent) const {
ATH_MSG_DEBUG( "EDM jFex JJet Number: "
<< +jFexRoI->jFexNumber() // returns an 8 bit unsigned integer referring to the jFEX number
<< " et: "
<< jFexRoI->et() // returns the et value of the jet in 200 MeV unit
<< jFexRoI->et() // returns the et value of the jet in MeV unit
<< " eta: "
<< jFexRoI->globalEta() // returns a floating point global eta (will be at full precision 0.025, but currently only at 0.1)
<< " phi: "
<< jFexRoI->globalPhi() // returns a floating point global phi
);
unsigned int Et = jFexRoI->et()*2; //Convert Et to 100 MeV unit
unsigned int Et = jFexRoI->et()/100.; //Convert Et to 100 MeV unit
// Eta and phi is local coordinates, need to switch with global coordinates.
double phi = jFexRoI->globalPhi()/10.;
double eta = jFexRoI->globalEta()/10.;
......@@ -239,14 +239,14 @@ JetInputProviderFEX::fillTopoInputEvent(TCS::TopoInputEvent& inputEvent) const {
ATH_MSG_DEBUG( "EDM jFex jJet Number: "
<< +jFexRoI->jFexNumber() // returns an 8 bit unsigned integer referring to the jFEX number
<< " et: "
<< jFexRoI->et() // returns the et value of the jet in 200 MeV unit
<< jFexRoI->et() // returns the et value of the jet in MeV unit
<< " eta: "
<< jFexRoI->globalEta() // returns a floating point global eta (will be at full precision 0.025, but currently only at 0.1)
<< " phi: "
<< jFexRoI->globalPhi() // returns a floating point global phi
);
unsigned int Et = jFexRoI->et()*2; //Convert Et to 100 MeV unit
unsigned int Et = jFexRoI->et()/100.; //Convert Et to 100 MeV unit
// Eta and phi is local coordinates, need to switch with global coordinates.
double phi = jFexRoI->globalPhi()/10.;
double eta = jFexRoI->globalEta()/10.;
......
......@@ -193,7 +193,7 @@ class TopoAlgoDef:
elif jet_type=='FjJ':
mineta = 31*_eta_conversion
minet = 15*_et_conversion
alg = AlgConf.JetSelect( name = jet_type+'ab', inputs = 'JetTobArray', outputs = jet_type+'ab' )
alg = AlgConf.jJetSelect( name = jet_type+'ab', inputs = 'jJetTobs', outputs = jet_type+'ab' )
alg.addgeneric('InputWidth', HW.InputWidthJET)
alg.addgeneric('OutputWidth', HW.OutputWidthSelectJET)
alg.addvariable('MinET', minet)
......@@ -202,14 +202,14 @@ class TopoAlgoDef:
tm.registerTopoAlgo(alg)
#input list needed for ATR-18824 (TODO: to be replaced by fwd jEM)
alg = AlgConf.JetSort( name = 'FjJjs23ETA49', inputs = 'JetTobArray', outputs = 'FjJjs23ETA49')
alg = AlgConf.jJetSort( name = 'FjJjs23ETA49', inputs = 'jJetTobs', outputs = 'FjJjs23ETA49')
alg.addgeneric('InputWidth', HW.InputWidthJET)
alg.addgeneric('OutputWidth', HW.OutputWidthSortJET )
alg.addvariable('MinEta', 23*_eta_conversion)
alg.addvariable('MaxEta', 49*_eta_conversion)
tm.registerTopoAlgo(alg)
alg = AlgConf.JetSort( name = 'CjJsETA21', inputs = 'JetTobArray', outputs = 'CjJsETA21')
alg = AlgConf.jJetSort( name = 'CjJsETA21', inputs = 'jJetTobs', outputs = 'CjJsETA21')
alg.addgeneric('InputWidth', HW.InputWidthJET)
alg.addgeneric('OutputWidth', HW.OutputWidthSortJET )
alg.addvariable('MinEta', 0*_eta_conversion)
......@@ -226,7 +226,7 @@ class TopoAlgoDef:
jetabseta = 26*_eta_conversion
elif jet_type=='FjJ':
mineta = 31*_eta_conversion
alg = AlgConf.JetSort( name = jet_type+'s', inputs = 'JetTobArray', outputs = jet_type+'s' )
alg = AlgConf.jJetSort( name = jet_type+'s', inputs = 'jJetTobs', outputs = jet_type+'s' )
alg.addgeneric('InputWidth', HW.InputWidthJET)
alg.addgeneric('OutputWidth', HW.OutputWidthSortJET )
alg.addvariable('MinEta', mineta)
......@@ -239,7 +239,7 @@ class TopoAlgoDef:
jetabseta = 31*_eta_conversion
elif jet_type=='CjJ':
jetabseta = 26*_eta_conversion
alg = AlgConf.JetSort( name = jet_type+'s', inputs = 'JetTobArray', outputs = jet_type+'s' )
alg = AlgConf.jJetSort( name = jet_type+'s', inputs = 'jJetTobs', outputs = jet_type+'s' )
alg.addgeneric('InputWidth', HW.InputWidthJET)
alg.addgeneric('OutputWidth', HW.OutputWidthSortJET )
alg.addvariable('MinEta', 0*_eta_conversion)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment