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

Public Member Functions

 ERTelescopeUnpack (TString detName)
 
void AddSingleSiStation (TString name, TString ampStName, TString timeStName, TString ampCalFile, TString timeCalFile, TString XYside, ChannelMapping *channelsMapping=nullptr, Bool_t skipAloneChannels=kTRUE)
 
void AddDoubleSiStation (TString name, TString ampStName, TString timeStName, TString ampStName2, TString timeStName2, TString ampCalFile, TString timeCalFile, TString ampCalFile2, TString timeCalFile2, TString XY, ChannelMapping *channelsMapping1=nullptr, ChannelMapping *channelsMapping2=nullptr, Bool_t skipAloneChannels=kTRUE)
 
void AddCsIStation (TString name, TString ampStName, TString timeStName, TString ampCalFile, TString timeCalFile, ChannelMapping *channelsMapping=nullptr, Bool_t skipAloneChannels=kTRUE)
 
- Public Member Functions inherited from ERUnpack
 ERUnpack (const TString &detector_name)
 
virtual Bool_t Init ()
 
virtual Bool_t Init (const SetupConfiguration *, TChain &input_chain_of_events)
 
virtual Bool_t DoUnpack (Int_t *data, Int_t size)
 
virtual void Reset ()
 
TString DetectorName ()
 
Bool_t IsInited ()
 

Protected Member Functions

virtual void Register ()
 
virtual std::vector< TString > InputBranchNames () const
 
virtual void UnpackSignalFromStations ()
 
void CreateDigisFromRawStations (const TString &er_station, const TString &er_branch_name, const TString &amp_station, const TString &time_station, TMatrixD *amp_cal_table, TMatrixD *time_cal_table, const ChannelMapping *channel_mapping, bool skip_alone_channels)
 
void AddDigi (float edep, float time, ERChannel channel, TString digiBranchName)
 
TString FormBranchName (TString type, int sideCount, TString stName, TString XY, TString XYside)
 
void FormAllBranches ()
 
Bool_t ReadCalFiles ()
 
void DumpStationsInfo ()
 
std::pair< float, float > ApplyCalibration (ERChannel channel, Signal amp, Signal time, TMatrixD *ampCalTable, TMatrixD *timeCalTable)
 
Bool_t CheckSetup ()
 
- Protected Member Functions inherited from ERUnpack
virtual void ConnectToInputBranches (TChain &input_chain_of_events, const std::vector< TString > &branch_names)
 
void UnpackStation (SignalsAndChannelCount signals_from_station, ChannelToSignal &channel_to_signal)
 
void UnpackAmpTimeStation (SignalsAndChannelCount signals_from_amplitude_station, SignalsAndChannelCount signals_from_time_station, ChannelToAmpTime &channel_to_signals, bool skip_alone_channels=true)
 
void UnpackAmpTimeTACStation (SignalsAndChannelCount signals_from_amplitude_station, SignalsAndChannelCount signals_from_time_station, SignalsAndChannelCount signals_from_tac_station, ChannelToAmpTimeTac &channel_to_signals, bool skip_alone_channels=true)
 

Protected Attributes

std::map< TString, ERTelescopeStation * > fStations
 
- Protected Attributes inherited from ERUnpack
const SetupConfiguration * setup_configuration_
 
bool inited_ = false
 
TString detector_name_
 
std::map< TString, SignalsAndChannelCount > signals_from_stations_
 
std::map< TString, TClonesArray * > digi_collections_
 

Detailed Description

Definition at line 43 of file ERTelescopeUnpack.h.


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