dataprep status
play

DataPrep Status DUNE 35-ton simulaDon and reconstrucDon - PowerPoint PPT Presentation

DataPrep Status DUNE 35-ton simulaDon and reconstrucDon David Adams BNL July 27, 2016 IntroducDon Developing new DataPrep module Extracts raw data


  1. DataPrep ¡Status ¡ DUNE ¡35-­‑ton ¡simulaDon ¡and ¡ reconstrucDon ¡ David ¡Adams ¡ BNL ¡ July ¡27, ¡2016 ¡

  2. IntroducDon ¡ Developing ¡new ¡DataPrep ¡module ¡ Extracts ¡raw ¡data ¡from ¡larsoK ¡container ¡and ¡prepares ¡for ¡use ¡in ¡reco ¡ • Writes ¡prepared ¡data ¡(float ¡signal ¡for ¡each ¡Dck) ¡as ¡recob::Wire ¡ • Consolidate ¡the ¡exisDng ¡35t, ¡FD ¡and ¡protoDUNE ¡modules ¡ • o CalWireDUNEXXX ¡where ¡XXX ¡= ¡35t, ¡10kt, ¡ ¡Dphase, ¡… ¡ New ¡code ¡follow ¡the ¡TSI ¡(Tool-­‑Service-­‑Interface) ¡model ¡ • o Algorithmic ¡code ¡resides ¡in ¡art ¡services ¡ o Services ¡inherit ¡a ¡service ¡interface ¡that ¡declares ¡all ¡methods ¡ – Or ¡at ¡least ¡those ¡that ¡are ¡public ¡and ¡intended ¡for ¡normal ¡use ¡ o Clients ¡(such ¡as ¡StandardRawDigitPrepService) ¡find ¡the ¡service ¡via ¡the ¡ interface ¡name ¡ – So ¡that ¡alternate ¡service ¡implementaDons ¡can ¡be ¡plugged ¡in ¡at ¡run ¡Dme ¡ o (Tool ¡is ¡a ¡proposed ¡art ¡extension ¡that ¡will ¡enable ¡use ¡of ¡mulDple ¡named ¡ instances ¡of ¡a ¡service ¡or ¡service ¡interface) ¡ Work ¡is ¡tracked ¡as ¡a ¡Redmine ¡issue ¡ • o h]ps://cdcvs.fnal.gov/redmine/issues/12701 ¡ D. ¡Adams, ¡BNL ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡DUNE ¡35-­‑ton ¡sim/reco ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡Data ¡prep ¡status ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡July ¡27, ¡2016 ¡ 2 ¡

  3. Data ¡preparaDon ¡ There ¡are ¡many ¡steps ¡to ¡prepare ¡data ¡ Extract ¡from ¡larsoK ¡RawDigit ¡container ¡ • o Uncompress, ¡int-­‑to-­‑float, ¡subtract ¡pedestals ¡ o Flag ¡under/overflows ¡and ¡stuck ¡bits ¡ MiDgaDon ¡ • o E.g. ¡interpolaDon ¡for ¡stuck ¡bits ¡ Early ¡signal ¡finding ¡(to ¡aid ¡in ¡noise ¡removal) ¡ • Noise ¡removal ¡ • Pedestal ¡adjustment ¡ • DeconvoluDon ¡ • ROI ¡building ¡(signal ¡finding) ¡ • Construct ¡output ¡data ¡product ¡(recob::Wire) ¡ • o And ¡associaDons ¡to ¡digits ¡ D. ¡Adams, ¡BNL ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡DUNE ¡35-­‑ton ¡sim/reco ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡Data ¡prep ¡status ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡July ¡27, ¡2016 ¡ 3 ¡

  4. Internal ¡data ¡representaDon ¡ Struct ¡AdcChannelData ¡carries ¡raw ¡and ¡prepared ¡data ¡ Between ¡DataPrep ¡tools ¡ • Also ¡provides ¡convenient ¡interface ¡for ¡use ¡analysis ¡ • See ¡dunetpc/dune/DuneInterface/AdcChannelData.h ¡ • Struct ¡member ¡are ¡listed ¡in ¡table ¡on ¡following ¡page ¡ • Container ¡AdcChannelDataMap ¡is ¡used ¡for ¡mulDple ¡channels ¡ Type ¡is ¡map<short, ¡AdcChannelData> ¡(index ¡is ¡channel ¡number) ¡ • Typedefs ¡are ¡in ¡AdcTypes.h, ¡e.g. ¡ AdcIndex ¡= ¡unsigned ¡int ¡ • AdcROI ¡= ¡std::pair<AdcIndex, ¡AdcIndex> ¡ • AdcFlag ¡(see ¡later ¡slide) ¡ • D. ¡Adams, ¡BNL ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡DUNE ¡35-­‑ton ¡sim/reco ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡Data ¡prep ¡status ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡July ¡27, ¡2016 ¡ 4 ¡

  5. Internal ¡data ¡representaDon ¡(2) ¡ AdcChannelData ¡members: ¡ Type ¡ Name ¡ Meaning ¡ unsigned ¡int ¡ channel ¡ Channel ¡number ¡ float ¡ pedestal ¡ Assumed ¡pedestal ¡ vector<short> ¡ raw ¡ Raw ¡count ¡for ¡each ¡Dck ¡ vector<float> ¡ samples ¡ Corrected ¡count ¡for ¡each ¡Dck ¡ vector<AdcFlag> ¡ flags ¡ Status ¡for ¡each ¡Dck ¡ vector<bool> ¡ signal ¡ Indicates ¡is ¡each ¡Dck ¡holds ¡“signal” ¡ vector<AdcRoi> ¡ rois ¡ ROI ¡representaDon ¡of ¡signal ¡ const ¡raw::RawDigit* ¡ digit ¡ Raw ¡digit ¡from ¡which ¡this ¡data ¡is ¡derived ¡ const ¡recob::Wire* ¡ wire ¡ Wire ¡corresponding ¡to ¡this ¡data ¡ AdcIndex ¡ digitIndex ¡ Index ¡of ¡digit ¡in ¡digit ¡container ¡ AdcIndex ¡ wireIndex ¡ Index ¡of ¡wire ¡in ¡wire ¡container ¡ D. ¡Adams, ¡BNL ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡DUNE ¡35-­‑ton ¡sim/reco ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡Data ¡prep ¡status ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡July ¡27, ¡2016 ¡ 5 ¡

  6. Internal ¡data ¡representaDon ¡(3) ¡ AdcFlag ¡specifies ¡the ¡state ¡for ¡each ¡Dck ¡ Type ¡is ¡short ¡ • Intended ¡for ¡use ¡by ¡noise ¡removal, ¡calibraDon ¡and ¡monitoring ¡tools ¡ • Recognized ¡values ¡are ¡listed ¡in ¡table ¡ • Variable ¡name ¡ Value ¡ Meaning ¡ AdcGood ¡ 0 ¡ OK ¡ AdcUnderflow ¡ 1 ¡ Raw ¡count ¡is ¡underflow ¡(0) ¡ AdcOverFlow ¡ 2 ¡ Raw ¡count ¡is ¡overflow ¡(4095) ¡ AdcStuckOff ¡ 3 ¡ Raw ¡low ¡six ¡bits ¡are ¡all ¡0 ¡ AdcStuckOn ¡ 4 ¡ Raw ¡low ¡six ¡bit ¡are ¡all ¡1 ¡ AdcSetFixed ¡ 5 ¡ Corrected ¡count ¡set ¡to ¡fixed ¡value ¡(e.g. ¡0) ¡ AdcInterpolated ¡ 6 ¡ Corrected ¡count ¡interpolated ¡from ¡other ¡Dcks ¡ AdcExtrapolated ¡ 7 ¡ Corrected ¡count ¡extrapolated ¡from ¡other ¡Dcks ¡ D. ¡Adams, ¡BNL ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡DUNE ¡35-­‑ton ¡sim/reco ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡Data ¡prep ¡status ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡July ¡27, ¡2016 ¡ 6 ¡

  7. Services ¡ Following ¡slides ¡describe ¡the ¡DataPrep ¡services ¡ Provide ¡the ¡DataPrep ¡flow ¡ • Exchange ¡and ¡update ¡AdcChannelData ¡objects ¡ • Service ¡interfaces ¡are ¡in ¡dunetpc/dune/DuneInterface/XXXService.h ¡ • o XXXService ¡is ¡interface ¡class ¡name ¡ Service ¡implementaDons ¡in ¡dunetpc/dune/DataPrep/Service ¡ • o Service ¡XXXService ¡has ¡header ¡XXXService.h ¡ – Not ¡needed ¡because ¡access ¡is ¡always ¡via ¡interface? ¡ o Source ¡file ¡for ¡service ¡is ¡ ¡XXXService_service.cc ¡ – Naming ¡convenDon ¡required ¡by ¡use ¡of ¡cetbuildtools ¡ ¡ D. ¡Adams, ¡BNL ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡DUNE ¡35-­‑ton ¡sim/reco ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡Data ¡prep ¡status ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡July ¡27, ¡2016 ¡ 7 ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend