#include <UEAnalysisUE.h>
Definition at line 19 of file UEAnalysisUE.h.
UEAnalysisUE::UEAnalysisUE | ( | ) |
UEAnalysisUE::~UEAnalysisUE | ( | ) | [inline] |
Definition at line 23 of file UEAnalysisUE.h.
{}
void UEAnalysisUE::Begin | ( | TFile * | ) |
void UEAnalysisUE::ueAnalysisMC | ( | float | , |
std::string | , | ||
float | , | ||
float | , | ||
TClonesArray * | , | ||
TClonesArray * | |||
) |
void UEAnalysisUE::ueAnalysisRECO | ( | float | , |
std::string | , | ||
float | , | ||
float | , | ||
TClonesArray * | , | ||
TClonesArray * | |||
) |
void Vx3DHLTAnalyzer::writeToFile | ( | TFile * | ) |
Definition at line 655 of file Vx3DHLTAnalyzer.cc.
References convertXMLtoSQLite_cfg::fileName, edm::formatTime(), NULL, dbtoconf::out, download_sqlite_cfg::outputFile, inputsource_file_cfi::runNumber, and mathSSE::sqrt().
{ stringstream BufferString; BufferString.precision(5); outputFile.open(fileName.c_str(), ios::out); if ((outputFile.is_open() == true) && (vals != NULL) && (vals->size() == 8*2)) { vector<double>::const_iterator it = vals->begin(); outputFile << "Runnumber " << runNumber << endl; outputFile << "BeginTimeOfFit " << formatTime(beginTimeOfFit >> 32) << " " << (beginTimeOfFit >> 32) << endl; outputFile << "EndTimeOfFit " << formatTime(endTimeOfFit >> 32) << " " << (endTimeOfFit >> 32) << endl; outputFile << "LumiRange " << beginLumiOfFit << " - " << endLumiOfFit << endl; outputFile << "Type " << dataType << endl; // 3D Vertexing with Pixel Tracks: // Good data = Type 3 // Bad data = Type -1 BufferString << *(it+0); outputFile << "X0 " << BufferString.str().c_str() << endl; BufferString.str(""); BufferString << *(it+1); outputFile << "Y0 " << BufferString.str().c_str() << endl; BufferString.str(""); BufferString << *(it+2); outputFile << "Z0 " << BufferString.str().c_str() << endl; BufferString.str(""); BufferString << *(it+3); outputFile << "sigmaZ0 " << BufferString.str().c_str() << endl; BufferString.str(""); BufferString << *(it+4); outputFile << "dxdz " << BufferString.str().c_str() << endl; BufferString.str(""); BufferString << *(it+5); outputFile << "dydz " << BufferString.str().c_str() << endl; BufferString.str(""); BufferString << *(it+6); outputFile << "BeamWidthX " << BufferString.str().c_str() << endl; BufferString.str(""); BufferString << *(it+7); outputFile << "BeamWidthY " << BufferString.str().c_str() << endl; BufferString.str(""); outputFile << "Cov(0,j) " << *(it+8) << " 0.0 0.0 0.0 0.0 0.0 0.0" << endl; outputFile << "Cov(1,j) 0.0 " << *(it+9) << " 0.0 0.0 0.0 0.0 0.0" << endl; outputFile << "Cov(2,j) 0.0 0.0 " << *(it+10) << " 0.0 0.0 0.0 0.0" << endl; outputFile << "Cov(3,j) 0.0 0.0 0.0 " << *(it+11) << " 0.0 0.0 0.0" << endl; outputFile << "Cov(4,j) 0.0 0.0 0.0 0.0 " << *(it+12) << " 0.0 0.0" << endl; outputFile << "Cov(5,j) 0.0 0.0 0.0 0.0 0.0 " << *(it+13) << " 0.0" << endl; outputFile << "Cov(6,j) 0.0 0.0 0.0 0.0 0.0 0.0 " << ((*(it+14)) + (*(it+15)) + 2.*std::sqrt((*(it+14))*(*(it+15)))) / 4. << endl; outputFile << "EmittanceX 0.0" << endl; outputFile << "EmittanceY 0.0" << endl; outputFile << "BetaStar 0.0" << endl; } outputFile.close(); if ((debugMode == true) && (outputDebugFile.is_open() == true) && (vals != NULL) && (vals->size() == 8*2)) { vector<double>::const_iterator it = vals->begin(); outputDebugFile << "Runnumber " << runNumber << endl; outputDebugFile << "BeginTimeOfFit " << formatTime(beginTimeOfFit >> 32) << " " << (beginTimeOfFit >> 32) << endl; outputDebugFile << "EndTimeOfFit " << formatTime(endTimeOfFit >> 32) << " " << (endTimeOfFit >> 32) << endl; outputDebugFile << "LumiRange " << beginLumiOfFit << " - " << endLumiOfFit << endl; outputDebugFile << "Type " << dataType << endl; // 3D Vertexing with Pixel Tracks: // Good data = Type 3 // Bad data = Type -1 BufferString << *(it+0); outputDebugFile << "X0 " << BufferString.str().c_str() << endl; BufferString.str(""); BufferString << *(it+1); outputDebugFile << "Y0 " << BufferString.str().c_str() << endl; BufferString.str(""); BufferString << *(it+2); outputDebugFile << "Z0 " << BufferString.str().c_str() << endl; BufferString.str(""); BufferString << *(it+3); outputDebugFile << "sigmaZ0 " << BufferString.str().c_str() << endl; BufferString.str(""); BufferString << *(it+4); outputDebugFile << "dxdz " << BufferString.str().c_str() << endl; BufferString.str(""); BufferString << *(it+5); outputDebugFile << "dydz " << BufferString.str().c_str() << endl; BufferString.str(""); BufferString << *(it+6); outputDebugFile << "BeamWidthX " << BufferString.str().c_str() << endl; BufferString.str(""); BufferString << *(it+7); outputDebugFile << "BeamWidthY " << BufferString.str().c_str() << endl; BufferString.str(""); outputDebugFile << "Cov(0,j) " << *(it+8) << " 0.0 0.0 0.0 0.0 0.0 0.0" << endl; outputDebugFile << "Cov(1,j) 0.0 " << *(it+9) << " 0.0 0.0 0.0 0.0 0.0" << endl; outputDebugFile << "Cov(2,j) 0.0 0.0 " << *(it+10) << " 0.0 0.0 0.0 0.0" << endl; outputDebugFile << "Cov(3,j) 0.0 0.0 0.0 " << *(it+11) << " 0.0 0.0 0.0" << endl; outputDebugFile << "Cov(4,j) 0.0 0.0 0.0 0.0 " << *(it+12) << " 0.0 0.0" << endl; outputDebugFile << "Cov(5,j) 0.0 0.0 0.0 0.0 0.0 " << *(it+13) << " 0.0" << endl; outputDebugFile << "Cov(6,j) 0.0 0.0 0.0 0.0 0.0 0.0 " << ((*(it+14)) + (*(it+15)) + 2.*std::sqrt((*(it+14))*(*(it+15)))) / 4. << endl; outputDebugFile << "EmittanceX 0.0" << endl; outputDebugFile << "EmittanceY 0.0" << endl; outputDebugFile << "BetaStar 0.0" << endl; } }
Definition at line 102 of file UEAnalysisUE.h.
Definition at line 34 of file UEAnalysisUE.h.
Definition at line 64 of file UEAnalysisUE.h.
Definition at line 35 of file UEAnalysisUE.h.
Definition at line 65 of file UEAnalysisUE.h.
Definition at line 33 of file UEAnalysisUE.h.
Definition at line 63 of file UEAnalysisUE.h.
Definition at line 44 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_dphiMC |
Definition at line 40 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_dphiRECO |
Definition at line 70 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_etaMC |
Definition at line 37 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_etaRECO |
Definition at line 67 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_ptCJAwayRECO |
Definition at line 91 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_ptCJTowardRECO |
Definition at line 90 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_ptCJTransMaxRECO |
Definition at line 85 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_ptCJTransMinRECO |
Definition at line 86 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_ptCJTransRECO |
Definition at line 84 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_ptJAwayMC |
Definition at line 54 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_ptJAwayRECO |
Definition at line 80 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_ptJTowardMC |
Definition at line 53 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_ptJTowardRECO |
Definition at line 79 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_ptJTransMaxMC |
Definition at line 48 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_ptJTransMaxRECO |
Definition at line 74 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_ptJTransMC |
Definition at line 47 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_ptJTransMinMC |
Definition at line 49 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_ptJTransMinRECO |
Definition at line 75 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_ptJTransRECO |
Definition at line 73 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_ptMC |
Definition at line 38 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdN_vs_ptRECO |
Definition at line 68 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdPt_vs_dphiMC |
Definition at line 41 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdPt_vs_dphiRECO |
Definition at line 71 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdPt_vs_ptCJAwayRECO |
Definition at line 93 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdPt_vs_ptCJTowardRECO |
Definition at line 92 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdPt_vs_ptCJTransMaxRECO |
Definition at line 88 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdPt_vs_ptCJTransMinRECO |
Definition at line 89 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdPt_vs_ptCJTransRECO |
Definition at line 87 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdPt_vs_ptJAwayMC |
Definition at line 56 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdPt_vs_ptJAwayRECO |
Definition at line 82 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdPt_vs_ptJTowardMC |
Definition at line 55 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdPt_vs_ptJTowardRECO |
Definition at line 81 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdPt_vs_ptJTransMaxMC |
Definition at line 51 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdPt_vs_ptJTransMaxRECO |
Definition at line 77 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdPt_vs_ptJTransMC |
Definition at line 50 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdPt_vs_ptJTransMinMC |
Definition at line 52 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdPt_vs_ptJTransMinRECO |
Definition at line 78 of file UEAnalysisUE.h.
TProfile* UEAnalysisUE::pdPt_vs_ptJTransRECO |
Definition at line 76 of file UEAnalysisUE.h.
float UEAnalysisUE::piG |
Definition at line 100 of file UEAnalysisUE.h.
TH1F* UEAnalysisUE::temp1MC |
Definition at line 58 of file UEAnalysisUE.h.
TH1F* UEAnalysisUE::temp1RECO |
Definition at line 95 of file UEAnalysisUE.h.
TH1F* UEAnalysisUE::temp2MC |
Definition at line 59 of file UEAnalysisUE.h.
TH1F* UEAnalysisUE::temp2RECO |
Definition at line 96 of file UEAnalysisUE.h.
TH1F* UEAnalysisUE::temp3MC |
Definition at line 60 of file UEAnalysisUE.h.
TH1F* UEAnalysisUE::temp3RECO |
Definition at line 97 of file UEAnalysisUE.h.
TH1F* UEAnalysisUE::temp4MC |
Definition at line 61 of file UEAnalysisUE.h.
TH1F* UEAnalysisUE::temp4RECO |
Definition at line 98 of file UEAnalysisUE.h.