|
ATLAS Offline Software
|
#include <MMRawDataMonAlg.h>
|
enum | Environment_t {
Environment_t::user = 0,
Environment_t::online,
Environment_t::tier0,
Environment_t::tier0Raw,
Environment_t::tier0ESD,
Environment_t::AOD,
Environment_t::altprod
} |
| Specifies the processing environment. More...
|
|
enum | DataType_t {
DataType_t::userDefined = 0,
DataType_t::monteCarlo,
DataType_t::collisions,
DataType_t::cosmics,
DataType_t::heavyIonCollisions
} |
| Specifies what type of input data is being monitored. More...
|
|
|
| MMRawDataMonAlg (const std::string &name, ISvcLocator *pSvcLocator) |
|
virtual | ~MMRawDataMonAlg ()=default |
|
virtual StatusCode | initialize () override |
| initialize More...
|
|
virtual StatusCode | fillHistograms (const EventContext &ctx) const override |
| adds event to the monitoring histograms More...
|
|
virtual StatusCode | execute (const EventContext &ctx) const override |
| Applies filters and trigger requirements. More...
|
|
void | fill (const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const |
| Fills a vector of variables to a group by reference. More...
|
|
void | fill (const ToolHandle< GenericMonitoringTool > &groupHandle, const std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &variables) const |
| Fills a vector of variables to a group by reference. More...
|
|
template<typename... T> |
void | fill (const ToolHandle< GenericMonitoringTool > &groupHandle, T &&... variables) const |
| Fills a variadic list of variables to a group by reference. More...
|
|
void | fill (const std::string &groupName, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const |
| Fills a vector of variables to a group by name. More...
|
|
void | fill (const std::string &groupName, const std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &variables) const |
| Fills a vector of variables to a group by name. More...
|
|
template<typename... T> |
void | fill (const std::string &groupName, T &&... variables) const |
| Fills a variadic list of variables to a group by name. More...
|
|
Environment_t | environment () const |
| Accessor functions for the environment. More...
|
|
Environment_t | envStringToEnum (const std::string &str) const |
| Convert the environment string from the python configuration to an enum object. More...
|
|
DataType_t | dataType () const |
| Accessor functions for the data type. More...
|
|
DataType_t | dataTypeStringToEnum (const std::string &str) const |
| Convert the data type string from the python configuration to an enum object. More...
|
|
const ToolHandle< GenericMonitoringTool > & | getGroup (const std::string &name) const |
| Get a specific monitoring tool from the tool handle array. More...
|
|
const ToolHandle< Trig::TrigDecisionTool > & | getTrigDecisionTool () const |
| Get the trigger decision tool member. More...
|
|
bool | trigChainsArePassed (const std::vector< std::string > &vTrigNames) const |
| Check whether triggers are passed. More...
|
|
SG::ReadHandle< xAOD::EventInfo > | GetEventInfo (const EventContext &) const |
| Return a ReadHandle for an EventInfo object (get run/event numbers, etc.) More...
|
|
virtual float | lbAverageInteractionsPerCrossing (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Calculate the average mu, i.e. More...
|
|
virtual float | lbInteractionsPerCrossing (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Calculate instantaneous number of interactions, i.e. More...
|
|
virtual float | lbAverageLuminosity (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Calculate average luminosity (in ub-1 s-1 => 10^30 cm-2 s-1). More...
|
|
virtual float | lbLuminosityPerBCID (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Calculate the instantaneous luminosity per bunch crossing. More...
|
|
virtual double | lbDuration (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Calculate the duration of the luminosity block (in seconds) More...
|
|
virtual float | lbAverageLivefraction (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Calculate the average luminosity livefraction. More...
|
|
virtual float | livefractionPerBCID (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Calculate the live fraction per bunch crossing ID. More...
|
|
virtual double | lbLumiWeight (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Calculate the average integrated luminosity multiplied by the live fraction. More...
|
|
virtual StatusCode | parseList (const std::string &line, std::vector< std::string > &result) const |
| Parse a string into a vector. More...
|
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual bool | isClonable () const override |
| Specify if the algorithm is clonable. More...
|
|
virtual unsigned int | cardinality () const override |
| Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
|
|
virtual StatusCode | sysExecute (const EventContext &ctx) override |
| Execute an algorithm. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
virtual bool | filterPassed (const EventContext &ctx) const |
|
virtual void | setFilterPassed (bool state, const EventContext &ctx) const |
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
ToolHandleArray< GenericMonitoringTool > | m_tools {this,"GMTools",{}} |
| Array of Generic Monitoring Tools. More...
|
|
PublicToolHandle< Trig::TrigDecisionTool > | m_trigDecTool {this, "TrigDecisionTool",""} |
| Tool to tell whether a specific trigger is passed. More...
|
|
ToolHandleArray< IDQFilterTool > | m_DQFilterTools {this,"FilterTools",{}} |
| Array of Data Quality filter tools. More...
|
|
SG::ReadCondHandleKey< LuminosityCondData > | m_lumiDataKey {this,"LuminosityCondDataKey","LuminosityCondData","SG Key of LuminosityCondData object"} |
|
SG::ReadCondHandleKey< LBDurationCondData > | m_lbDurationDataKey {this,"LBDurationCondDataKey","LBDurationCondData","SG Key of LBDurationCondData object"} |
|
SG::ReadCondHandleKey< TrigLiveFractionCondData > | m_trigLiveFractionDataKey {this,"TrigLiveFractionCondDataKey","TrigLiveFractionCondData", "SG Key of TrigLiveFractionCondData object"} |
|
AthMonitorAlgorithm::Environment_t | m_environment |
| Instance of the Environment_t enum. More...
|
|
AthMonitorAlgorithm::DataType_t | m_dataType |
| Instance of the DataType_t enum. More...
|
|
Gaudi::Property< std::string > | m_environmentStr {this,"Environment","user"} |
| Environment string pulled from the job option and converted to enum. More...
|
|
Gaudi::Property< std::string > | m_dataTypeStr {this,"DataType","userDefined"} |
| DataType string pulled from the job option and converted to enum. More...
|
|
Gaudi::Property< std::string > | m_triggerChainString {this,"TriggerChain",""} |
| Trigger chain string pulled from the job option and parsed into a vector. More...
|
|
std::vector< std::string > | m_vTrigChainNames |
| Vector of trigger chain names parsed from trigger chain string. More...
|
|
Gaudi::Property< std::string > | m_fileKey {this,"FileKey",""} |
| Internal Athena name for file. More...
|
|
Gaudi::Property< bool > | m_useLumi {this,"EnableLumi",false} |
| Allows use of various luminosity functions. More...
|
|
Gaudi::Property< float > | m_defaultLBDuration {this,"DefaultLBDuration",60.} |
| Default duration of one lumi block. More...
|
|
Gaudi::Property< int > | m_detailLevel {this,"DetailLevel",0} |
| Sets the level of detail used in the monitoring. More...
|
|
SG::ReadHandleKey< xAOD::EventInfo > | m_EventInfoKey {this,"EventInfoKey","EventInfo"} |
| Key for retrieving EventInfo from StoreGate. More...
|
|
|
StatusCode | fillMMOverviewVects (const Muon::MMPrepData *, MMOverviewHistogramStruct &vects, MMByPhiStruct(&occupancyPlots)[16][2]) const |
|
void | fillMMOverviewHistograms (const MMOverviewHistogramStruct &vects, MMByPhiStruct(&occupancyPlots)[16][2], const int lb) const |
|
StatusCode | fillMMSummaryVects (const Muon::MMPrepData *, MMSummaryHistogramStruct(&vects)[2][16][2][2][4]) const |
|
StatusCode | fillMMHistograms (const Muon::MMPrepData *) const |
|
StatusCode | fillMMSummaryHistograms (const MMSummaryHistogramStruct(&vects)[2][16][2][2][4]) const |
|
void | clusterFromTrack (const xAOD::TrackParticleContainer *, const int lb) const |
|
void | clusterFromSegments (const Trk::SegmentCollection *, const int lb) const |
|
int | get_PCB_from_channel (const int channel) const |
|
int | get_FEB_from_channel (const int channel, const int stEta) const |
|
int | get_sectorPhi_from_stationPhi_stName (const int stationPhi, const std::string &stName) const |
|
int | get_sectorEta_from_stationEta (const int stationEta) const |
|
int | get_bin_for_occ_CSide_hist (const int stationEta, const int multiplet, const int gas_gap) const |
|
int | get_bin_for_occ_ASide_hist (const int stationEta, const int multiplet, const int gas_gap) const |
|
int | get_bin_for_occ (const int gas_gap, const int PCB) const |
|
int | get_bin_for_feb_occ (const int gas_gap, const int FEB) const |
|
int | get_bin_for_occ_CSide_pcb_eta2_hist (const int stationEta, const int multiplet, const int gas_gap, const int PCB) const |
|
int | get_bin_for_occ_CSide_pcb_eta1_hist (const int stationEta, const int multiplet, const int gas_gap, const int PCB) const |
|
int | get_bin_for_occ_ASide_pcb_eta2_hist (const int stationEta, const int multiplet, const int gas_gap, const int PCB) const |
|
int | get_bin_for_occ_ASide_pcb_eta1_hist (const int stationEta, const int multiplet, const int gas_gap, const int PCB) const |
|
int | get_bin_for_occ_lb_CSide_pcb_eta2_hist (const int stationEta, const int multiplet, const int gas_gap, const int PCB, const int isector) const |
|
int | get_bin_for_occ_lb_CSide_pcb_eta1_hist (const int stationEta, const int multiplet, const int gas_gap, const int PCB, int isector) const |
|
int | get_bin_for_occ_lb_ASide_pcb_eta1_hist (const int stationEta, const int multiplet, const int gas_gap, const int PCB, int isector) const |
|
int | get_bin_for_occ_lb_ASide_pcb_eta2_hist (const int stationEta, const int multiplet, const int gas_gap, const int PCB, const int isector) const |
|
int | get_bin_for_occ_lb_pcb_hist (const int multiplet, const int gas_gap, const int PCB) const |
|
void | MMEfficiency (const xAOD::TrackParticleContainer *) const |
|
void | fillMMTrigger (const xAOD::NSWMMTPRDOContainer *, const int) const |
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
|
ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
|
ToolHandle< CP::IMuonSelectionTool > | m_muonSelectionTool {this,"MuonSelectionTool","CP::MuonSelectionTool/MuonSelectionTool"} |
|
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > | m_DetectorManagerKey {this, "DetectorManagerKey", "MuonDetectorManager","Key of input MuonDetectorManager condition data"} |
|
SG::ReadHandleKey< Trk::SegmentCollection > | m_segm_type {this,"Eff_segm_type","TrackMuonSegments","muon segments"} |
|
SG::ReadHandleKey< Muon::MMPrepDataContainer > | m_MMContainerKey {this,"MMPrepDataContainerName","MM_Measurements"} |
|
SG::ReadHandleKey< xAOD::MuonContainer > | m_muonKey {this,"MuonKey","Muons","muons"} |
|
SG::ReadHandleKey< xAOD::TrackParticleContainer > | m_meTrkKey {this, "METrkContainer", "ExtrapolatedMuonTrackParticles"} |
|
SG::ReadHandleKey< xAOD::NSWMMTPRDOContainer > | m_mmtpRdoKey {this, "NSW_MMTPDataKey", "NSW_MMTrigProcessor_RDO"} |
|
Gaudi::Property< bool > | m_doMMESD {this,"DoMMESD",true} |
|
Gaudi::Property< bool > | m_do_mm_overview {this,"do_mm_overview",true} |
|
Gaudi::Property< bool > | m_do_stereoCorrection {this,"do_stereoCorrection",false} |
|
Gaudi::Property< float > | m_cut_pt {this,"cut_pt",15000} |
|
Gaudi::Property< bool > | m_doDetailedHists {this,"doDetailedHists",true} |
|
std::string | m_name |
|
std::unordered_map< std::string, size_t > | m_toolLookupMap |
|
const ToolHandle< GenericMonitoringTool > | m_dummy |
|
Gaudi::Property< bool > | m_enforceExpressTriggers |
|
DataObjIDColl | m_extendedExtraObjects |
| Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
|
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
Definition at line 50 of file MMRawDataMonAlg.h.
◆ MonVarVec_t
◆ StoreGateSvc_t
◆ DataType_t
Specifies what type of input data is being monitored.
An enumeration of the different types of data the monitoring application may be running over. This can be used to select which histograms to produce, e.g. to prevent the production of colliding-beam histograms when running on cosmic-ray data. Strings of the same names may be given as jobOptions.
Enumerator |
---|
userDefined | |
monteCarlo | |
collisions | |
cosmics | |
heavyIonCollisions | |
Definition at line 191 of file AthMonitorAlgorithm.h.
◆ Environment_t
Specifies the processing environment.
The running environment may be used to select which histograms are produced, and where they are located in the output. For example, the output paths of the histograms are different for the "user", "online" and the various offline flags. Strings of the same names may be given as jobOptions.
Enumerator |
---|
user | |
online | |
tier0 | |
tier0Raw | |
tier0ESD | |
AOD | |
altprod | |
Definition at line 172 of file AthMonitorAlgorithm.h.
◆ MMRawDataMonAlg()
MMRawDataMonAlg::MMRawDataMonAlg |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~MMRawDataMonAlg()
virtual MMRawDataMonAlg::~MMRawDataMonAlg |
( |
| ) |
|
|
virtualdefault |
◆ cardinality()
unsigned int AthReentrantAlgorithm::cardinality |
( |
| ) |
const |
|
overridevirtualinherited |
Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
Override this to return 0 for reentrant algorithms.
Override this to return 0 for reentrant algorithms.
Definition at line 55 of file AthReentrantAlgorithm.cxx.
◆ clusterFromSegments()
Definition at line 845 of file MMRawDataMonAlg.cxx.
847 MMOverviewHistogramStruct overviewPlots;
848 MMByPhiStruct occupancyPlots[16][2];
849 MMSummaryHistogramStruct summaryPlots[2][16][2][2][4];
859 for(
unsigned int irot=0;irot<
segment->numberOfContainedROTs();irot++){
866 if(!cluster)
continue;
878 int iside = (stEta > 0) ? 1 : 0;
881 const std::vector<Identifier>& stripIds = prd->
rdoList();
882 unsigned int csize = stripIds.size();
883 const std::vector<uint16_t>& stripNumbers = prd->
stripNumbers();
885 auto& pcb_vects = summaryPlots[iside][sectorPhi-1][std::abs(stEta)-1][
multi-1][
gap-1];
886 pcb_vects.cl_size.push_back(csize);
887 pcb_vects.pcb.push_back(PCB);
888 std::vector<short int> s_times = prd->
stripTimes();
890 for(
unsigned int sIdx=0; sIdx<csize; ++sIdx) {
891 pcb_vects.strp_times.push_back(s_times.at(sIdx));
893 c_time += s_times.at(sIdx);
895 c_time /= s_times.size();
896 pcb_vects.cl_times.push_back(c_time);
899 pcb_vects.charge.push_back(
charge);
901 auto& vects = overviewPlots;
903 auto& thisSect = occupancyPlots[sectorPhi-1][iside];
905 const int gap_offset=4;
906 int gas_gap8 = (
multi==1) ?
gap :
gap + gap_offset;
910 thisSect.sector_lb_onseg.push_back(
bin);
913 vects.sector_CSide_onseg.push_back(
bin);
914 vects.stationPhi_CSide_onseg.push_back(sectorPhi);
916 vects.sector_ASide_onseg.push_back(
bin);
917 vects.stationPhi_ASide_onseg.push_back(sectorPhi);
921 if (isMM==
true) ++nseg;
925 fill(
"mmMonitor", nsegs);
927 auto& vects = overviewPlots;
928 auto stationPhi_CSide_onseg =
Monitored::Collection(
"stationPhi_CSide_onseg",vects.stationPhi_CSide_onseg);
929 auto stationPhi_ASide_onseg =
Monitored::Collection(
"stationPhi_ASide_onseg",vects.stationPhi_ASide_onseg);
935 fill(
"mmMonitor", stationPhi_CSide_onseg, stationPhi_ASide_onseg, sector_CSide_onseg, sector_ASide_onseg, lb_onseg);
937 for(
int iside = 0; iside < 2; ++iside) {
938 std::string MM_sideGroup =
"MM_sideGroup" + MM_Side[iside];
939 for(
int statPhi=0; statPhi<16; ++statPhi) {
940 auto& occ_lb = occupancyPlots[statPhi][iside];
942 fill(MM_sideGroup, lb_onseg, sector_lb_onseg);
944 for(
int statEta = 0; statEta < 2; ++statEta) {
945 for(
int multiplet = 0; multiplet < 2; ++multiplet) {
946 for(
int gas_gap = 0; gas_gap < 4; ++gas_gap) {
947 auto& pcb_vects = summaryPlots[iside][statPhi][statEta][multiplet][gas_gap];
949 if(pcb_vects.pcb.empty())
continue;
958 fill(MM_sideGroup, clus_size, strip_times, charge_perPCB, cluster_time, pcb_mon, pcb_strip_mon);
963 fill(
"mmMonitor", clus_size_all, charge_all, strip_times_all);
◆ clusterFromTrack()
Definition at line 497 of file MMRawDataMonAlg.cxx.
499 MMSummaryHistogramStruct summaryPlots[2][2][4];
500 MMSummaryHistogramStruct summaryPlots_full[2][16][2][2][4];
501 MMSummaryHistogramStruct sumPlots[2][16][2][2][4];
502 MMOverviewHistogramStruct overviewPlots;
503 MMByPhiStruct occupancyPlots[16][2];
515 if(!meTrack)
continue;
527 if(!cluster)
continue;
540 int iside = (stEta > 0) ? 1 : 0;
541 auto& vects = overviewPlots;
542 auto& thisSect = occupancyPlots[sectorPhi-1][iside];
546 const std::vector<Identifier>& stripIds = prd->
rdoList();
547 unsigned int csize = stripIds.size();
548 const std::vector<uint16_t>& stripNumbers = prd->
stripNumbers();
550 std::vector<short int> s_times = prd->
stripTimes();
552 vects.charge_all.push_back(
charge);
555 for(
unsigned int sIdx=0; sIdx<stripIds.size(); ++sIdx){
556 vects.strp_times.push_back(s_times.at(sIdx));
557 c_time += s_times.at(sIdx);
559 c_time /= s_times.size();
560 vects.cl_times.push_back(c_time);
563 auto& vect = sumPlots[iside][sectorPhi-1][std::abs(stEta)-1][
multi-1][
gap-1];
564 vect.cl_size.push_back(csize);
565 vect.pcb.push_back(PCB);
566 for(
unsigned int sIdx=0; sIdx<stripIds.size(); ++sIdx)
568 vect.strip_number.push_back(stripNumbers[sIdx]);
569 vect.strp_times.push_back(s_times.at(sIdx));
572 vect.cl_times.push_back(c_time);
573 vect.charge.push_back(
charge);
577 const int gap_offset=4;
578 int gas_gap8 = (
multi==1) ?
gap :
gap + gap_offset;
582 thisSect.sector_lb_ontrack.push_back(
bin);
586 vects.sector_CSide_ontrack.push_back(
bin);
587 vects.stationPhi_CSide_ontrack.push_back(sectorPhi);
589 vects.sector_ASide_ontrack.push_back(
bin);
590 vects.stationPhi_ASide_ontrack.push_back(sectorPhi);
596 if(!(trkState))
continue;
599 Identifier surfaceId = (trkState)->surface().associatedDetectorElementIdentifier();
602 int trk_stEta =
m_idHelperSvc->mmIdHelper().stationEta(surfaceId);
603 int trk_stPhi =
m_idHelperSvc->mmIdHelper().stationPhi(surfaceId);
604 int trk_multi =
m_idHelperSvc->mmIdHelper().multilayer(surfaceId);
607 if( (trk_stPhi == stPhi) && (trk_stEta == stEta) && (trk_multi ==
multi) && (trk_gap ==
gap)) {
608 double x_trk = trkState->trackParameters()->parameters()[
Trk::loc1];
610 int side = (stEta > 0) ? 1 : 0;
611 float res_stereo = (
x - x_trk);
613 float stereo_angle = ((
multi == 1 &&
gap < 3) || (
multi == 2 &&
gap > 2)) ? 0 : 0.02618;
614 double y_trk = trkState->trackParameters()->parameters()[
Trk::locY];
616 res_stereo = (
x - x_trk)*
std::cos(stereo_angle) - stereo_correction;
621 fill(
"mmMonitor", residual_mon, eta_trk, phi_trk, stPhi_mon);
625 auto& vectors = summaryPlots_full[
side][sectorPhi-1][abs_stEta][
multi-1][
gap-1];
626 vectors.residuals.push_back(res_stereo);
634 fill(
"mmMonitor", pt_trk);
638 for(
int iside = 0; iside < 2; ++iside) {
639 std::string MM_sideGroup =
"MM_sideGroup" + MM_Side[iside];
640 for(
int statPhi = 0; statPhi < 16; ++statPhi) {
642 for(
int multiplet = 0; multiplet < 2; ++multiplet) {
643 for(
int gas_gap = 0; gas_gap < 4; ++gas_gap) {
644 auto layer=gas_gap+multiplet*4;
645 MMSummaryHistogramStruct vects;
646 for(
int statEta = 0; statEta < 2; ++statEta) {
647 vects = summaryPlots_full[iside][statPhi][statEta][multiplet][gas_gap];
651 fill(MM_sideGroup, residuals_gap,residuals_layer);
660 if(!(trkState))
continue;
662 Identifier surfaceId = (trkState)->surface().associatedDetectorElementIdentifier();
674 int stEta =
m_idHelperSvc->mmIdHelper().stationEta(surfaceId);
679 int iside = (stEta > 0) ? 1 : 0;
680 auto& Vectors = summaryPlots[iside][
multi-1][
gap-1];
683 Vectors.x_ontrack.push_back(
pos.x());
684 Vectors.y_ontrack.push_back(
pos.y());
689 fill(
"mmMonitor", ntrack);
691 auto& vects = overviewPlots;
692 auto stationPhi_CSide_ontrack =
Monitored::Collection(
"stationPhi_CSide_ontrack",vects.stationPhi_CSide_ontrack);
693 auto stationPhi_ASide_ontrack =
Monitored::Collection(
"stationPhi_ASide_ontrack",vects.stationPhi_ASide_ontrack);
694 auto sector_ASide_ontrack =
Monitored::Collection(
"sector_ASide_ontrack",vects.sector_ASide_ontrack);
695 auto sector_CSide_ontrack =
Monitored::Collection(
"sector_CSide_ontrack",vects.sector_CSide_ontrack);
703 fill(
"mmMonitor", csize,
charge,
stime, ctime, stationPhi_CSide_ontrack, stationPhi_ASide_ontrack, sector_CSide_ontrack,sector_ASide_ontrack, lb_ontrack);
705 for(
int iside = 0; iside < 2; ++iside) {
706 std::string MM_sideGroup =
"MM_sideGroup" + MM_Side[iside];
707 for(
int statPhi = 0; statPhi < 16; ++statPhi) {
708 for(
int statEta = 0; statEta < 2; ++statEta) {
709 for(
int multiplet = 0; multiplet < 2; ++multiplet) {
710 for(
int gas_gap = 0; gas_gap < 4; ++gas_gap) {
711 auto& vects = sumPlots[iside][statPhi][statEta][multiplet][gas_gap];
713 if(!vects.strip_number.empty())
724 fill(MM_sideGroup, clus_size, strip_times, cluster_time, charge_perPCB, pcb_mon, pcb_strip_mon,charge_perlayer,clus_size_perlayer);
731 auto& occ_lb = occupancyPlots[statPhi][iside];
733 fill(MM_sideGroup, lb_ontrack, sector_lb_ontrack);
735 for(
int multiplet=0; multiplet<2; ++multiplet) {
736 for(
int gas_gap=0; gas_gap<4; ++gas_gap) {
737 auto& Vectors = summaryPlots[iside][multiplet][gas_gap];
740 fill(MM_sideGroup, x_ontrack, y_ontrack);
◆ dataType()
DataType_t AthMonitorAlgorithm::dataType |
( |
| ) |
const |
|
inlineinherited |
Accessor functions for the data type.
- Returns
- the current value of the class's DataType_t instance.
Definition at line 221 of file AthMonitorAlgorithm.h.
◆ dataTypeStringToEnum()
Convert the data type string from the python configuration to an enum object.
- Returns
- a value in the DataType_t enumeration which matches the input string.
Definition at line 140 of file AthMonitorAlgorithm.cxx.
142 std::string lowerCaseStr =
str;
146 if( lowerCaseStr ==
"userdefined" ) {
148 }
else if( lowerCaseStr ==
"montecarlo" ) {
150 }
else if( lowerCaseStr ==
"collisions" ) {
152 }
else if( lowerCaseStr ==
"cosmics" ) {
154 }
else if( lowerCaseStr ==
"heavyioncollisions" ) {
157 ATH_MSG_WARNING(
"AthMonitorAlgorithm::dataTypeStringToEnum(): Unknown data type "
158 <<
str<<
", returning userDefined.");
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ environment()
Accessor functions for the environment.
- Returns
- the current value of the class's Environment_t instance.
Definition at line 205 of file AthMonitorAlgorithm.h.
◆ envStringToEnum()
Convert the environment string from the python configuration to an enum object.
- Returns
- a value in the Environment_t enumeration which matches the input string.
Definition at line 112 of file AthMonitorAlgorithm.cxx.
114 std::string lowerCaseStr =
str;
118 if( lowerCaseStr ==
"user" ) {
120 }
else if( lowerCaseStr ==
"online" ) {
122 }
else if( lowerCaseStr ==
"tier0" ) {
124 }
else if( lowerCaseStr ==
"tier0raw" ) {
126 }
else if( lowerCaseStr ==
"tier0esd" ) {
128 }
else if( lowerCaseStr ==
"aod" ) {
130 }
else if( lowerCaseStr ==
"altprod" ) {
133 ATH_MSG_WARNING(
"AthMonitorAlgorithm::envStringToEnum(): Unknown environment "
134 <<
str<<
", returning user.");
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode AthMonitorAlgorithm::execute |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtualinherited |
Applies filters and trigger requirements.
Then, calls fillHistograms().
- Parameters
-
ctx | event context for reentrant Athena call |
- Returns
- StatusCode
Definition at line 73 of file AthMonitorAlgorithm.cxx.
78 if (!filterItr->accept()) {
80 return StatusCode::SUCCESS;
87 return StatusCode::SUCCESS;
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ extraOutputDeps()
const DataObjIDColl & AthReentrantAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 79 of file AthReentrantAlgorithm.cxx.
86 return Algorithm::extraOutputDeps();
◆ fillHistograms()
StatusCode MMRawDataMonAlg::fillHistograms |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
adds event to the monitoring histograms
User will overwrite this function. Histogram booking is no longer done in C++. This function is called in execute once the filters are all passed.
- Parameters
-
ctx | forwarded from execute |
- Returns
- StatusCode
Implements AthMonitorAlgorithm.
Definition at line 129 of file MMRawDataMonAlg.cxx.
133 ATH_MSG_DEBUG(
"MMRawDataMonAlg::MM RawData Monitoring Histograms being filled" );
136 ATH_MSG_DEBUG(
"****** mmContainer->size() : " << mm_container->size());
139 MMOverviewHistogramStruct overviewPlots;
140 MMSummaryHistogramStruct summaryPlots[2][16][2][2][4];
141 MMByPhiStruct occupancyPlots[16][2];
156 if (!meTPContainer.isValid()) {
158 return StatusCode::FAILURE;
174 if (!segms.isValid()) {
182 return StatusCode::SUCCESS;
◆ fillMMHistograms()
◆ fillMMOverviewHistograms()
void MMRawDataMonAlg::fillMMOverviewHistograms |
( |
const MMOverviewHistogramStruct & |
vects, |
|
|
MMByPhiStruct(&) |
occupancyPlots[16][2], |
|
|
const int |
lb |
|
) |
| const |
|
private |
Definition at line 259 of file MMRawDataMonAlg.cxx.
262 auto numberofstrips_percluster =
Monitored::Collection(
"numberofstrips_percluster", vects.numberofstrips_percluster);
263 fill(
"mmMonitor", charge_all, numberofstrips_percluster);
269 fill(
"mmMonitor", strip_times, cluster_times, strip_number, statEta_strip);
275 fill(
"mmMonitor", x_mon, y_mon, z_mon, R_mon);
279 for(
int statPhi=0; statPhi<16; ++statPhi) {
280 for(
int iside=0; iside<2; ++iside) {
281 auto& occ_lb = occupancyPlots[statPhi][iside];
283 std::string MM_sideGroup =
"MM_sideGroup" + MM_Side[iside];
284 fill(MM_sideGroup, lb_mon, sector_lb);
292 fill(
"mmMonitor", sector_CSide, sector_ASide, stationPhi_CSide, stationPhi_ASide );
◆ fillMMOverviewVects()
StatusCode MMRawDataMonAlg::fillMMOverviewVects |
( |
const Muon::MMPrepData * |
prd, |
|
|
MMOverviewHistogramStruct & |
vects, |
|
|
MMByPhiStruct(&) |
occupancyPlots[16][2] |
|
) |
| const |
|
private |
Definition at line 185 of file MMRawDataMonAlg.cxx.
188 const std::vector<Identifier>& stripIds = prd->
rdoList();
189 unsigned int nStrips = stripIds.size();
190 const std::vector<uint16_t>& stripNumbers = prd->
stripNumbers();
202 std::vector<short int> strip_times = prd->
stripTimes();
205 float R = std::hypot(
pos.x(),
pos.y());
209 vects.charge_all.push_back(
charge);
210 vects.numberofstrips_percluster.push_back(
nStrips);
211 vects.x_mon.push_back(
pos.x());
212 vects.y_mon.push_back(
pos.y());
213 vects.z_mon.push_back(
pos.z());
214 vects.R_mon.push_back(
R);
223 auto& thisSect = occupancyPlots[sectorPhi-1][iside];
224 const int gap_offset=4;
225 int gas_gap8 = (multiplet==1) ? gas_gap : gas_gap + gap_offset;
230 thisSect.sector_lb.push_back(
bin);
233 vects.sector_CSide.push_back(
bin);
234 vects.stationPhi_CSide.push_back(sectorPhi);
236 vects.sector_ASide.push_back(
bin);
237 vects.stationPhi_ASide.push_back(sectorPhi);
242 float cluster_time = 0;
246 int stationEta_strip =
m_idHelperSvc->mmIdHelper().stationEta(
id);
247 vects.statEta_strip.push_back(stationEta_strip);
248 vects.strip_number.push_back(stripNumbers[sIdx]);
249 vects.strp_times.push_back(strip_times.at(sIdx));
250 cluster_time += strip_times.at(sIdx);
253 cluster_time /= strip_times.size();
254 vects.cl_times.push_back(cluster_time);
256 return StatusCode::SUCCESS;
◆ fillMMSummaryHistograms()
StatusCode MMRawDataMonAlg::fillMMSummaryHistograms |
( |
const MMSummaryHistogramStruct(&) |
vects[2][16][2][2][4] | ) |
const |
|
private |
Definition at line 351 of file MMRawDataMonAlg.cxx.
353 for(
int iside=0; iside<2; ++iside) {
354 std::string MM_sideGroup =
"MM_sideGroup" + MM_Side[iside];
358 for(
int statPhi=0; statPhi<16; ++statPhi) {
359 for(
int multiplet=0; multiplet<2; ++multiplet) {
362 for(
int statEta=0; statEta<2; ++statEta) {
364 for(
int gas_gap=0; gas_gap<4; ++gas_gap) {
365 auto& Vectors = vects[iside][statPhi][statEta][multiplet][gas_gap];
369 if(!Vectors.strip_number.empty())
379 fill(MM_sideGroup, cluster_size, strip_times, cluster_time, charge_perPCB, pcb_mon, pcb_strip_mon, charge_perlayer, cluster_size_perlayer);
383 fill(MM_sideGroup, strip_number, sector_strip);
390 return StatusCode::SUCCESS;
◆ fillMMSummaryVects()
StatusCode MMRawDataMonAlg::fillMMSummaryVects |
( |
const Muon::MMPrepData * |
prd, |
|
|
MMSummaryHistogramStruct(&) |
vects[2][16][2][2][4] |
|
) |
| const |
|
private |
Definition at line 295 of file MMRawDataMonAlg.cxx.
298 const std::vector<Identifier>& stripIds = prd->
rdoList();
301 int thisStationEta =
m_idHelperSvc->mmIdHelper().stationEta(Id);
302 int thisStationPhi =
m_idHelperSvc->mmIdHelper().stationPhi(Id);
303 int thisMultiplet =
m_idHelperSvc->mmIdHelper().multilayer(Id);
306 float thisCharge=prd->
charge()*conversion_charge;
307 std::vector<short int> strip_times = prd->
stripTimes();
313 int iside = (thisStationEta>0) ? 1 : 0;
317 unsigned int csize = stripIds.size();
319 auto& Vectors = vects[iside][
phi-1][sectorEta][thisMultiplet-1][thisGasgap-1];
323 const std::vector<uint16_t>& stripNumbers=prd->
stripNumbers();
324 float cluster_time = 0;
332 Vectors.strp_times.push_back(strip_times.at(sIdx));
333 cluster_time += strip_times.at(sIdx);
335 Vectors.strip_number.push_back(stripNumbers[sIdx]);
342 Vectors.cl_size.push_back(csize);
343 Vectors.pcb.push_back(PCB);
344 cluster_time /= strip_times.size();
345 Vectors.cl_times.push_back(cluster_time);
346 Vectors.charge.push_back(thisCharge);
348 return StatusCode::SUCCESS;
◆ fillMMTrigger()
Definition at line 397 of file MMRawDataMonAlg.cxx.
401 for (
const auto* rdo : *mmtp) {
402 auto sourceID = rdo->sourceID();
403 auto moduleID = rdo->moduleID();
404 int s_side = (sourceID >> 16) == 107 ? 1:-1;
406 int iside= s_side>0 ? s_side : 0;
407 uint s_sector = (moduleID & 0xF) + 1;
408 int oct = (
int)((s_sector-1)/2.);
409 float sector_pos=(45/180.)*
M_PI*oct;
410 if(s_sector%2==0 ) sector_pos=(45*oct+22.5)*
M_PI/180.;
411 if(sector_pos>
M_PI) sector_pos=sector_pos-2*
M_PI;
415 auto event_bcid=rdo->ROD_BCID();
419 std::vector<short unsigned int> art_bcids = rdo->art_BCID();
420 std::vector<unsigned char>
layers=rdo->art_layer();
423 fill(
"mmTrigger", trig_sector, lb_tri);
425 for (
long unsigned int i=0;
i< rdo->art_BCID().
size();
i++ ){
426 auto art_layer=
static_cast<unsigned int>(
layers[
i]);
430 const int rollover=3564;
431 int art_bc=art_bcids[
i];
432 int relative = art_bc - event_bcid;;
433 if (relative > rollover / 2) {
434 relative -= rollover;
435 }
else if (relative <= -rollover / 2) {
436 relative += rollover;
438 if (relative > (rollover-2048) / 2) {
439 relative -= (rollover-2048);
445 fill(
"mmTrigger", art_channel, trig_sector, art_sector_layer, art_deltaBC, art_bc_mon,
bcid, lb_tri, art_deltaBC_perSector);
448 auto bcids =rdo->trig_BCID();
449 auto dthetas=rdo->trig_dTheta();
450 auto rids=rdo->trig_ROI_rID();
451 auto phiids=rdo->trig_ROI_phiID() ;
454 std::unordered_map<int, int> NROIPerBC;
455 for (
int bc : bcids) NROIPerBC[bc]++;
456 for (
const auto& [
value,
count] : NROIPerBC) {
458 fill(
"mmTrigger_roi", nROIPerBC, trig_sector);
461 int nROI=rdo->trig_BCID().size();
462 for (
int i=0;
i< nROI;
i++ ){
463 auto phiID = (phiids[
i] & 0b11111) * ((phiids[
i] >> 5) ? 1 : -1);
465 auto phi_conv = (
phiID-0.5*
sign)*(16./31.)*
M_PI/180. + sector_pos;
466 if(phi_conv>
M_PI)phi_conv = phi_conv - 2*
M_PI;
468 const float z_ref=7824.46;
469 const float r_step=(5000-900)/256.;
470 auto rID =
static_cast<unsigned int>(rids[
i]);
471 float r_conv=r_step*rID+900;
472 float eta_conv=-
log(0.5*
atan(r_conv/z_ref))*s_side;
488 fill(
"mmTrigger_roi", deltaBC, phiid, rid, trig_sector, phi_roi, eta_roi,r_roi, lb_tri, rid_sector, phiid_sector, deltaBC_perSector);
489 if(s_side>0)
fill(
"mmTrigger_roi", x_roi_sideA, y_roi_sideA);
490 if(s_side<0)
fill(
"mmTrigger_roi", x_roi_sideC, y_roi_sideC);
◆ filterPassed()
virtual bool AthReentrantAlgorithm::filterPassed |
( |
const EventContext & |
ctx | ) |
const |
|
inlinevirtualinherited |
◆ get_bin_for_feb_occ()
int MMRawDataMonAlg::get_bin_for_feb_occ |
( |
const int |
gas_gap, |
|
|
const int |
FEB |
|
) |
| const |
|
private |
Definition at line 136 of file MMRawDataUtils.cxx.
138 static const int max_feb = 16;
140 return (gas_gap-1)*max_feb + (FEB-1);
◆ get_bin_for_occ()
int MMRawDataMonAlg::get_bin_for_occ |
( |
const int |
gas_gap, |
|
|
const int |
PCB |
|
) |
| const |
|
private |
Definition at line 128 of file MMRawDataUtils.cxx.
130 static const int max_pcb = 8;
132 return (gas_gap-1)*max_pcb + (PCB-1);
◆ get_bin_for_occ_ASide_hist()
int MMRawDataMonAlg::get_bin_for_occ_ASide_hist |
( |
const int |
stationEta, |
|
|
const int |
multiplet, |
|
|
const int |
gas_gap |
|
) |
| const |
|
private |
Definition at line 106 of file MMRawDataUtils.cxx.
108 static const int max_gas_gap = 4;
109 static const int max_multiplet = 2;
111 return (
stationEta-1)*(max_gas_gap*max_multiplet)+(multiplet-1)*max_gas_gap +(gas_gap-1);
◆ get_bin_for_occ_ASide_pcb_eta1_hist()
int MMRawDataMonAlg::get_bin_for_occ_ASide_pcb_eta1_hist |
( |
const int |
stationEta, |
|
|
const int |
multiplet, |
|
|
const int |
gas_gap, |
|
|
const int |
PCB |
|
) |
| const |
|
private |
Definition at line 167 of file MMRawDataUtils.cxx.
169 static const int max_pcb = 5;
170 static const int max_gas_gap = 4;
173 return (multiplet-1)*max_gas_gap*max_pcb+ (gas_gap-1)*max_pcb + (PCB-1);
◆ get_bin_for_occ_ASide_pcb_eta2_hist()
int MMRawDataMonAlg::get_bin_for_occ_ASide_pcb_eta2_hist |
( |
const int |
stationEta, |
|
|
const int |
multiplet, |
|
|
const int |
gas_gap, |
|
|
const int |
PCB |
|
) |
| const |
|
private |
Definition at line 156 of file MMRawDataUtils.cxx.
158 static const int max_pcb = 3;
159 static const int max_gas_gap = 4;
162 return (multiplet-1)*max_gas_gap*max_pcb+ (gas_gap-1)*max_pcb + (PCB-1);
◆ get_bin_for_occ_CSide_hist()
int MMRawDataMonAlg::get_bin_for_occ_CSide_hist |
( |
const int |
stationEta, |
|
|
const int |
multiplet, |
|
|
const int |
gas_gap |
|
) |
| const |
|
private |
Definition at line 97 of file MMRawDataUtils.cxx.
99 static const int max_gas_gap = 4;
100 static const int max_multiplet = 2;
102 return (
stationEta+2)*(max_gas_gap*max_multiplet)+(multiplet-1)*max_gas_gap +(gas_gap-1);
◆ get_bin_for_occ_CSide_pcb_eta1_hist()
int MMRawDataMonAlg::get_bin_for_occ_CSide_pcb_eta1_hist |
( |
const int |
stationEta, |
|
|
const int |
multiplet, |
|
|
const int |
gas_gap, |
|
|
const int |
PCB |
|
) |
| const |
|
private |
Definition at line 145 of file MMRawDataUtils.cxx.
147 static const int max_pcb = 5;
148 static const int max_gas_gap = 4;
151 return (multiplet-1)*max_gas_gap*max_pcb+ (gas_gap-1)*max_pcb + (PCB-1);
◆ get_bin_for_occ_CSide_pcb_eta2_hist()
int MMRawDataMonAlg::get_bin_for_occ_CSide_pcb_eta2_hist |
( |
const int |
stationEta, |
|
|
const int |
multiplet, |
|
|
const int |
gas_gap, |
|
|
const int |
PCB |
|
) |
| const |
|
private |
Definition at line 116 of file MMRawDataUtils.cxx.
118 static const int max_pcb = 3;
119 static const int max_gas_gap = 4;
122 return (multiplet-1)*max_gas_gap*max_pcb+ (gas_gap-1)*max_pcb + (PCB-1);
◆ get_bin_for_occ_lb_ASide_pcb_eta1_hist()
int MMRawDataMonAlg::get_bin_for_occ_lb_ASide_pcb_eta1_hist |
( |
const int |
stationEta, |
|
|
const int |
multiplet, |
|
|
const int |
gas_gap, |
|
|
const int |
PCB, |
|
|
int |
isector |
|
) |
| const |
|
private |
Definition at line 200 of file MMRawDataUtils.cxx.
202 static const int max_pcb = 5;
203 static const int max_gas_gap = 4;
204 static const int max_isector = 2;
207 return (multiplet-1)*max_gas_gap*max_pcb*max_isector+ (gas_gap-1)*max_pcb*max_isector + isector*max_pcb + (PCB-1);
◆ get_bin_for_occ_lb_ASide_pcb_eta2_hist()
int MMRawDataMonAlg::get_bin_for_occ_lb_ASide_pcb_eta2_hist |
( |
const int |
stationEta, |
|
|
const int |
multiplet, |
|
|
const int |
gas_gap, |
|
|
const int |
PCB, |
|
|
const int |
isector |
|
) |
| const |
|
private |
Definition at line 211 of file MMRawDataUtils.cxx.
213 static const int max_pcb = 3;
214 static const int max_gas_gap = 4;
215 static const int max_isector = 2;
218 return (multiplet-1)*max_gas_gap*max_pcb*max_isector+ (gas_gap-1)*max_pcb*max_isector + isector*max_pcb + (PCB-1);
◆ get_bin_for_occ_lb_CSide_pcb_eta1_hist()
int MMRawDataMonAlg::get_bin_for_occ_lb_CSide_pcb_eta1_hist |
( |
const int |
stationEta, |
|
|
const int |
multiplet, |
|
|
const int |
gas_gap, |
|
|
const int |
PCB, |
|
|
int |
isector |
|
) |
| const |
|
private |
Definition at line 189 of file MMRawDataUtils.cxx.
191 static const int max_pcb = 5;
192 static const int max_gas_gap = 4;
193 static const int max_isector = 2;
196 return (multiplet-1)*max_gas_gap*max_pcb*max_isector+ (gas_gap-1)*max_pcb*max_isector + isector*max_pcb + (PCB-1);
◆ get_bin_for_occ_lb_CSide_pcb_eta2_hist()
int MMRawDataMonAlg::get_bin_for_occ_lb_CSide_pcb_eta2_hist |
( |
const int |
stationEta, |
|
|
const int |
multiplet, |
|
|
const int |
gas_gap, |
|
|
const int |
PCB, |
|
|
const int |
isector |
|
) |
| const |
|
private |
Definition at line 177 of file MMRawDataUtils.cxx.
179 static const int max_pcb = 3;
180 static const int max_gas_gap = 4;
181 static const int max_isector = 2;
184 return (multiplet-1)*max_gas_gap*max_pcb*max_isector+ (gas_gap-1)*max_pcb*max_isector + isector*max_pcb+ (PCB-1);
◆ get_bin_for_occ_lb_pcb_hist()
int MMRawDataMonAlg::get_bin_for_occ_lb_pcb_hist |
( |
const int |
multiplet, |
|
|
const int |
gas_gap, |
|
|
const int |
PCB |
|
) |
| const |
|
private |
Definition at line 222 of file MMRawDataUtils.cxx.
224 static const int max_pcb = 8;
225 static const int max_gas_gap = 4;
227 return (multiplet-1)*max_gas_gap*max_pcb + (gas_gap-1)*max_pcb + (PCB-1);
◆ get_FEB_from_channel()
int MMRawDataMonAlg::get_FEB_from_channel |
( |
const int |
channel, |
|
|
const int |
stEta |
|
) |
| const |
|
private |
Definition at line 34 of file MMRawDataUtils.cxx.
51 }
else if(fabs(stEta)==2){
61 throw std::invalid_argument(
"channel is not valid!" );
◆ get_PCB_from_channel()
int MMRawDataMonAlg::get_PCB_from_channel |
( |
const int |
channel | ) |
const |
|
private |
Definition at line 23 of file MMRawDataUtils.cxx.
31 throw std::invalid_argument(
"channel is not valid!" );
◆ get_sectorEta_from_stationEta()
int MMRawDataMonAlg::get_sectorEta_from_stationEta |
( |
const int |
stationEta | ) |
const |
|
private |
◆ get_sectorPhi_from_stationPhi_stName()
int MMRawDataMonAlg::get_sectorPhi_from_stationPhi_stName |
( |
const int |
stationPhi, |
|
|
const std::string & |
stName |
|
) |
| const |
|
private |
Definition at line 64 of file MMRawDataUtils.cxx.
83 throw std::invalid_argument(
"stationPhi and stName are not valid!" );
◆ GetEventInfo()
Return a ReadHandle for an EventInfo object (get run/event numbers, etc.)
- Parameters
-
ctx | EventContext for the event |
- Returns
- a SG::ReadHandle<xAOD::EventInfo>
Definition at line 107 of file AthMonitorAlgorithm.cxx.
◆ getGroup()
Get a specific monitoring tool from the tool handle array.
Finds a specific GenericMonitoringTool instance from the list of monitoring tools (a ToolHandleArray). Throws a FATAL warning if the object found is empty.
- Parameters
-
name | string name of the desired tool |
- Returns
- reference to the desired monitoring tool
Definition at line 164 of file AthMonitorAlgorithm.cxx.
171 if (!isInitialized()) {
173 "It seems that the AthMonitorAlgorithm::initialize was not called "
174 "in derived class initialize method");
178 [](
const std::string&
s,
auto h) { return s +
"," + h.first; });
179 ATH_MSG_FATAL(
"The tool " <<
name <<
" could not be found in the tool array of the "
180 <<
"monitoring algorithm " <<
m_name <<
". This probably reflects a discrepancy between "
181 <<
"your python configuration and c++ filling code. Note: your available groups are {"
182 << available <<
"}.");
◆ getTrigDecisionTool()
Get the trigger decision tool member.
The trigger decision tool is used to check whether a specific trigger is passed by an event.
- Returns
- m_trigDecTool
Definition at line 189 of file AthMonitorAlgorithm.cxx.
◆ initialize()
StatusCode MMRawDataMonAlg::initialize |
( |
| ) |
|
|
overridevirtual |
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ isClonable()
bool AthReentrantAlgorithm::isClonable |
( |
| ) |
const |
|
overridevirtualinherited |
Specify if the algorithm is clonable.
Reentrant algorithms are clonable.
Reimplemented in Simulation::BeamEffectsAlg, InDet::SiTrackerSpacePointFinder, InDet::SCT_Clusterization, InDet::SiSPSeededTrackFinder, SCTRawDataProvider, InDet::GNNSeedingTrackMaker, SCT_PrepDataToxAOD, RoIBResultToxAOD, SCT_CablingCondAlgFromCoraCool, SCT_ReadCalibDataTestAlg, SCT_CablingCondAlgFromText, InDet::SiSPGNNTrackMaker, SCT_ReadCalibChipDataTestAlg, SCT_TestCablingAlg, SCT_ConfigurationConditionsTestAlg, ITkPixelCablingAlg, ITkStripCablingAlg, SCTEventFlagWriter, SCT_ConditionsSummaryTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_TdaqEnabledTestAlg, SCT_SiliconConditionsTestAlg, SCTSiLorentzAngleTestAlg, SCT_ByteStreamErrorsTestAlg, SCT_ConditionsParameterTestAlg, SCT_FlaggedConditionTestAlg, SCT_StripVetoTestAlg, SCT_RawDataToxAOD, and SCTSiPropertiesTestAlg.
Definition at line 44 of file AthReentrantAlgorithm.cxx.
◆ MMEfficiency()
Definition at line 747 of file MMRawDataMonAlg.cxx.
749 MMEfficiencyHistogramStruct effPlots[2][2][16][2][4];
750 MMEfficiencyHistogramStruct Gaps[2][2][16][2];
752 static const std::array<std::string,2> MM_Side = {
"CSide",
"ASide"};
753 static const std::array<std::string,2> EtaSector = {
"1",
"2"};
760 float pt_trk = meTP->pt();
764 if(!meTrack)
continue;
775 if (!cluster)
continue;
785 int iside = (stEta > 0) ? 1 : 0;
786 if( ! (
std::find( Gaps[iside][abs_stEta][
phi-1][
multi-1].nGaps.begin(), Gaps[iside][abs_stEta][
phi-1][
multi-1].nGaps.end(),
gap ) != Gaps[iside][abs_stEta][
phi-1][
multi-1].nGaps.end()) )
787 Gaps[iside][abs_stEta][
phi-1][
multi-1].nGaps.push_back(
gap);
789 if(effPlots[iside][abs_stEta][
phi-1][
multi-1][
gap-1].
num.size()==0) effPlots[iside][abs_stEta][
phi-1][
multi-1][
gap-1].
num.push_back(pcb-1);
793 unsigned int nGaptag=3;
795 for(
int s=0;
s<2; ++
s) {
796 std::string MM_sideGroup =
"MM_sideGroup"+MM_Side[
s];
797 for(
int e=0;
e<2; ++
e) {
798 for(
int p=0;
p<16; ++
p) {
799 for(
int m=0;
m<2; ++
m) {
800 if(Gaps[
s][
e][
p][
m].nGaps.size()<nGaptag)
continue;
801 if(Gaps[
s][
e][
p][
m].nGaps.size()>4)
continue;
804 for (
unsigned int g=0;
g<Gaps[
s][
e][
p][
m].nGaps.size(); ++
g)
805 gapsum+= Gaps[
s][
e][
p][
m].nGaps.at(
g);
806 int missing_gap=10-gapsum-1;
808 if(Gaps[
s][
e][
p][
m].nGaps.size()==4){
809 for (
unsigned int ga=0; ga<Gaps[
s][
e][
p][
m].nGaps.size(); ++ga){
810 for (
unsigned int i=0;
i<effPlots[
s][
e][
p][
m][ga].num.size(); ++
i){
811 int pcb = effPlots[
s][
e][
p][
m][ga].num.at(
i);
818 fill(MM_sideGroup, traversed_pcb, traversed_gap, hitcut);
822 int ref_gap = missing_gap+1;
823 if(missing_gap==3) ref_gap=0;
825 ATH_MSG_FATAL(
"ref_gap is out of range in MMRawDataMonAlg::MMEfficiency");
828 int ref_pcb=effPlots[
s][
e][
p][
m][ref_gap].num.at(0);
834 fill(MM_sideGroup, traversed_pcb, traversed_gap, hitcut);
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ parseList()
StatusCode AthMonitorAlgorithm::parseList |
( |
const std::string & |
line, |
|
|
std::vector< std::string > & |
result |
|
) |
| const |
|
virtualinherited |
Parse a string into a vector.
The input string is a single long string of all of the trigger names. It parses this string and turns it into a vector, where each element is one trigger or trigger category.
- Parameters
-
line | The input string. |
result | The parsed output vector of strings. |
- Returns
- StatusCode
Definition at line 336 of file AthMonitorAlgorithm.cxx.
338 std::stringstream
ss(
line);
342 while ( std::getline(
ss,
item,
',') ) {
343 std::stringstream iss(
item);
348 return StatusCode::SUCCESS;
◆ renounce()
◆ renounceArray()
◆ setFilterPassed()
virtual void AthReentrantAlgorithm::setFilterPassed |
( |
bool |
state, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
inlinevirtualinherited |
◆ sysExecute()
StatusCode AthReentrantAlgorithm::sysExecute |
( |
const EventContext & |
ctx | ) |
|
|
overridevirtualinherited |
Execute an algorithm.
We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.
Definition at line 67 of file AthReentrantAlgorithm.cxx.
69 return Gaudi::Algorithm::sysExecute (ctx);
◆ sysInitialize()
StatusCode AthReentrantAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.
Reimplemented in InputMakerBase, and HypoBase.
Definition at line 96 of file AthReentrantAlgorithm.cxx.
107 if ( cs.retrieve().isFailure() ) {
109 return StatusCode::SUCCESS;
111 if (cs->regHandle(
this,*
h).isFailure()) {
112 sc = StatusCode::FAILURE;
113 ATH_MSG_ERROR(
"unable to register WriteCondHandle " <<
h->fullKey()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ trigChainsArePassed()
bool AthMonitorAlgorithm::trigChainsArePassed |
( |
const std::vector< std::string > & |
vTrigNames | ) |
const |
|
inherited |
Check whether triggers are passed.
For the event, use the trigger decision tool to check that at least one of the triggers listed in the supplied vector is passed.
- Parameters
-
vTrigNames | List of trigger names. |
- Returns
- If empty input, default to true. If at least one trigger is specified, returns whether at least one trigger was passed.
Definition at line 194 of file AthMonitorAlgorithm.cxx.
198 if (vTrigNames.empty())
return true;
210 bool expressPass = passedBits & TrigDefs::Express_passed;
217 return group->isPassed();
◆ updateVHKA()
◆ m_cut_pt
Gaudi::Property<float> MMRawDataMonAlg::m_cut_pt {this,"cut_pt",15000} |
|
private |
◆ m_dataType
◆ m_dataTypeStr
Gaudi::Property<std::string> AthMonitorAlgorithm::m_dataTypeStr {this,"DataType","userDefined"} |
|
protectedinherited |
◆ m_defaultLBDuration
Gaudi::Property<float> AthMonitorAlgorithm::m_defaultLBDuration {this,"DefaultLBDuration",60.} |
|
protectedinherited |
◆ m_detailLevel
Gaudi::Property<int> AthMonitorAlgorithm::m_detailLevel {this,"DetailLevel",0} |
|
protectedinherited |
◆ m_DetectorManagerKey
◆ m_detStore
◆ m_do_mm_overview
Gaudi::Property<bool> MMRawDataMonAlg::m_do_mm_overview {this,"do_mm_overview",true} |
|
private |
◆ m_do_stereoCorrection
Gaudi::Property<bool> MMRawDataMonAlg::m_do_stereoCorrection {this,"do_stereoCorrection",false} |
|
private |
◆ m_doDetailedHists
Gaudi::Property<bool> MMRawDataMonAlg::m_doDetailedHists {this,"doDetailedHists",true} |
|
private |
◆ m_doMMESD
Gaudi::Property<bool> MMRawDataMonAlg::m_doMMESD {this,"DoMMESD",true} |
|
private |
◆ m_DQFilterTools
ToolHandleArray<IDQFilterTool> AthMonitorAlgorithm::m_DQFilterTools {this,"FilterTools",{}} |
|
protectedinherited |
◆ m_dummy
◆ m_enforceExpressTriggers
Gaudi::Property<bool> AthMonitorAlgorithm::m_enforceExpressTriggers |
|
privateinherited |
Initial value:{this,
"EnforceExpressTriggers", false,
"Requires that matched triggers made the event enter the express stream"}
Definition at line 372 of file AthMonitorAlgorithm.h.
◆ m_environment
◆ m_environmentStr
Gaudi::Property<std::string> AthMonitorAlgorithm::m_environmentStr {this,"Environment","user"} |
|
protectedinherited |
Environment string pulled from the job option and converted to enum.
Definition at line 352 of file AthMonitorAlgorithm.h.
◆ m_EventInfoKey
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects |
|
privateinherited |
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Empty if no symlinks were found.
Definition at line 153 of file AthReentrantAlgorithm.h.
◆ m_fileKey
Gaudi::Property<std::string> AthMonitorAlgorithm::m_fileKey {this,"FileKey",""} |
|
protectedinherited |
◆ m_idHelperSvc
◆ m_lbDurationDataKey
◆ m_lumiDataKey
◆ m_meTrkKey
◆ m_MMContainerKey
◆ m_mmtpRdoKey
◆ m_muonKey
◆ m_muonSelectionTool
◆ m_name
std::string AthMonitorAlgorithm::m_name |
|
privateinherited |
◆ m_segm_type
◆ m_toolLookupMap
std::unordered_map<std::string, size_t> AthMonitorAlgorithm::m_toolLookupMap |
|
privateinherited |
◆ m_tools
◆ m_trigDecTool
◆ m_triggerChainString
Gaudi::Property<std::string> AthMonitorAlgorithm::m_triggerChainString {this,"TriggerChain",""} |
|
protectedinherited |
Trigger chain string pulled from the job option and parsed into a vector.
Definition at line 355 of file AthMonitorAlgorithm.h.
◆ m_trigLiveFractionDataKey
◆ m_useLumi
Gaudi::Property<bool> AthMonitorAlgorithm::m_useLumi {this,"EnableLumi",false} |
|
protectedinherited |
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_vTrigChainNames
std::vector<std::string> AthMonitorAlgorithm::m_vTrigChainNames |
|
protectedinherited |
The documentation for this class was generated from the following files:
xAOD::MuonContainer * muonContainer
Gaudi::Property< bool > m_doMMESD
SG::ReadHandleKey< Muon::MMPrepDataContainer > m_MMContainerKey
int get_bin_for_occ_ASide_hist(const int stationEta, const int multiplet, const int gas_gap) const
constexpr uint8_t stationPhi
station Phi 1 to 8
Const iterator class for DataVector/DataList.
Class to represent MM measurements.
Gaudi::Property< bool > m_do_mm_overview
virtual const Amg::Vector3D & globalPosition() const override final
Returns the global position.
Scalar phi() const
phi method
PublicToolHandle< Trig::TrigDecisionTool > m_trigDecTool
Tool to tell whether a specific trigger is passed.
std::string find(const std::string &s)
return a remapped string
const_pointer_type cptr()
Dereference the pointer.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_meTrkKey
SG::ReadHandleKey< xAOD::NSWMMTPRDOContainer > m_mmtpRdoKey
Gaudi::Property< bool > m_do_stereoCorrection
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
const Trk::TrackStates * trackStateOnSurfaces() const
return a pointer to a const DataVector of const TrackStateOnSurfaces.
Gaudi::Property< float > m_cut_pt
bool accumulate(AccumulateMap &map, std::vector< module_t > const &modules, FPGATrackSimMatrixAccumulator const &acc)
Accumulates an accumulator (e.g.
int get_bin_for_feb_occ(const int gas_gap, const int FEB) const
std::vector< std::string > m_vTrigChainNames
Vector of trigger chain names parsed from trigger chain string.
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
SG::ReadHandleKey< xAOD::EventInfo > m_EventInfoKey
Key for retrieving EventInfo from StoreGate.
SG::ReadHandleKey< xAOD::MuonContainer > m_muonKey
void fillMMOverviewHistograms(const MMOverviewHistogramStruct &vects, MMByPhiStruct(&occupancyPlots)[16][2], const int lb) const
virtual const MMPrepData * prepRawData() const
Returns the MMPrepData - is a TRT_DriftCircle in this scope.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
const std::vector< Identifier > & rdoList() const
return the List of rdo identifiers (pointers)
std::unordered_map< std::string, size_t > m_toolLookupMap
AthMonitorAlgorithm::Environment_t m_environment
Instance of the Environment_t enum.
int get_PCB_from_channel(const int channel) const
std::string stime()
return the current data and time
def gap(flags, cells_name, *args, **kw)
bool trigChainsArePassed(const std::vector< std::string > &vTrigNames) const
Check whether triggers are passed.
void clusterFromSegments(const Trk::SegmentCollection *, const int lb) const
void MMEfficiency(const xAOD::TrackParticleContainer *) const
ValuesCollection< T > Collection(std::string name, const T &collection)
Declare a monitored (double-convertible) collection.
virtual void setOwner(IDataHandleHolder *o)=0
const ToolHandle< GenericMonitoringTool > m_dummy
SG::ReadHandleKey< Trk::SegmentCollection > m_segm_type
int get_bin_for_occ_CSide_hist(const int stationEta, const int multiplet, const int gas_gap) const
void fillMMTrigger(const xAOD::NSWMMTPRDOContainer *, const int) const
ToolHandleArray< IDQFilterTool > m_DQFilterTools
Array of Data Quality filter tools.
int get_FEB_from_channel(const int channel, const int stEta) const
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
::StatusCode StatusCode
StatusCode definition for legacy code.
void tolower(std::string &s)
virtual StatusCode fillHistograms(const EventContext &ctx) const =0
adds event to the monitoring histograms
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
int get_sectorEta_from_stationEta(const int stationEta) const
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
StatusCode fillMMOverviewVects(const Muon::MMPrepData *, MMOverviewHistogramStruct &vects, MMByPhiStruct(&occupancyPlots)[16][2]) const
int get_sectorPhi_from_stationPhi_stName(const int stationPhi, const std::string &stName) const
double R(const INavigable4Momentum *p1, const double v_eta, const double v_phi)
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
const std::vector< uint16_t > & stripNumbers() const
returns the list of strip numbers
void fill(const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const
Fills a vector of variables to a group by reference.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Template to hold collections of MuonPrepRawData objects.
SG::ReadHandle< xAOD::EventInfo > GetEventInfo(const EventContext &) const
Return a ReadHandle for an EventInfo object (get run/event numbers, etc.)
virtual bool isValid() override final
Can the handle be successfully dereferenced?
AthMonitorAlgorithm::DataType_t m_dataType
Instance of the DataType_t enum.
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
const std::vector< short int > & stripTimes() const
returns the list of times
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Class to represent calibrated clusters formed from TGC strips.
int nStrips(const MuonGM::TgcReadoutElement &readoutEle, int layer)
Identifier identify() const
return the identifier
ToolHandleArray< GenericMonitoringTool > m_tools
Array of Generic Monitoring Tools.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
represents the track state (measurement, material, fit parameters and quality) at a surface.
StatusCode fillMMSummaryVects(const Muon::MMPrepData *, MMSummaryHistogramStruct(&vects)[2][16][2][2][4]) const
std::string to_string(const DetectorType &type)
virtual StatusCode sysInitialize() override
Override sysInitialize.
double charge(const T &p)
Gaudi::Property< bool > m_enforceExpressTriggers
StatusCode initialize(bool used=true)
setEventNumber setTimeStamp bcid
StatusCode fillMMHistograms(const Muon::MMPrepData *) const
Eigen::Matrix< double, 3, 1 > Vector3D
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
Gaudi::Property< bool > m_doDetailedHists
virtual StatusCode initialize() override
initialize
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const DataVector< const MeasurementBase > * measurementsOnTrack() const
return a pointer to a vector of MeasurementBase (NOT including any that come from outliers).
#define ATH_MSG_WARNING(x)
Identifier identify() const
return the identifier -extends MeasurementBase
StatusCode fillMMSummaryHistograms(const MMSummaryHistogramStruct(&vects)[2][16][2][2][4]) const
void clusterFromTrack(const xAOD::TrackParticleContainer *, const int lb) const
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Class describing a TrackParticle.
Declare a monitored scalar variable.
constexpr uint8_t stationEta
1 to 3
int charge() const
Returns the AD.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
@ Measurement
This is a measurement, and will at least contain a Trk::MeasurementBase.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
Muon::NSW_PadTriggerSegment segment(const NSWL1::PadTrigger &data)