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

Public Member Functions

 ERBeamDetUnpack (const TString &detector_name)
 
void SetToFCalibration (float F3_A, float F3_B, float F5_A, float F5_B)
 
void SetMWPCCalibration (float A, float B)
 
void SetMWPCMapping (const ChannelMapping &mapping)
 
- 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 void UnpackSignalFromStations ()
 
virtual std::vector< TString > InputBranchNames () const
 
void UnpackToFStation (const TString &amplitude_station, const TString &time_station, ushort tof_number)
 
void UnpackMWPCStations ()
 
float CalibrateToF (float time, ushort tof_number)
 
void AddToFDigi (float edep, float time, ushort tof_number)
 
void AddMWPCDigi (float edep, float time, TString mwpcSt, Int_t wireNb)
 
- 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

const std::map< TString, ERChannel > mwpc_amplitude_station_to_time_channel_
 
const std::map< TString, TString > mwpc_branch_names_
 
ChannelMapping mwpc_channels_mapping_
 
float F3_time_calibration_A = 0.125
 
float F3_time_calibration_B = 0.
 
float F5_time_calibration_A = 0.125
 
float F5_time_calibration_B = 0.
 
float MWPC_time_calibration_A = 0.125
 
float MWPC_time_calibration_B = 0.
 
- 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 8 of file ERBeamDetUnpack.h.


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