ARTEMIS-CRIB
 
Loading...
Searching...
No Matches
art::crib::TSolidAngleProcessor Class Reference

#include <TSolidAngleProcessor.h>

Inheritance diagram for art::crib::TSolidAngleProcessor:
[legend]
Collaboration diagram for art::crib::TSolidAngleProcessor:
[legend]

Public Member Functions

 TSolidAngleProcessor ()
 default constructor
 
 ~TSolidAngleProcessor () override
 default destructor
 
void EndOfRun () override
 EndOfRun process (override)
 
void Init (TEventCollection *col) override
 Init (override)
 
void Process () override
 Process (override)
 

Protected Attributes

TString fFileName
 Output histogram ROOT file name.
 
TClonesArray ** fInData
 Input detected particle object.
 
TString fInputColName
 Input detected particle object name.
 
TString fInputReacColName
 Input reaction object name.
 
TClonesArray ** fInReacData
 Input reaction object.
 
Int_t fNbin_angle
 Histogram bin number.
 
Int_t fNbin_energy
 Histogram bin number.
 
DoubleVec_t fRange_angle
 Histogram range (min, max)
 
DoubleVec_t fRange_energy
 Histogram range (min, max)
 
TH1D * h1_a
 solid angle (x: angle_cm)
 
TH1D * h1_a_all
 for normalize (x: angle_cm)
 
TH1D * h1_e
 solid angle (x: Ecm)
 
TH1D * h1_e_all
 for normalize (x: Ecm)
 
TH2D * h2
 solid angle (x: Ecm, y: angle_cm)
 
TH2D * h2_all
 for normalie (x: Ecm, y: angle_cm)
 

Private Member Functions

 TSolidAngleProcessor (const TSolidAngleProcessor &rhs)=delete
 
TSolidAngleProcessoroperator= (const TSolidAngleProcessor &rhs)=delete
 

Detailed Description

Definition at line 23 of file TSolidAngleProcessor.h.

Constructor & Destructor Documentation

◆ TSolidAngleProcessor() [1/2]

TSolidAngleProcessor::TSolidAngleProcessor ( )

default constructor

steering file definition:

  • InputCollection: detected particle branch (size = 1 of art::TTelescopeData)
  • InputReacCollection: simulated reaction branch
  • Nbin_angle: A1
  • range_angle: [A2, A3]
    • histogram binning like tree->Draw(A1, A2, A3)
  • Nbin_energy: E1
  • range_energy: [E2, E3]
    • histogram binning like tree->Draw(E1, E2, E3)
  • HistFile: saved histogram ROOT file name

Definition at line 59 of file TSolidAngleProcessor.cc.

◆ ~TSolidAngleProcessor()

TSolidAngleProcessor::~TSolidAngleProcessor ( )
override

default destructor

free the memory.

Definition at line 75 of file TSolidAngleProcessor.cc.

◆ TSolidAngleProcessor() [2/2]

art::crib::TSolidAngleProcessor::TSolidAngleProcessor ( const TSolidAngleProcessor & rhs)
privatedelete

Member Function Documentation

◆ EndOfRun()

void TSolidAngleProcessor::EndOfRun ( )
override

EndOfRun process (override)

After all the events are processed, scale the histograms and save them.

Definition at line 170 of file TSolidAngleProcessor.cc.

◆ Init()

void TSolidAngleProcessor::Init ( TEventCollection * col)
override

Init (override)

Initialization process.

Parameters
col

Definition at line 91 of file TSolidAngleProcessor.cc.

◆ operator=()

TSolidAngleProcessor & art::crib::TSolidAngleProcessor::operator= ( const TSolidAngleProcessor & rhs)
privatedelete

◆ Process()

void TSolidAngleProcessor::Process ( )
override

Process (override)

Judge the event is detected at the detector and fill to the histograms.

Definition at line 139 of file TSolidAngleProcessor.cc.

Member Data Documentation

◆ fFileName

TString art::crib::TSolidAngleProcessor::fFileName
protected

Output histogram ROOT file name.

Definition at line 59 of file TSolidAngleProcessor.h.

◆ fInData

TClonesArray** art::crib::TSolidAngleProcessor::fInData
protected

Input detected particle object.

Definition at line 45 of file TSolidAngleProcessor.h.

◆ fInputColName

TString art::crib::TSolidAngleProcessor::fInputColName
protected

Input detected particle object name.

Definition at line 41 of file TSolidAngleProcessor.h.

◆ fInputReacColName

TString art::crib::TSolidAngleProcessor::fInputReacColName
protected

Input reaction object name.

Definition at line 43 of file TSolidAngleProcessor.h.

◆ fInReacData

TClonesArray** art::crib::TSolidAngleProcessor::fInReacData
protected

Input reaction object.

Definition at line 47 of file TSolidAngleProcessor.h.

◆ fNbin_angle

Int_t art::crib::TSolidAngleProcessor::fNbin_angle
protected

Histogram bin number.

Definition at line 50 of file TSolidAngleProcessor.h.

◆ fNbin_energy

Int_t art::crib::TSolidAngleProcessor::fNbin_energy
protected

Histogram bin number.

Definition at line 54 of file TSolidAngleProcessor.h.

◆ fRange_angle

DoubleVec_t art::crib::TSolidAngleProcessor::fRange_angle
protected

Histogram range (min, max)

Definition at line 52 of file TSolidAngleProcessor.h.

◆ fRange_energy

DoubleVec_t art::crib::TSolidAngleProcessor::fRange_energy
protected

Histogram range (min, max)

Definition at line 56 of file TSolidAngleProcessor.h.

◆ h1_a

TH1D* art::crib::TSolidAngleProcessor::h1_a
protected

solid angle (x: angle_cm)

Definition at line 62 of file TSolidAngleProcessor.h.

◆ h1_a_all

TH1D* art::crib::TSolidAngleProcessor::h1_a_all
protected

for normalize (x: angle_cm)

Definition at line 64 of file TSolidAngleProcessor.h.

◆ h1_e

TH1D* art::crib::TSolidAngleProcessor::h1_e
protected

solid angle (x: Ecm)

Definition at line 66 of file TSolidAngleProcessor.h.

◆ h1_e_all

TH1D* art::crib::TSolidAngleProcessor::h1_e_all
protected

for normalize (x: Ecm)

Definition at line 68 of file TSolidAngleProcessor.h.

◆ h2

TH2D* art::crib::TSolidAngleProcessor::h2
protected

solid angle (x: Ecm, y: angle_cm)

Definition at line 70 of file TSolidAngleProcessor.h.

◆ h2_all

TH2D* art::crib::TSolidAngleProcessor::h2_all
protected

for normalie (x: Ecm, y: angle_cm)

Definition at line 72 of file TSolidAngleProcessor.h.


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