er  dev
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | List of all members
ERDigiCleaner Class Reference
Inheritance diagram for ERDigiCleaner:
Inheritance graph
[legend]
Collaboration diagram for ERDigiCleaner:
Collaboration graph
[legend]

Classes

struct  RecalibrationTask
 
struct  StationCuts
 

Public Member Functions

 ERDigiCleaner ()
 
 ~ERDigiCleaner ()=default
 
virtual InitStatus Init ()
 
virtual void Exec (Option_t *opt)
 
virtual void Reset ()
 
void Recalibrate (const TString &detectorName, const TString &stationName, const TString &previousTimeCalFile, const TString &timeCalFile, const TString &previousAmpCalFile, const TString &ampCalFile, ChannelMapping *raw2SimChannelMapping=nullptr)
 
void RecalibrateWithTAC (const TString &detectorName, const TString &stationName, const TString &previousTimeCalFile, const TString &timeCalFile, const TString &previousAmpCalFile, const TString &ampCalFile, const TString &previousTACCalFile, const TString &TACCalFile, ChannelMapping *raw2SimChannelMapping=nullptr)
 
void SetLonelyMWPCClusterCondition ()
 
void SetStationMultiplicity (const TString &detectorName, const TString &stationName, ushort minMultiplicity, ushort maxMultiplicity)
 
void SetChannelCuts (const TString &detectorName, const TString &stationName, const std::map< ERChannel, TCutG * > &GCuts, const std::map< ERChannel, Double_t > &MinAmp, const std::map< ERChannel, Double_t > &MaxAmp, const std::map< ERChannel, Double_t > &MinTime, const std::map< ERChannel, Double_t > &MaxTime, const ChannelMapping *raw2SimChannelMapping=nullptr)
 
- Public Member Functions inherited from ERTask
 ERTask (TString name)
 
 ERTask (TString name, Int_t verbose)
 Constructor. More...
 
 ~ERTask ()
 
virtual void Finish ()
 

Protected Member Functions

bool AreFewClustersInMWPC ()
 
void Recalibration ()
 
void ApplyChannelCuts ()
 
void ApplyStationMultiplicities ()
 
void CopyEventHeader ()
 
std::pair< std::string, TClonesArray * > GetBranchNameAndDigis (const TString &detectorName, const TString &stationName)
 
- Protected Member Functions inherited from ERTask
InitStatus CheckRunManager ()
 Check is instance of run manager availible for this task.
 
virtual void SetParContainers ()
 Initializes runtime database for getting parameters from .par file.
 

Protected Attributes

std::list< RecalibrationTaskfStationsRecalibrations
 
std::list< StationCutsfStationsCuts
 
std::map< std::pair< TString, TString >, MultiplicityRange > fStationsMultiplicities
 
bool fLonelyMWPCClusterCondition = false
 
std::unordered_map< std::string, TClonesArray * > fInputDigis
 
ERBeamTimeEventHeaderfInputHeader = nullptr
 
- Protected Attributes inherited from ERTask
FairRun * fRun
 Pointer to run manager object.
 
std::vector< TString > fAvailibleRunManagers
 Run managers that are availible for this task.
 

Private Types

using MultiplicityRange = std::pair< ushort, ushort >
 

Detailed Description

Definition at line 25 of file ERDigiCleaner.h.

Constructor & Destructor Documentation

ERDigiCleaner::ERDigiCleaner ( )

Default constructor

Definition at line 21 of file ERDigiCleaner.cxx.

ERDigiCleaner::~ERDigiCleaner ( )
default

Destructor

Member Function Documentation

void ERDigiCleaner::Exec ( Option_t *  opt)
virtual

Virtual method Exec

Definition at line 84 of file ERDigiCleaner.cxx.

InitStatus ERDigiCleaner::Init ( )
virtual

Virtual method Init

Reimplemented from ERTask.

Definition at line 67 of file ERDigiCleaner.cxx.

void ERDigiCleaner::Reset ( )
virtual

Virtual method Reset

Reimplemented from ERTask.

Definition at line 307 of file ERDigiCleaner.cxx.


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