OutNtupleProc Class Reference
|
Ratpac-two
|
Classes |
Public Types |
Public Member Functions |
Static Public Member Functions |
Public Attributes |
Static Public Attributes |
Protected Attributes |
List of all members
RAT::OutNtupleProc Class Reference
Inheritance diagram for RAT::OutNtupleProc:
Classes | |
| struct | NtupleOptions |
Public Types | |
| enum | mc_pe_type { noise = 0 , cherenkov = 1 , scintillation = 2 , reemission = 3 , unknown = 4 } |
Public Types inherited from RAT::Processor | |
| enum | Result { OK = 0 , FAIL = 1 , ABORT = 2 } |
Public Member Functions | |
| virtual Processor::Result | DSEvent (DS::Root *ds) |
| virtual bool | OpenFile (std::string theFilename) |
| virtual void | SetI (std::string param, int value) |
| virtual void | SetS (std::string param, std::string value) |
| virtual void | EndOfRun (DS::Run *run) override |
| virtual void | AssignAdditionalAddresses () |
| virtual void | AssignAdditionalMetaAddresses () |
| virtual void | FillEvent (DS::Root *, DS::EV *) |
| virtual void | FillNoTriggerEvent (DS::Root *) |
| virtual void | FillMeta () |
Public Member Functions inherited from RAT::Processor | |
| Processor (std::string _name) | |
| virtual | ~Processor () |
| std::string | GetName () const |
| virtual void | SetF (std::string param, float value) |
| virtual void | SetD (std::string param, double value) |
| virtual void | BeginOfRun (DS::Run *run) |
| virtual Processor::Result | Event (DS::Root *ds, DS::EV *ev) |
Static Public Member Functions | |
| static ULong64_t | TTimeStamp_to_UnixTime (TTimeStamp ts) |
Public Attributes | |
| DS::Run * | runBranch |
| NtupleOptions | options |
| std::vector< std::string > | waveform_fitters |
| std::map< std::string, std::vector< std::string > > | waveform_fitter_FOMs |
| std::vector< std::string > | event_fitters |
| std::map< std::string, std::vector< std::string > > | event_fitter_FOMs |
Static Public Attributes | |
| static int | run_num |
Protected Attributes | |
| std::string | defaultFilename |
| TFile * | outputFile |
| TTree * | outputTree |
| TTree * | metaTree |
| TTree * | waveformTree |
| Int_t | runId |
| ULong64_t | runType |
| ULong64_t | runTime |
| int | dsentries |
| std::string | macro |
| std::vector< int > | pmtType |
| std::vector< int > | pmtId |
| std::vector< int > | pmtChannel |
| std::vector< bool > | pmtIsOnline |
| std::vector< double > | pmtCableOffset |
| std::vector< double > | pmtChargeScale |
| std::vector< double > | pmtPulseWidthScale |
| std::vector< double > | pmtX |
| std::vector< double > | pmtY |
| std::vector< double > | pmtZ |
| std::vector< double > | pmtU |
| std::vector< double > | pmtV |
| std::vector< double > | pmtW |
| std::vector< int > | ntId |
| std::vector< double > | ntX |
| std::vector< double > | ntY |
| std::vector< double > | ntZ |
| std::vector< double > | ntU |
| std::vector< double > | ntV |
| std::vector< double > | ntW |
| u_int32_t | digitizerWindowSize |
| Double_t | digitizerSampleRate |
| Double_t | digitizerDynamicRange |
| Double_t | digitizerVoltageResolution |
| bool | done_writing_calib |
| Int_t | calibId |
| Int_t | calibMode |
| Double_t | calibIntensity |
| Double_t | calibWavelength |
| std::string | calibName |
| ULong64_t | calibTime |
| Double_t | calibX |
| Double_t | calibY |
| Double_t | calibZ |
| Double_t | calibU |
| Double_t | calibV |
| Double_t | calibW |
| int | waveform_pmtid |
| std::vector< Double_t > | inWindowPulseTimes |
| std::vector< Double_t > | inWindowPulseCharges |
| std::vector< UShort_t > | waveform |
| Int_t | mcpdg |
| double | mcx |
| double | mcy |
| double | mcz |
| double | mcu |
| double | mcv |
| double | mcw |
| double | mcke |
| double | mct |
| int | evid |
| int | subev |
| int | nhits |
| double | totalcharge |
| double | triggerTime |
| ULong64_t | timestamp |
| ULong64_t | trigger_word |
| ULong64_t | event_cleaning_word |
| double | timeSinceLastTrigger_us |
| double | scintEdep |
| double | scintEdepQuenched |
| double | scintPhotons |
| double | remPhotons |
| double | cherPhotons |
| int | mcnhits |
| int | mcpecount |
| std::vector< int > | mcpmtid |
| std::vector< int > | mcpmtnpe |
| std::vector< double > | mcpmtcharge |
| int | mcnNTs |
| int | mcnNThits |
| std::vector< int > | mcNTid |
| std::vector< double > | mcNThittime |
| std::vector< double > | mcNThitx |
| std::vector< double > | mcNThity |
| std::vector< double > | mcNThitz |
| std::vector< int > | mcpepmtid |
| std::vector< double > | mcpehittime |
| std::vector< double > | mcpefrontendtime |
| std::vector< int > | mcpeprocess |
| std::vector< double > | mcpewavelength |
| std::vector< double > | mcpex |
| std::vector< double > | mcpey |
| std::vector< double > | mcpez |
| std::vector< double > | mcpecharge |
| int | mcpcount |
| int | mcid |
| std::vector< Int_t > | pdgcodes |
| std::vector< double > | mcKEnergies |
| std::vector< double > | mcPosx |
| std::vector< double > | mcPosy |
| std::vector< double > | mcPosz |
| std::vector< double > | mcDirx |
| std::vector< double > | mcDiry |
| std::vector< double > | mcDirz |
| std::vector< double > | mcTime |
| std::map< std::string, double > | fitvalues |
| std::map< std::string, bool > | fitvalids |
| std::map< std::string, std::map< std::string, double > > | fiteventFOMs |
| std::vector< int > | hitPMTID |
| std::vector< double > | hitPMTTime |
| std::vector< double > | hitPMTCharge |
| int | digitNhits |
| std::vector< double > | digitPeak |
| std::vector< double > | digitTime |
| std::vector< double > | digitCharge |
| std::vector< double > | digitTimeOverThreshold |
| std::vector< double > | digitVoltageOverThreshold |
| std::vector< double > | digitLocalTriggerTime |
| std::vector< int > | digitReconNPEs |
| std::vector< int > | digitNCrossings |
| std::vector< int > | digitPMTID |
| int | digitHitCleanedNhits |
| std::vector< uint64_t > | digitHitCleaningMask |
| std::map< std::string, std::vector< int > > | wfmFitPmtID |
| std::map< std::string, std::vector< double > > | wfmFitTime |
| std::map< std::string, std::vector< double > > | wfmFitCharge |
| std::map< std::string, std::map< std::string, std::vector< double > > > | wfmFitFOM |
| std::map< std::string, int > | processCodeMap |
| std::vector< int > | processCodeIndex |
| std::vector< std::string > | processName |
| std::map< std::string, int > | volumeCodeMap |
| std::vector< int > | volumeCodeIndex |
| std::vector< std::string > | volumeName |
| std::vector< int > | trackPDG |
| std::vector< std::vector< double > > | trackPosX |
| std::vector< std::vector< double > > | trackPosY |
| std::vector< std::vector< double > > | trackPosZ |
| std::vector< std::vector< double > > | trackMomX |
| std::vector< std::vector< double > > | trackMomY |
| std::vector< std::vector< double > > | trackMomZ |
| std::vector< std::vector< double > > | trackKE |
| std::vector< std::vector< double > > | trackTime |
| std::vector< std::vector< int > > | trackProcess |
| std::vector< std::vector< int > > | trackVolume |
Protected Attributes inherited from RAT::Processor | |
| std::string | name |
Member Function Documentation
◆ DSEvent()
|
virtual |
Process one physics event.
The processor can do whatever operation it likes on the event. The default implementation of this method calls Event() once for every event in the ds.ev list. Do not override DSEvent() if you plan to override Event().
- Parameters
-
[in,out] ds Data structure for current event.
- Returns
- Status code for successs/failure in processing this event.
Reimplemented from RAT::Processor.
◆ SetI()
|
virtual |
Set integer parameter.
- Parameters
-
[in] param Name of parameter. [in] value Value of parameter.
- Exceptions
-
ParamUnknown if param is not recognized. ParamInvalid if value is not allowed for param.
Reimplemented from RAT::Processor.
◆ SetS()
|
virtual |
Set string parameter.
- Parameters
-
[in] param Name of parameter. [in] value Value of parameter.
- Exceptions
-
ParamUnknown if param is not recognized. ParamInvalid if value is not allowed for param.
Reimplemented from RAT::Processor.
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/io/include/RAT/OutNtupleProc.hh
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/io/src/OutNtupleProc.cc
Generated by
Public Types inherited from