er  dev
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | List of all members
ERTelescopePID Class Reference

#include <ERTelescopePID.h>

Inheritance diagram for ERTelescopePID:
Inheritance graph
[legend]
Collaboration diagram for ERTelescopePID:
Collaboration graph
[legend]

Classes

struct  DigiOnTrack
 
struct  ParticleDescription
 

Public Types

enum  EdepAccountingStrategy { EdepFromXChannel, EdepFromYChannel, AverageEdep, SummarizedEdep }
 

Public Member Functions

 ERTelescopePID ()
 Default constructor.
 
 ERTelescopePID (Int_t verbose)
 Constructor. More...
 
 ~ERTelescopePID ()=default
 Destructor.
 
void SetParticle (const TString &trackBranchName, const PDG pdg, const TString &deStation="", const TString &eStation="", Double_t deNormalizedThickness=0.002, const std::vector< TString > &stations_to_use_em_calculator_for_de_e={}, const std::vector< TString > &stations_to_use_em_calculator_for_kinetic_energy={})
 
void SetParticle (const TString &trackBranchName, const PDG pdg, const TString &deStation="", const std::list< TString > &eStations={}, Double_t deNormalizedThickness=0.002, const std::vector< TString > &stations_to_use_em_calculator_for_de_e={}, const std::vector< TString > &stations_to_use_em_calculator_for_kinetic_energy={})
 
void SetEdepAccountingStrategy (const TString &station, EdepAccountingStrategy strategy)
 
virtual InitStatus Init ()
 Defines all input and output object colletions participates in track finding.
 
virtual void Exec (Option_t *opt)
 Defines the transformation actions for all input data (Digi) to output data (Track) for each event.
 
virtual void Reset ()
 Resets all output data.
 
- Public Member Functions inherited from ERTask
 ERTask (TString name)
 
 ERTask (TString name, Int_t verbose)
 Constructor. More...
 
 ~ERTask ()
 
virtual void Finish ()
 

Protected Member Functions

TVector3 FindBackPropagationStartPoint (const ERTelescopeTrack &track)
 
std::pair< Double_t, Double_t > CalcEnergyDeposites (const ERTelescopeTrack &track, const TVector3 &startPoint, const G4ParticleDefinition &particle, std::list< DigiOnTrack > &digisOnTrack, const std::vector< TString > &stations_to_use_em_calculator_for_de_e, const std::vector< TString > &stations_to_use_em_calculator_for_kinetic_energy)
 
std::map< TString, ERDigi * > FindDigisByNode (const TGeoNode &node, const TString &nodePath)
 
void FindEnergiesForDeEAnalysis (const TString &trackBranch, const std::list< DigiOnTrack > &digisOnTrack, const std::list< TString > &eStations, const TString &deStation, const Double_t normalizedThickness, Double_t &edepInThickStation, Double_t &edepInThinStation, Double_t &edepInThickStationCorrected, Double_t &edepInThinStationCorrected, ERChannel &channelOfThinStation, ERChannel &channelOfThickStation)
 
Double_t ApplyEdepAccountingStrategy (const std::map< TString, ERDigi * > &digisByBranchName)
 
Double_t ApplyEdepAccountingStrategy (const std::list< DigiOnTrack > &digisOnTrack)
 
ERTelescopeParticleAddParticle (const TLorentzVector &lvInteraction, Double_t kineticEnergy, Double_t deadEloss, Double_t edepInThickStation, Double_t edepInThinStation, Double_t edepInThickStationCorrected, Double_t edepInThinStationCorrected, ERChannel channelOfThinStaion, ERChannel channelOfThickStation, TClonesArray &col)
 Adds a ERTelescopeParticles to the output Collection.
 
- 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

ERTelescopeSetupfQTelescopeSetup = nullptr
 access to ERTelescopeSetup class instance
 
std::map< TString, std::list< ParticleDescription > > fParticleDescriptions
 
std::map< TString, EdepAccountingStrategy > fEdepAccountingStrategies
 
std::map< TString, TClonesArray * > fQTelescopeDigi
 
std::map< TString, TClonesArray * > fQTelescopeTrack
 
std::map< TString, std::map< PDG, TClonesArray * > > fQTelescopeParticle
 
- 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 PDG = Int_t
 

Detailed Description

Author
V.Schetinin schet.nosp@m.inin.nosp@m.@jinr.nosp@m..ru
Version
1.0

Definition at line 34 of file ERTelescopePID.h.

Constructor & Destructor Documentation

ERTelescopePID::ERTelescopePID ( Int_t  verbose)

Constructor.

Parameters
verbositylevel

Definition at line 38 of file ERTelescopePID.cxx.


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