5#ifndef L1MUONNSW_IL1MMTRIGGERTOOL_H
6#define L1MUONNSW_IL1MMTRIGGERTOOL_H
8#include "GaudiKernel/IAlgTool.h"
9#include "GaudiKernel/EventContext.h"
10#include "GaudiKernel/StatusCode.h"
76 std::vector<MMHitInfo>
hits;
77 std::vector<unsigned int>
nTrig;
94 virtual StatusCode
runTrigger(
const EventContext& ctx, std::vector<MMCandidate>& candidates,
Definitions shared by the classes of the MM trigger processor emulation.
SideType
Detector side. The value is the sign of z, so that it can be used as a sign (e.g. Acts::copySign).
One MM trigger candidate (one road that passed the coincidence), before any quantisation into the Run...
double phiGlobal
Global phi in [0, 2pi): sector centre phi from the geometry -/+ local phi.
unsigned int xCount
X hits in the road.
int sectorPhi
Trigger sector 1-16 (Athena MM sector convention).
double dtheta
Angle w.r.t. the infinite-momentum track [rad].
int age
BC of the candidate relative to the start of the processing window.
double vavg
Average R/Z slope of the V hits.
double mx
phi-sensitive slope, from the U and V slopes
double phi
Local phi (relative to the sector centre).
unsigned int uCount
U hits in the road.
bool lowRes
Not all 8 planes in the road (Run 3 flag, not part of the Run 4 word).
int BC
Bunch crossing of the candidate (mode of the hit BCs, as Run 3).
double secCentrePhi
Sector centre phi from the Phase-II geometry.
double phiShf
Global phi as computed in Run 3 (MMT_Diamond::phiShift), for comparison.
double my
Average R/Z slope of the X hits.
double mxl
Local slope, R vs Z fit of the X hits.
unsigned int nHits
Hits in the road (Run 3 slope.totalCount).
double uavg
Average R/Z slope of the U hits.
double eta
Global eta of the segment.
SideType side
A (z>0) or C (z<0).
double theta
Polar angle of the candidate [rad].
Extra information returned by runTrigger on request (used by the validation algorithm).
std::vector< MMHitInfo > hits
every accepted hit of every digit collection
std::vector< unsigned int > nTrig
number of coincidences of each collection with at least one
One MM trigger hit, for the validation ntuple only (MM_* hit branches).
int stationPhi
Station phi (1-8).
double Z
Global z of the strip centre [mm].
double R
Global radius of the strip centre [mm].
int BC
Bunch crossing from the strip time.
int plane
Plane 0-7 of the octuplet.
int ART
ART ASIC index (0-3).
int stationEta
Station eta (-2, -1, 1, 2).
int sectorPhi
Sector 1-16.
int VMM
VMM index on the layer (0-127).
double shift
Slope origin of the road window (MMT_Hit::getShift).
float time
Strip time [ns].