Skip to content
Snippets Groups Projects
Commit 6cf4e1db authored by Tamara Vazquez Schroeder's avatar Tamara Vazquez Schroeder
Browse files

Merge branch '21.0-AFPToF_pulseLength' into '21.0'

Add pulse length information to AFP time-of-flight

See merge request !6504

Former-commit-id: 97a75554
parents d2c06a9a 69974629
No related branches found
No related tags found
111 merge requests!76035Updated rel21 number,!66713update MadGraph version,!63304adding missing electron iso WPs (Tight_VarRad, Loose_VarRad, TightTrackOnly_VarRad),!62053Merge branch 'sh_xrd_warning' into 'master',!61521fix maxPVrefit,!59663fixed a typo in HIGG8D1 format (followup of https://gitlab.cern.ch/atlas/athena/-/merge_requests/59575),!51680Add functionality to MultiBjetFilter,!50754Return TruthTaus from truth matching tool in SUSY tools,!48850Added new HDBS derivation (HDBS3),!46643Draft:Adding MET Significance in AT,!46457Draft: Adding the tools to run over data,!46454Draft: Adding the tools to be able to run over data,!46320Draft: Adding support for Leading3SignalJets strategy,!45689Bug fix: Use wrong vector to calculate largest bin number in findBin(),!45211Update in the FFJetSmearingTool,!45045WIP: Include another condition for hit merging in FCS_StepInfoSD.cxx,!45043Merge branch 'Update-DAOD_IDNCB' into '21.2',!44869Draft: Update to candidate store,!44864Draft: WIP- MuonUncorrelateSystematics,!44215added ART tests,!43718Modification of EXOT17.py for fractionally charged particle search,!42752Fix for TopRecon UserHook,!4217921.9-first_steps-InDetTrackingGeometryXML,!42171Add LAr cell DQ plots to UPC stream,!41097TruthJetFilter phi filter,!40581Fix crash in egamma topocluster decorator,!40342WIP: ATR-22546 - add missing trigger to MC16a,!39162Draft: Insert BCM' support,!38765Bis78 cabling,!38102Add SameParticleHardScatteringFilter,!37848Add TrigRingerRings to EGAM3, EGAM4 and EGAM9,!37483Fix in monitoring of Pixel FE errors,!36893Fix size of RPC active region in BIS78 and strip material,!36766Truth class fallback max dr,!36648Rivet doc update,!3645821.9: Improving material map description (ATLITKSW-127),!36293WIP pixel updates,!35816Add HardScatterParticles into the EXOT8 Derivation,!35273Fix JETM1: add back TruthEvents,!34993KF-input adding jXERHO to the AOD outputs,!34864LH rings in front ot HR rigs,!34763Fix L1_4jJ15.0ETA25 item definition (ATR-21261),!3473421.0 fix dq servers,!34244WIP: 21.2 topq1 add rc jets 2020 06 27,!34182Merge new MCTruthClassifier developments into master,!34164Use allMuons instead oc combinedOnly for BPHY15,!33996WIP: Correct MM zpositions,!33707WIP: Fixes for the updated Powheg Wt_DR process, and removal of Wt_DR_onshellW and Wt_DS_onshellW processes,!33109Add delta-R to nearest VR track jet decoration,!33012Adding Prompt Lepton Improved Veto to TOPQ,!3297121.6 parameter dict pythia fixes,!3291021.3 salva s0,!3288421.0 salva s8,!32637WIP: Add tracks in R=0.4 jets to STDM11,!32353WIP: Fix rare bug in jet smearing RNG seed,!3217421.9 - Bug fix for test stream creation in RD53BEncodingTool,!32173H7 lhe interface,!32051Fix of compilation warnings in CPAnalysisExamples,!31371Add missing copyright headings,!31361WIP: AnalysisTop Update - New Muon Isolation WPs included,!3135321.3,!3134821.9 README Update,!31345Add HEC sampling fractions macros,!31136added also PUsub for LargeR jets,!31123WIP: Master ttmdev,!30796Reducing number of warnings in MuonEfficiencyCorrections when missing dRJet decoration,!3043421.6 mg,!3036121.9 fixing bug with layer indices in PixelRDOAnalysis,!30295Move from boost::filesystem to std::filesystem,!29617IDPerfmonZmumu updates,!29454Idpvm 21.0 fix typo in trackselection config,!29180WIP: Add multiplicity calculations to JetEtMiss code,!29085TRT modification for fractional charged particles,!28623Overlay as part of FastChain transform in 21.3,!28497ART tests - fixing the bugs,!27685update MG version to 2.6.7p3.atlas4,!27668Massimos 21.3 bis78,!27299WIP: Turning b-jet thinning off in SUSY1 (permanent?),!27254WIP: Exclusive jets request -- Fix ExclusiveJets algo / ATR-17320,!27094JETM8 UFO fix,!26790Fixes for Simulation ART jobs (ATLASSIM-4309),!26747Update frozen shower generation scripts and code to be compatible with recent developments,!26641Rename member functions to start with lower case,!26592Master upload 2018 global monitoring scripts p2,!2618221.0 z counting,!25405Add new ART test: test_physics_pp_v8_chainorder_build.sh,!2498621.6 transf,!24487Time-stamped PFlow containers in output DAOD,!24347Electron-in-jet and overlap removal interplay fixed,!24210WIP: Add syst for r21 vs r20.7 differences to defaults,!2420321.3 l1 muon 00 - new MuCTPI_RDO.h,!24037Make DCS Calculator dependent on sqlalchemy; fix python code quality issues,!23744New trigger derivation for jet substructure,!23377WIP pixel ID scheme for ITk,!23330Inner Detector create misalignments: radial distortions,!2325521.0 z counting,!22695Master salva id perf mon,!2230421.0-ART_test-InDetPhysValMonitoring,!22214add an utility function to TrigT1TGCRecRoiSvc for storing ROI position and the eta/phi size,!22172changes related to 1-3 points in ATR-19579,!22124Changes related to ticket 19579,!22118Remove cabling information for new thresholds,!21684WIP: test push into tdaq-htt,!21621Updating fJVT WP with new recommendations in TopCPTools,!2153821.0-ART_test-InDetPhysValMonitoring,!21325Tilecal new laser unpack 2019 02 19,!21304WIP: Fix ATR-19377 L1Topo vbs alg,!2117721.3 po bugfixes,!21039Merging in features for HTT Bank Generation,!2089821.2 rpv1l,!20518Mydev
......@@ -64,8 +64,10 @@ namespace xAOD {
/// @brief Lenght of the signal pulse which is proportional to the signal
/// amplitude
///
/// The returned value is roughly lenght of the signal above
/// threshold expressed in nanoseconds.
/// The returned value is lenght of the signal above
/// threshold expressed in nanoseconds. Available values should be
/// multiples of 0.521. Pulse lenght of 1 nanosecond corresponds
/// roughtly to signal of about 67 mV.
float pulseLength() const;
void setPulseLength(float pulseLength);
......
......@@ -159,6 +159,7 @@ StatusCode AFP_ByteStream2RawCnv::fillCollection(const OFFLINE_FRAGMENTS_NAMESPA
ToFData.setHeader( m_wordReadout.getBits (23, 21) );
ToFData.setEdge( m_wordReadout.getBits (20, 20) );
ToFData.setChannel( m_wordReadout.getBits (19, 16) );
ToFData.setPulseLength( m_wordReadout.getBits (15, 10) );
ToFData.setTime( m_wordReadout.getBits (9, 0) );
setDataHeader (&ToFData);
......
......@@ -119,7 +119,7 @@ void AFP_Raw2DigiTool::newXAODHitToF (xAOD::AFPToFHitContainer* tofHitContainer,
const uint32_t hitLink = data.link();
const unsigned int robID = collection.robId();
xAODToFHit->setTime(data.time()*s_timeConversionFactor);
xAODToFHit->setPulseLength(0); // currently there is no information in raw data about pulse length
xAODToFHit->setPulseLength(data.pulseLength()*s_pulseLengthFactor);
xAODToFHit->setHptdcChannel(data.channel());
// set station ID
......
......@@ -52,6 +52,11 @@ protected:
/// The value of the factor is 25/1024 nanoseconds
static constexpr double s_timeConversionFactor = 25./1024.;
/// @brief Factor converting pulse length to time
///
/// The value of the factor is 0.521 nanoseconds
static constexpr double s_pulseLengthFactor = 0.521;
/// @brief Function that transforms time-over-threshold to charge
///
/// Transformation function can be set in steering cards
......
......@@ -32,6 +32,10 @@ public:
uint32_t time() const {return m_time;}
void setTime(const uint32_t time) {m_time = time;}
/// @copydoc AFP_ToFRawData::m_pulseLength
uint32_t pulseLength() const {return m_pulseLength;}
void setPulseLength(const uint32_t pulseLength) {m_pulseLength = pulseLength;}
private:
/// @brief Value of 9-11 most significant bits
///
......@@ -61,5 +65,12 @@ private:
/// In the following record: `xxxx xxxx xxxx xxxx xxxx xxtt tttt tttt`
/// it means bits marked with `t`. Contains information about time.
uint32_t m_time;
/// @brief Value of 11-16 least significant bits
///
/// In the following record: `xxxx xxxx xxxx xxxx LLLL LLxx xxxx xxxx`
/// it means bits marked with `L`. Contains information how long
/// signal from the bar was above threshold.
uint32_t m_pulseLength;
};
#endif
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