Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHTpcCentralMembraneMatcher Class Reference

#include <coresoftware/blob/master/offline/packages/tpccalib/PHTpcCentralMembraneMatcher.h>

+ Inheritance diagram for PHTpcCentralMembraneMatcher:
+ Collaboration diagram for PHTpcCentralMembraneMatcher:

Public Member Functions

 PHTpcCentralMembraneMatcher (const std::string &name="PHTpcCentralMembraneMatcher")
 
 ~PHTpcCentralMembraneMatcher () override=default
 
void setSavehistograms (bool value)
 set to true to store evaluation histograms and ntuples
 
void setHistogramOutputfile (const std::string &outputfile)
 output file name for evaluation histograms
 
void setOutputfile (const std::string &outputfile)
 output file name for storing the space charge reconstruction matrices
 
void setNMatchIter (int val)
 
void set_useOnly_nClus2 (bool val)
 
void set_grid_dimensions (int phibins, int rbins)
 
int InitRun (PHCompositeNode *topNode) override
 run initialization
 
int process_event (PHCompositeNode *topNode) override
 event processing
 
int End (PHCompositeNode *topNode) override
 end of process
 
- Public Member Functions inherited from SubsysReco
 ~SubsysReco () override
 
virtual int EndRun (const int)
 Called at the end of each run.
 
virtual int Init (PHCompositeNode *)
 
virtual int Reset (PHCompositeNode *)
 Reset.
 
virtual int ResetEvent (PHCompositeNode *)
 Clean up after each event.
 
void Print (const std::string &="ALL") const override
 
- Public Member Functions inherited from Fun4AllBase
virtual ~Fun4AllBase ()
 
virtual const std::string Name () const
 Returns the name of this module.
 
virtual void Name (const std::string &name)
 Sets the name of this module.
 
virtual void Verbosity (const int ival)
 Sets the verbosity of this module (0 by default=quiet).
 
virtual void Verbosity (enu_Verbosity ival)
 Sets the verbosity of this module (0 by default=quiet).
 
virtual int Verbosity () const
 Gets the verbosity of this module.
 

Private Member Functions

int GetNodes (PHCompositeNode *topNode)
 
double getPhiRotation_smoothed (TH1D *hitHist, TH1D *clustHist)
 
std::vector< doublegetRPeaks (TH2F *r_phi)
 
int getClusterRMatch (std::vector< int > hitMatches, std::vector< double > clusterPeaks, double clusterR)
 

Private Attributes

TpcDistortionCorrection m_distortionCorrection
 tpc distortion correction utility class
 
CMFlashClusterContainerm_corrected_CMcluster_map {nullptr}
 
CMFlashDifferenceContainerm_cm_flash_diffs {nullptr}
 
TpcDistortionCorrectionContainerm_dcc_in_static {nullptr}
 static distortion container
 
TpcDistortionCorrectionContainerm_dcc_in_average {nullptr}
 
TpcDistortionCorrectionContainerm_dcc_out {nullptr}
 fluctuation distortion container
 
std::unique_ptr
< TpcDistortionCorrectionContainer
m_dcc_out_aggregated
 local fluctuation distortion container
 
std::string m_outputfile = "CMDistortionCorrections.root"
 output file, to which aggregated central membrane distortion corrections are stored
 
double m_phi_cut = 0.02
 radius cut for matching clusters to pad, for size 2 clusters
 
bool m_useOnly_nClus2 = false
 
int m_nMatchIter = 2
 
double m_clustRotation_pos [3]
 
double m_clustRotation_neg [3]
 
evaluation histograms
bool m_savehistograms = false
 
std::string m_histogramfilename = "PHTpcCentralMembraneMatcher.root"
 
TH2F * hxy_reco = nullptr
 
TH2F * hxy_truth = nullptr
 
TH2F * hdrdphi = nullptr
 
TH2F * hrdr = nullptr
 
TH2F * hrdphi = nullptr
 
TH1F * hdrphi = nullptr
 
TH1F * hdphi = nullptr
 
TH1F * hdr1_single = nullptr
 
TH1F * hdr2_single = nullptr
 
TH1F * hdr3_single = nullptr
 
TH1F * hdr1_double = nullptr
 
TH1F * hdr2_double = nullptr
 
TH1F * hdr3_double = nullptr
 
TH1F * hnclus = nullptr
 
std::unique_ptr< TFile > fout
 
std::unique_ptr< TFile > fout2
 
std::string m_histogramfilename2 = "CMMatcher.root"
 
TH2F * hit_r_phi
 
TH2F * clust_r_phi_pos
 
TH2F * clust_r_phi_neg
 
TNtuple * match_ntup = nullptr
 
int m_event_index = 0
 

distortion correction histograms

int m_phibins = 24
 distortion correction grid size along phi
 
int m_rbins = 12
 distortion correction grid size along r
 
static constexpr float m_phiMin = 0
 
static constexpr float m_phiMax = 2.*M_PI
 
static constexpr float m_rMin = 20
 
static constexpr float m_rMax = 80
 

central membrane pads definitions

double cx1_e [nStripes_R1][nRadii]
 
double cx1 [nStripes_R1][nRadii]
 
double cx2 [nStripes_R2][nRadii]
 
double cx3 [nStripes_R3][nRadii]
 
double cy1_e [nStripes_R1][nRadii]
 
double cy1 [nStripes_R1][nRadii]
 
double cy2 [nStripes_R2][nRadii]
 
double cy3 [nStripes_R3][nRadii]
 
std::array< int, nRadiinGoodStripes_R1_e = {}
 
std::array< int, nRadiinGoodStripes_R1 = {}
 
std::array< int, nRadiinGoodStripes_R2 = {}
 
std::array< int, nRadiinGoodStripes_R3 = {}
 
std::array< int, nRadiinStripesIn_R1_e = {}
 
std::array< int, nRadiinStripesIn_R1 = {}
 
std::array< int, nRadiinStripesIn_R2 = {}
 
std::array< int, nRadiinStripesIn_R3 = {}
 
std::array< int, nRadiinStripesBefore_R1_e = {}
 
std::array< int, nRadiinStripesBefore_R1 = {}
 
std::array< int, nRadiinStripesBefore_R2 = {}
 
std::array< int, nRadiinStripesBefore_R3 = {}
 
std::vector< TVector3 > m_truth_pos
 store centers of all central membrane pads
 
static constexpr double mm = 1.0
 
static constexpr double cm = 10.0
 
static constexpr int nRadii = 8
 
static constexpr int nStripes_R1 = 6
 
static constexpr int nStripes_R2 = 8
 
static constexpr int nStripes_R3 = 12
 
static constexpr int nPads_R1 = 6 * 16
 
static constexpr int nPads_R2 = 8 * 16
 
static constexpr int nPads_R3 = 12 * 16
 
static constexpr std::array
< double, nRadii
R1_e = {{227.0902789 * mm, 238.4100043 * mm, 249.7297296 * mm, 261.049455 * mm, 272.3691804 * mm, 283.6889058 * mm, 295.0086312 * mm, 306.3283566 * mm}}
 stripe radii
 
static constexpr std::array
< double, nRadii
R1 = {{317.648082 * mm, 328.9678074 * mm, 340.2875328 * mm, 351.6072582 * mm, 362.9269836 * mm, 374.246709 * mm, 385.5664344 * mm, 396.8861597 * mm}}
 
static constexpr std::array
< double, nRadii
R2 = {{421.705532 * mm, 442.119258 * mm, 462.532984 * mm, 482.9467608 * mm, 503.36069 * mm, 523.774416 * mm, 544.188015 * mm, 564.601868 * mm}}
 
static constexpr std::array
< double, nRadii
R3 = {{594.6048725 * mm, 616.545823 * mm, 638.4867738 * mm, 660.4277246 * mm, 682.3686754 * mm, 704.3096262 * mm, 726.250577 * mm, 748.1915277 * mm}}
 
static constexpr std::array
< int, nRadii
keepThisAndAfter = {{1, 0, 1, 0, 1, 0, 1, 0}}
 min stripe index
 
static constexpr std::array
< int, nRadii
keepUntil_R1_e = {{4, 4, 5, 4, 5, 5, 5, 5}}
 max stripe index
 
static constexpr std::array
< int, nRadii
keepUntil_R1 = {{5, 5, 6, 5, 6, 5, 6, 5}}
 
static constexpr std::array
< int, nRadii
keepUntil_R2 = {{7, 7, 8, 7, 8, 8, 8, 8}}
 
static constexpr std::array
< int, nRadii
keepUntil_R3 = {{11, 10, 11, 11, 11, 11, 12, 11}}
 
static constexpr int nStripesPerPetal = 213
 
static constexpr int nPetals = 18
 
static constexpr int nTotStripes = nStripesPerPetal * nPetals
 
void CalculateCenters (int nPads, const std::array< double, nRadii > &R, std::array< int, nRadii > &nGoodStripes, const std::array< int, nRadii > &keepUntil, std::array< int, nRadii > &nStripesIn, std::array< int, nRadii > &nStripesBefore, double cx[][nRadii], double cy[][nRadii])
 

Additional Inherited Members

- Public Types inherited from Fun4AllBase
enum  enu_Verbosity {
  VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3,
  VERBOSITY_A_LOT = 4, VERBOSITY_MAX = std::numeric_limits<int>::max() - 10
}
 
- Protected Member Functions inherited from SubsysReco
 SubsysReco (const std::string &name="NONAME")
 

Detailed Description

Definition at line 34 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 34 of file PHTpcCentralMembraneMatcher.h

Constructor & Destructor Documentation

PHTpcCentralMembraneMatcher::PHTpcCentralMembraneMatcher ( const std::string &  name = "PHTpcCentralMembraneMatcher")

Definition at line 126 of file PHTpcCentralMembraneMatcher.cc.

View newest version in sPHENIX GitHub at line 126 of file PHTpcCentralMembraneMatcher.cc

References CalculateCenters(), cx1, cx1_e, cx2, cx3, cy1, cy1_e, cy2, cy3, keepUntil_R1, keepUntil_R1_e, keepUntil_R2, keepUntil_R3, nGoodStripes_R1, nGoodStripes_R1_e, nGoodStripes_R2, nGoodStripes_R3, nPads_R1, nPads_R2, nPads_R3, nStripesBefore_R1, nStripesBefore_R1_e, nStripesBefore_R2, nStripesBefore_R3, nStripesIn_R1, nStripesIn_R1_e, nStripesIn_R2, nStripesIn_R3, R1, R1_e, R2, and R3.

+ Here is the call graph for this function:

PHTpcCentralMembraneMatcher::~PHTpcCentralMembraneMatcher ( )
overridedefault

Member Function Documentation

void PHTpcCentralMembraneMatcher::CalculateCenters ( int  nPads,
const std::array< double, nRadii > &  R,
std::array< int, nRadii > &  nGoodStripes,
const std::array< int, nRadii > &  keepUntil,
std::array< int, nRadii > &  nStripesIn,
std::array< int, nRadii > &  nStripesBefore,
double  cx[][nRadii],
double  cy[][nRadii] 
)
private

Definition at line 983 of file PHTpcCentralMembraneMatcher.cc.

View newest version in sPHENIX GitHub at line 983 of file PHTpcCentralMembraneMatcher.cc

References cm, i, j, keepThisAndAfter, mm, nRadii, nStripesBefore_R1_e, ActsTests::PropagationDatasets::theta, and Fun4AllBase::Verbosity().

Referenced by PHTpcCentralMembraneMatcher().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHTpcCentralMembraneMatcher::End ( PHCompositeNode topNode)
overridevirtual
int PHTpcCentralMembraneMatcher::getClusterRMatch ( std::vector< int >  hitMatches,
std::vector< double clusterPeaks,
double  clusterR 
)
private

Definition at line 214 of file PHTpcCentralMembraneMatcher.cc.

View newest version in sPHENIX GitHub at line 214 of file PHTpcCentralMembraneMatcher.cc

References j.

Referenced by process_event().

+ Here is the caller graph for this function:

int PHTpcCentralMembraneMatcher::GetNodes ( PHCompositeNode topNode)
private

Get the RUN node and check

Definition at line 836 of file PHTpcCentralMembraneMatcher.cc.

View newest version in sPHENIX GitHub at line 836 of file PHTpcCentralMembraneMatcher.cc

References Fun4AllReturnCodes::ABORTRUN, PHCompositeNode::addNode(), TpcDistortionCorrectionContainer::dimensions, Fun4AllReturnCodes::EVENT_OK, extension, PHNodeIterator::findFirst(), i, m_cm_flash_diffs, m_corrected_CMcluster_map, m_dcc_in_average, m_dcc_in_static, m_dcc_out, m_dcc_out_aggregated, TpcDistortionCorrectionContainer::m_hDPint, TpcDistortionCorrectionContainer::m_hDRint, TpcDistortionCorrectionContainer::m_hDZint, TpcDistortionCorrectionContainer::m_hentries, m_phibins, m_phiMax, m_phiMin, m_rbins, m_rMax, m_rMin, Acts::Test::phiMin, and PHWHERE.

Referenced by InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double PHTpcCentralMembraneMatcher::getPhiRotation_smoothed ( TH1D *  hitHist,
TH1D *  clustHist 
)
private

Definition at line 170 of file PHTpcCentralMembraneMatcher.cc.

View newest version in sPHENIX GitHub at line 170 of file PHTpcCentralMembraneMatcher.cc

References std::tr1::f1, and merge_hashes::p.

Referenced by process_event().

+ Here is the caller graph for this function:

std::vector< double > PHTpcCentralMembraneMatcher::getRPeaks ( TH2F *  r_phi)
private

Definition at line 193 of file PHTpcCentralMembraneMatcher.cc.

View newest version in sPHENIX GitHub at line 193 of file PHTpcCentralMembraneMatcher.cc

References i, and proj().

Referenced by process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHTpcCentralMembraneMatcher::InitRun ( PHCompositeNode topNode)
overridevirtual

run initialization

Reimplemented from SubsysReco.

Definition at line 233 of file PHTpcCentralMembraneMatcher.cc.

View newest version in sPHENIX GitHub at line 233 of file PHTpcCentralMembraneMatcher.cc

References clust_r_phi_neg, clust_r_phi_pos, cx1, cx1_e, cx2, cx3, cy1, cy1_e, cy2, cy3, fout, fout2, QAG4Util::get_r(), GetNodes(), hdphi, hdr1_double, hdr1_single, hdr2_double, hdr2_single, hdr3_double, hdr3_single, hdrdphi, hdrphi, hit_r_phi, hnclus, hrdphi, hrdr, hxy_reco, hxy_truth, i, j, k, m_histogramfilename, m_histogramfilename2, m_savehistograms, m_truth_pos, match_ntup, nGoodStripes_R1, nGoodStripes_R1_e, nGoodStripes_R2, nGoodStripes_R3, nRadii, parse_cmake_options::source, and Fun4AllBase::Verbosity().

+ Here is the call graph for this function:

int PHTpcCentralMembraneMatcher::process_event ( PHCompositeNode topNode)
overridevirtual

event processing

Reimplemented from SubsysReco.

Definition at line 371 of file PHTpcCentralMembraneMatcher.cc.

View newest version in sPHENIX GitHub at line 371 of file PHTpcCentralMembraneMatcher.cc

References CMFlashDifferenceContainer::addDifferenceSpecifyKey(), clust_r_phi_neg, clust_r_phi_pos, delta_phi(), distance(), INTTVtxZ::dphi, dz, Fun4AllReturnCodes::EVENT_OK, Fill(), TpcDistortionCorrection::get_corrected_position(), QAG4Util::get_r(), CMFlashCluster::getAdc(), CMFlashCluster::getAdc1(), CMFlashCluster::getAdc2(), getClusterRMatch(), CMFlashClusterContainer::getClusters(), CMFlashDifferenceContainer::getDifferences(), CMFlashCluster::getIsRGap(), CMFlashCluster::getLayer1(), CMFlashCluster::getLayer2(), CMFlashCluster::getNclusters(), getPhiRotation_smoothed(), getRPeaks(), CMFlashCluster::getX(), CMFlashCluster::getX1(), CMFlashCluster::getX2(), CMFlashCluster::getY(), CMFlashCluster::getY1(), CMFlashCluster::getY2(), CMFlashCluster::getZ(), CMFlashCluster::getZ1(), CMFlashCluster::getZ2(), h, hdphi, hdr1_double, hdr1_single, hdr2_double, hdr2_single, hdr3_double, hdr3_single, hdrdphi, hdrphi, hit_r_phi, hnclus, hrdphi, hrdr, hxy_reco, i, j, k, m_clustRotation_neg, m_clustRotation_pos, m_cm_flash_diffs, m_corrected_CMcluster_map, m_dcc_in_average, m_dcc_in_static, m_dcc_out, m_dcc_out_aggregated, m_distortionCorrection, m_event_index, TpcDistortionCorrectionContainer::m_hDPint, TpcDistortionCorrectionContainer::m_hDRint, TpcDistortionCorrectionContainer::m_hDZint, TpcDistortionCorrectionContainer::m_hentries, m_nMatchIter, m_phi_cut, m_savehistograms, m_truth_pos, m_useOnly_nClus2, match_ntup, merge_hashes::p, Acts::Test::pos, physmon_track_finding_ttbar::r, CMFlashDifferenceContainer::size(), CMFlashClusterContainer::size(), value, Fun4AllBase::Verbosity(), TauVsDIS_MachineLearning_Differentiation::X, and TauVsDIS_MachineLearning_Differentiation::Y.

+ Here is the call graph for this function:

void PHTpcCentralMembraneMatcher::set_grid_dimensions ( int  phibins,
int  rbins 
)

Definition at line 138 of file PHTpcCentralMembraneMatcher.cc.

View newest version in sPHENIX GitHub at line 138 of file PHTpcCentralMembraneMatcher.cc

References m_phibins, m_rbins, and MATSCAN::phibins.

void PHTpcCentralMembraneMatcher::set_useOnly_nClus2 ( bool  val)
inline

Definition at line 56 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 56 of file PHTpcCentralMembraneMatcher.h

References m_useOnly_nClus2.

void PHTpcCentralMembraneMatcher::setHistogramOutputfile ( const std::string &  outputfile)
inline

output file name for evaluation histograms

Definition at line 47 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 47 of file PHTpcCentralMembraneMatcher.h

References m_histogramfilename.

void PHTpcCentralMembraneMatcher::setNMatchIter ( int  val)
inline

Definition at line 54 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 54 of file PHTpcCentralMembraneMatcher.h

References m_nMatchIter.

void PHTpcCentralMembraneMatcher::setOutputfile ( const std::string &  outputfile)
inline

output file name for storing the space charge reconstruction matrices

Definition at line 51 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 51 of file PHTpcCentralMembraneMatcher.h

References m_outputfile.

void PHTpcCentralMembraneMatcher::setSavehistograms ( bool  value)
inline

set to true to store evaluation histograms and ntuples

Definition at line 43 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 43 of file PHTpcCentralMembraneMatcher.h

References m_savehistograms, and value.

Referenced by TPC_LaserClustering().

+ Here is the caller graph for this function:

Member Data Documentation

TH2F* PHTpcCentralMembraneMatcher::clust_r_phi_neg
private

Definition at line 127 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 127 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), InitRun(), and process_event().

TH2F* PHTpcCentralMembraneMatcher::clust_r_phi_pos
private

Definition at line 126 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 126 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), InitRun(), and process_event().

constexpr double PHTpcCentralMembraneMatcher::cm = 10.0
staticprivate

Definition at line 162 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 162 of file PHTpcCentralMembraneMatcher.h

Referenced by CalculateCenters().

double PHTpcCentralMembraneMatcher::cx1[nStripes_R1][nRadii]
private

Definition at line 180 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 180 of file PHTpcCentralMembraneMatcher.h

Referenced by InitRun(), and PHTpcCentralMembraneMatcher().

double PHTpcCentralMembraneMatcher::cx1_e[nStripes_R1][nRadii]
private

Definition at line 179 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 179 of file PHTpcCentralMembraneMatcher.h

Referenced by InitRun(), and PHTpcCentralMembraneMatcher().

double PHTpcCentralMembraneMatcher::cx2[nStripes_R2][nRadii]
private

Definition at line 181 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 181 of file PHTpcCentralMembraneMatcher.h

Referenced by InitRun(), and PHTpcCentralMembraneMatcher().

double PHTpcCentralMembraneMatcher::cx3[nStripes_R3][nRadii]
private

Definition at line 182 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 182 of file PHTpcCentralMembraneMatcher.h

Referenced by InitRun(), and PHTpcCentralMembraneMatcher().

double PHTpcCentralMembraneMatcher::cy1[nStripes_R1][nRadii]
private

Definition at line 185 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 185 of file PHTpcCentralMembraneMatcher.h

Referenced by InitRun(), and PHTpcCentralMembraneMatcher().

double PHTpcCentralMembraneMatcher::cy1_e[nStripes_R1][nRadii]
private

Definition at line 184 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 184 of file PHTpcCentralMembraneMatcher.h

Referenced by InitRun(), and PHTpcCentralMembraneMatcher().

double PHTpcCentralMembraneMatcher::cy2[nStripes_R2][nRadii]
private

Definition at line 186 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 186 of file PHTpcCentralMembraneMatcher.h

Referenced by InitRun(), and PHTpcCentralMembraneMatcher().

double PHTpcCentralMembraneMatcher::cy3[nStripes_R3][nRadii]
private

Definition at line 187 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 187 of file PHTpcCentralMembraneMatcher.h

Referenced by InitRun(), and PHTpcCentralMembraneMatcher().

std::unique_ptr<TFile> PHTpcCentralMembraneMatcher::fout
private

Definition at line 118 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 118 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), and InitRun().

std::unique_ptr<TFile> PHTpcCentralMembraneMatcher::fout2
private

Definition at line 121 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 121 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), and InitRun().

TH1F* PHTpcCentralMembraneMatcher::hdphi = nullptr
private

Definition at line 109 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 109 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), InitRun(), and process_event().

TH1F* PHTpcCentralMembraneMatcher::hdr1_double = nullptr
private

Definition at line 113 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 113 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), InitRun(), and process_event().

TH1F* PHTpcCentralMembraneMatcher::hdr1_single = nullptr
private

Definition at line 110 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 110 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), InitRun(), and process_event().

TH1F* PHTpcCentralMembraneMatcher::hdr2_double = nullptr
private

Definition at line 114 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 114 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), InitRun(), and process_event().

TH1F* PHTpcCentralMembraneMatcher::hdr2_single = nullptr
private

Definition at line 111 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 111 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), InitRun(), and process_event().

TH1F* PHTpcCentralMembraneMatcher::hdr3_double = nullptr
private

Definition at line 115 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 115 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), InitRun(), and process_event().

TH1F* PHTpcCentralMembraneMatcher::hdr3_single = nullptr
private

Definition at line 112 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 112 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), InitRun(), and process_event().

TH2F* PHTpcCentralMembraneMatcher::hdrdphi = nullptr
private

Definition at line 105 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 105 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), InitRun(), and process_event().

TH1F* PHTpcCentralMembraneMatcher::hdrphi = nullptr
private

Definition at line 108 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 108 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), InitRun(), and process_event().

TH2F* PHTpcCentralMembraneMatcher::hit_r_phi
private

Definition at line 124 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 124 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), InitRun(), and process_event().

TH1F* PHTpcCentralMembraneMatcher::hnclus = nullptr
private

Definition at line 116 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 116 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), InitRun(), and process_event().

TH2F* PHTpcCentralMembraneMatcher::hrdphi = nullptr
private

Definition at line 107 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 107 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), InitRun(), and process_event().

TH2F* PHTpcCentralMembraneMatcher::hrdr = nullptr
private

Definition at line 106 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 106 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), InitRun(), and process_event().

TH2F* PHTpcCentralMembraneMatcher::hxy_reco = nullptr
private

Definition at line 103 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 103 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), InitRun(), and process_event().

TH2F* PHTpcCentralMembraneMatcher::hxy_truth = nullptr
private

Definition at line 104 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 104 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), and InitRun().

constexpr std::array<int, nRadii> PHTpcCentralMembraneMatcher::keepThisAndAfter = {{1, 0, 1, 0, 1, 0, 1, 0}}
staticprivate

min stripe index

Definition at line 196 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 196 of file PHTpcCentralMembraneMatcher.h

Referenced by CalculateCenters().

constexpr std::array<int, nRadii> PHTpcCentralMembraneMatcher::keepUntil_R1 = {{5, 5, 6, 5, 6, 5, 6, 5}}
staticprivate

Definition at line 200 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 200 of file PHTpcCentralMembraneMatcher.h

Referenced by PHTpcCentralMembraneMatcher().

constexpr std::array<int, nRadii> PHTpcCentralMembraneMatcher::keepUntil_R1_e = {{4, 4, 5, 4, 5, 5, 5, 5}}
staticprivate

max stripe index

Definition at line 199 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 199 of file PHTpcCentralMembraneMatcher.h

Referenced by PHTpcCentralMembraneMatcher().

constexpr std::array<int, nRadii> PHTpcCentralMembraneMatcher::keepUntil_R2 = {{7, 7, 8, 7, 8, 8, 8, 8}}
staticprivate

Definition at line 201 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 201 of file PHTpcCentralMembraneMatcher.h

Referenced by PHTpcCentralMembraneMatcher().

constexpr std::array<int, nRadii> PHTpcCentralMembraneMatcher::keepUntil_R3 = {{11, 10, 11, 11, 11, 11, 12, 11}}
staticprivate

Definition at line 202 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 202 of file PHTpcCentralMembraneMatcher.h

Referenced by PHTpcCentralMembraneMatcher().

double PHTpcCentralMembraneMatcher::m_clustRotation_neg[3]
private

Definition at line 236 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 236 of file PHTpcCentralMembraneMatcher.h

Referenced by process_event().

double PHTpcCentralMembraneMatcher::m_clustRotation_pos[3]
private

Definition at line 235 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 235 of file PHTpcCentralMembraneMatcher.h

Referenced by process_event().

CMFlashDifferenceContainer* PHTpcCentralMembraneMatcher::m_cm_flash_diffs {nullptr}
private

Definition at line 77 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 77 of file PHTpcCentralMembraneMatcher.h

Referenced by GetNodes(), and process_event().

CMFlashClusterContainer* PHTpcCentralMembraneMatcher::m_corrected_CMcluster_map {nullptr}
private

Definition at line 76 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 76 of file PHTpcCentralMembraneMatcher.h

Referenced by GetNodes(), and process_event().

TpcDistortionCorrectionContainer* PHTpcCentralMembraneMatcher::m_dcc_in_average {nullptr}
private

Definition at line 82 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 82 of file PHTpcCentralMembraneMatcher.h

Referenced by GetNodes(), and process_event().

TpcDistortionCorrectionContainer* PHTpcCentralMembraneMatcher::m_dcc_in_static {nullptr}
private

static distortion container

used in input to correct CM clusters before calculating residuals

Definition at line 81 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 81 of file PHTpcCentralMembraneMatcher.h

Referenced by GetNodes(), and process_event().

TpcDistortionCorrectionContainer* PHTpcCentralMembraneMatcher::m_dcc_out {nullptr}
private

fluctuation distortion container

used in output to write fluctuation distortions

Definition at line 86 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 86 of file PHTpcCentralMembraneMatcher.h

Referenced by GetNodes(), and process_event().

std::unique_ptr<TpcDistortionCorrectionContainer> PHTpcCentralMembraneMatcher::m_dcc_out_aggregated
private

local fluctuation distortion container

Definition at line 93 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 93 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), GetNodes(), and process_event().

TpcDistortionCorrection PHTpcCentralMembraneMatcher::m_distortionCorrection
private

tpc distortion correction utility class

Definition at line 74 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 74 of file PHTpcCentralMembraneMatcher.h

Referenced by process_event().

int PHTpcCentralMembraneMatcher::m_event_index = 0
private

Definition at line 131 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 131 of file PHTpcCentralMembraneMatcher.h

Referenced by process_event().

std::string PHTpcCentralMembraneMatcher::m_histogramfilename = "PHTpcCentralMembraneMatcher.root"
private

Definition at line 101 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 101 of file PHTpcCentralMembraneMatcher.h

Referenced by InitRun(), and setHistogramOutputfile().

std::string PHTpcCentralMembraneMatcher::m_histogramfilename2 = "CMMatcher.root"
private

Definition at line 122 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 122 of file PHTpcCentralMembraneMatcher.h

Referenced by InitRun().

int PHTpcCentralMembraneMatcher::m_nMatchIter = 2
private

Definition at line 233 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 233 of file PHTpcCentralMembraneMatcher.h

Referenced by process_event(), and setNMatchIter().

std::string PHTpcCentralMembraneMatcher::m_outputfile = "CMDistortionCorrections.root"
private

output file, to which aggregated central membrane distortion corrections are stored

Definition at line 96 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 96 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), and setOutputfile().

double PHTpcCentralMembraneMatcher::m_phi_cut = 0.02
private

radius cut for matching clusters to pad, for size 2 clusters

phi cut for matching clusters to pad TODO: this will need to be adjusted to match beam-induced time averaged distortions

Definition at line 140 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 140 of file PHTpcCentralMembraneMatcher.h

Referenced by process_event().

int PHTpcCentralMembraneMatcher::m_phibins = 24
private

distortion correction grid size along phi

Definition at line 146 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 146 of file PHTpcCentralMembraneMatcher.h

Referenced by GetNodes(), and set_grid_dimensions().

constexpr float PHTpcCentralMembraneMatcher::m_phiMax = 2.*M_PI
staticprivate

Definition at line 149 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 149 of file PHTpcCentralMembraneMatcher.h

Referenced by GetNodes().

constexpr float PHTpcCentralMembraneMatcher::m_phiMin = 0
staticprivate

Definition at line 148 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 148 of file PHTpcCentralMembraneMatcher.h

Referenced by GetNodes().

int PHTpcCentralMembraneMatcher::m_rbins = 12
private

distortion correction grid size along r

Definition at line 152 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 152 of file PHTpcCentralMembraneMatcher.h

Referenced by GetNodes(), and set_grid_dimensions().

constexpr float PHTpcCentralMembraneMatcher::m_rMax = 80
staticprivate

Definition at line 155 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 155 of file PHTpcCentralMembraneMatcher.h

Referenced by GetNodes().

constexpr float PHTpcCentralMembraneMatcher::m_rMin = 20
staticprivate

Definition at line 154 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 154 of file PHTpcCentralMembraneMatcher.h

Referenced by GetNodes().

bool PHTpcCentralMembraneMatcher::m_savehistograms = false
private

Definition at line 100 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 100 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), InitRun(), process_event(), and setSavehistograms().

std::vector<TVector3> PHTpcCentralMembraneMatcher::m_truth_pos
private

store centers of all central membrane pads

Definition at line 227 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 227 of file PHTpcCentralMembraneMatcher.h

Referenced by InitRun(), and process_event().

bool PHTpcCentralMembraneMatcher::m_useOnly_nClus2 = false
private

Definition at line 231 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 231 of file PHTpcCentralMembraneMatcher.h

Referenced by process_event(), and set_useOnly_nClus2().

TNtuple* PHTpcCentralMembraneMatcher::match_ntup = nullptr
private

Definition at line 129 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 129 of file PHTpcCentralMembraneMatcher.h

Referenced by End(), InitRun(), and process_event().

constexpr double PHTpcCentralMembraneMatcher::mm = 1.0
staticprivate

Definition at line 161 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 161 of file PHTpcCentralMembraneMatcher.h

Referenced by CalculateCenters().

std::array<int, nRadii> PHTpcCentralMembraneMatcher::nGoodStripes_R1 = {}
private

Definition at line 191 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 191 of file PHTpcCentralMembraneMatcher.h

Referenced by InitRun(), and PHTpcCentralMembraneMatcher().

std::array<int, nRadii> PHTpcCentralMembraneMatcher::nGoodStripes_R1_e = {}
private

Definition at line 190 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 190 of file PHTpcCentralMembraneMatcher.h

Referenced by InitRun(), and PHTpcCentralMembraneMatcher().

std::array<int, nRadii> PHTpcCentralMembraneMatcher::nGoodStripes_R2 = {}
private

Definition at line 192 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 192 of file PHTpcCentralMembraneMatcher.h

Referenced by InitRun(), and PHTpcCentralMembraneMatcher().

std::array<int, nRadii> PHTpcCentralMembraneMatcher::nGoodStripes_R3 = {}
private

Definition at line 193 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 193 of file PHTpcCentralMembraneMatcher.h

Referenced by InitRun(), and PHTpcCentralMembraneMatcher().

constexpr int PHTpcCentralMembraneMatcher::nPads_R1 = 6 * 16
staticprivate

Definition at line 169 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 169 of file PHTpcCentralMembraneMatcher.h

Referenced by PHTpcCentralMembraneMatcher().

constexpr int PHTpcCentralMembraneMatcher::nPads_R2 = 8 * 16
staticprivate

Definition at line 170 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 170 of file PHTpcCentralMembraneMatcher.h

Referenced by PHTpcCentralMembraneMatcher().

constexpr int PHTpcCentralMembraneMatcher::nPads_R3 = 12 * 16
staticprivate

Definition at line 171 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 171 of file PHTpcCentralMembraneMatcher.h

Referenced by PHTpcCentralMembraneMatcher().

constexpr int PHTpcCentralMembraneMatcher::nPetals = 18
staticprivate

Definition at line 214 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 214 of file PHTpcCentralMembraneMatcher.h

constexpr int PHTpcCentralMembraneMatcher::nRadii = 8
staticprivate

Definition at line 164 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 164 of file PHTpcCentralMembraneMatcher.h

Referenced by CalculateCenters(), and InitRun().

constexpr int PHTpcCentralMembraneMatcher::nStripes_R1 = 6
staticprivate

Definition at line 165 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 165 of file PHTpcCentralMembraneMatcher.h

constexpr int PHTpcCentralMembraneMatcher::nStripes_R2 = 8
staticprivate

Definition at line 166 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 166 of file PHTpcCentralMembraneMatcher.h

constexpr int PHTpcCentralMembraneMatcher::nStripes_R3 = 12
staticprivate

Definition at line 167 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 167 of file PHTpcCentralMembraneMatcher.h

std::array<int, nRadii> PHTpcCentralMembraneMatcher::nStripesBefore_R1 = {}
private

Definition at line 209 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 209 of file PHTpcCentralMembraneMatcher.h

Referenced by PHTpcCentralMembraneMatcher().

std::array<int, nRadii> PHTpcCentralMembraneMatcher::nStripesBefore_R1_e = {}
private

Definition at line 208 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 208 of file PHTpcCentralMembraneMatcher.h

Referenced by CalculateCenters(), and PHTpcCentralMembraneMatcher().

std::array<int, nRadii> PHTpcCentralMembraneMatcher::nStripesBefore_R2 = {}
private

Definition at line 210 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 210 of file PHTpcCentralMembraneMatcher.h

Referenced by PHTpcCentralMembraneMatcher().

std::array<int, nRadii> PHTpcCentralMembraneMatcher::nStripesBefore_R3 = {}
private

Definition at line 211 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 211 of file PHTpcCentralMembraneMatcher.h

Referenced by PHTpcCentralMembraneMatcher().

std::array<int, nRadii> PHTpcCentralMembraneMatcher::nStripesIn_R1 = {}
private

Definition at line 205 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 205 of file PHTpcCentralMembraneMatcher.h

Referenced by PHTpcCentralMembraneMatcher().

std::array<int, nRadii> PHTpcCentralMembraneMatcher::nStripesIn_R1_e = {}
private

Definition at line 204 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 204 of file PHTpcCentralMembraneMatcher.h

Referenced by PHTpcCentralMembraneMatcher().

std::array<int, nRadii> PHTpcCentralMembraneMatcher::nStripesIn_R2 = {}
private

Definition at line 206 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 206 of file PHTpcCentralMembraneMatcher.h

Referenced by PHTpcCentralMembraneMatcher().

std::array<int, nRadii> PHTpcCentralMembraneMatcher::nStripesIn_R3 = {}
private

Definition at line 207 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 207 of file PHTpcCentralMembraneMatcher.h

Referenced by PHTpcCentralMembraneMatcher().

constexpr int PHTpcCentralMembraneMatcher::nStripesPerPetal = 213
staticprivate

Definition at line 213 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 213 of file PHTpcCentralMembraneMatcher.h

constexpr int PHTpcCentralMembraneMatcher::nTotStripes = nStripesPerPetal * nPetals
staticprivate

Definition at line 215 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 215 of file PHTpcCentralMembraneMatcher.h

constexpr std::array<double, nRadii> PHTpcCentralMembraneMatcher::R1 = {{317.648082 * mm, 328.9678074 * mm, 340.2875328 * mm, 351.6072582 * mm, 362.9269836 * mm, 374.246709 * mm, 385.5664344 * mm, 396.8861597 * mm}}
staticprivate

Definition at line 175 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 175 of file PHTpcCentralMembraneMatcher.h

Referenced by PHTpcCentralMembraneMatcher().

constexpr std::array<double, nRadii> PHTpcCentralMembraneMatcher::R1_e = {{227.0902789 * mm, 238.4100043 * mm, 249.7297296 * mm, 261.049455 * mm, 272.3691804 * mm, 283.6889058 * mm, 295.0086312 * mm, 306.3283566 * mm}}
staticprivate

stripe radii

Definition at line 174 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 174 of file PHTpcCentralMembraneMatcher.h

Referenced by PHTpcCentralMembraneMatcher().

constexpr std::array<double, nRadii> PHTpcCentralMembraneMatcher::R2 = {{421.705532 * mm, 442.119258 * mm, 462.532984 * mm, 482.9467608 * mm, 503.36069 * mm, 523.774416 * mm, 544.188015 * mm, 564.601868 * mm}}
staticprivate

Definition at line 176 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 176 of file PHTpcCentralMembraneMatcher.h

Referenced by PHTpcCentralMembraneMatcher().

constexpr std::array<double, nRadii> PHTpcCentralMembraneMatcher::R3 = {{594.6048725 * mm, 616.545823 * mm, 638.4867738 * mm, 660.4277246 * mm, 682.3686754 * mm, 704.3096262 * mm, 726.250577 * mm, 748.1915277 * mm}}
staticprivate

Definition at line 177 of file PHTpcCentralMembraneMatcher.h.

View newest version in sPHENIX GitHub at line 177 of file PHTpcCentralMembraneMatcher.h

Referenced by PHTpcCentralMembraneMatcher().


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