All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Private Attributes | List of all members
lightana::FlashT0FirstHit Class Reference
Inheritance diagram for lightana::FlashT0FirstHit:
lightana::FlashT0Base

Classes

struct  Config
 

Public Member Functions

 FlashT0FirstHit (art::ToolConfigTable< Config > const &config)
 
double GetFlashT0 (double flash_peaktime, LiteOpHitArray_t ophit_list) override
 

Private Attributes

double fMinHitPE
 

Additional Inherited Members

- Private Member Functions inherited from lightana::FlashT0Base
virtual ~FlashT0Base () noexcept=default
 

Detailed Description

Definition at line 22 of file FlashT0FirstHit_tool.cc.

Constructor & Destructor Documentation

lightana::FlashT0FirstHit::FlashT0FirstHit ( art::ToolConfigTable< Config > const &  config)
explicit

Definition at line 49 of file FlashT0FirstHit_tool.cc.

50  : fMinHitPE{ config().MinHitPE() }
51  {
52  }

Member Function Documentation

double lightana::FlashT0FirstHit::GetFlashT0 ( double  flash_peaktime,
LiteOpHitArray_t  ophit_list 
)
overridevirtual

Implements lightana::FlashT0Base.

Definition at line 54 of file FlashT0FirstHit_tool.cc.

54  {
55 
56  double start_time = flash_time;
57 
58  for(auto & ophit : ophit_list){
59  if(ophit.peak_time<start_time && ophit.pe>fMinHitPE) start_time = ophit.peak_time;
60  }
61 
62  return start_time;
63  }
BEGIN_PROLOG opflashCryoW opflashCryoW triggerfilterBNB triggerfilterNuMI triggerfilterOffbeamBNB triggerfilterOffbeamNuMI triggerfilterUnknown roifinder roifinder2d gaushitTPCEE gaushitTPCWE purityana1 ophit
then echo fcl sbnd_project sbnd_project sbnd_project sbnd_project production production start_time

Member Data Documentation

double lightana::FlashT0FirstHit::fMinHitPE
private

Definition at line 45 of file FlashT0FirstHit_tool.cc.


The documentation for this class was generated from the following file: