Commit e426bb45 authored by Chad Lantz's avatar Chad Lantz
Browse files

Added nPhotons output

parent db7acd93
......@@ -112,6 +112,7 @@ void EMAnalysis::SetBranches( TTree* _tree ){
for(int row = 0; row < m_numRows; row++){
for(int col = 0; col < m_numCols; col++){
m_AnalysisTree->Branch( Form("em%d_%d_Charge", row, col), "std::vector<double>", &em[row][col]->Charge );
m_AnalysisTree->Branch( Form("em%d_%d_nPhotons", row, col), "std::vector<float>", &em[row][col]->nPhotons );
m_AnalysisTree->Branch( Form("em%d_%d_Peak_max", row, col), "std::vector<double>", &em[row][col]->Peak_max );
m_AnalysisTree->Branch( Form("em%d_%d_Diff_max", row, col), "std::vector<double>", &em[row][col]->Diff_max );
m_AnalysisTree->Branch( Form("em%d_%d_Peak_center", row, col), "std::vector<int>", &em[row][col]->Peak_center );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment