CGEM BOSS 6.6.5.i
BESIII Offline Software System
|
#include <iostream>
#include <iomanip>
#include <sstream>
#include <string>
#include <cmath>
#include <csignal>
#include "TFile.h"
#include "TTree.h"
#include <fstream>
#include "stdio.h"
#include "TCanvas.h"
#include "TH2F.h"
#include "TCut.h"
#include "TChain.h"
#include "TF1.h"
#include <map>
#include "TSystem.h"
#include "TStyle.h"
#include "TMinuit.h"
#include "TString.h"
#include "TMath.h"
#include "GaudiKernel/AlgFactory.h"
#include "GaudiKernel/DataObject.h"
#include "GaudiKernel/IEventProcessor.h"
#include "GaudiKernel/Incident.h"
#include "GaudiKernel/IIncidentSvc.h"
#include "GaudiKernel/Memory.h"
#include "GaudiKernel/ISvcLocator.h"
#include "GaudiKernel/IDataProviderSvc.h"
#include "GaudiKernel/Bootstrap.h"
#include "GaudiKernel/RegistryEntry.h"
#include "GaudiKernel/MsgStream.h"
#include "ReadCosmicRayData/CgemLUTWriter.h"
Go to the source code of this file.
Functions | |
TChain | ch ("t1") |
int | err_noise (0) |
int | err_charge (1) |
int | err_comunication (2) |
double | fitfunctionFD (double *x, double *par) |
Variables | |
const float | TIME_BIN = 6.25 |
const int | charge_cut = -40 |
const int | charge_max = 70 |
const int | signal_time_cut_min = -9300 |
const int | signal_time_cut_max = -8800 |
const int | noise_time_cut_min_left = -9600 |
const int | noise_time_cut_max_left = -9300 |
const int | noise_time_cut_min_right = -8600 |
const int | noise_time_cut_max_right = -8300 |
const double | time_window_signal = ( signal_time_cut_max - signal_time_cut_min ) * 1e-9 |
const double | time_window_noise = ( noise_time_cut_max_left - noise_time_cut_min_left + noise_time_cut_max_right - noise_time_cut_min_right ) * 1e-9 |
const double | max_rate = 10000 |
const double | max_noise_charge = 8 |
const double | max_threshold = 3. |
const double | min_average_efficiency = 0.90 |
const double | min_efficiency = 0.80 |
const double | failure_rate_efficienct = 0.1 |
const double | min_saturation_value = 40 |
TString | inFile_name |
TString | inFileTP |
TString | outFile |
TCanvas * | c1 = new TCanvas("c1","c1",800,600) |
int | error_counter [N_FEB][N_CHIP] |
bool | error_counter_type [N_FEB][N_CHIP][3] |
std::fstream | outStream |
double | expected_noise_rate = 2000 |
double | expected_noise_per_chip = time_window_noise * expected_noise_rate * N_CHANNEL |
int | east [11] ={2,3,8,9,10,11,17,18,19,20,21} |
int | sheet1 [32] ={23,24,25,26,27,28,29,37,38,39,40,41,42,43,53,54,55,56,57,58,59,60,61,71,72,73,74,75,76,77,78,79} |
TChain ch | ( | "t1" | ) |
Referenced by ZddBoard::addChannel(), BesEmcConstruction::Construct(), BesClient::InitGeoSelector(), CgemLUTWriter::initialize(), BesClient::InitParameter(), EvtPDL::readPDT(), RootIoSvc::registerRootTree(), MdcCosWire::setChannel(), DstMucTrack::setkalRechi2(), TMucTrack::setkalRechi2(), and TRecMucTrack::setkalRechi2().
int err_charge | ( | 1 | ) |
int err_comunication | ( | 2 | ) |
int err_noise | ( | 0 | ) |
|
inline |
Definition at line 83 of file CgemLUTWriter.cxx.
TCanvas* c1 = new TCanvas("c1","c1",800,600) |
Definition at line 75 of file CgemLUTWriter.cxx.
Referenced by ResiAlign::align(), HoughTrack::calculateZ_S(), BesEmcEndGeometry::ComputeDimAndPos(), ExtBesEmcEndGeometry::ComputeDimAndPos(), EvtJ2BB1::decay(), EvtJ2BB2::decay(), BesTView::DefinePerspectiveView(), BesTView::DefineViewDirection(), EvtParticle::dumpTreeRec(), DimuPreSelect::execute(), TofCalibFit::fillRoot(), MucGeometron::GetIntersectionLinePlaneWithSigma(), MucGeometron::GetIntersectionQuadPlane(), MucGeometron::GetIntersectionQuadPlaneLocal(), EvtPartWave::init(), ParticleIDBase::interpolation(), intersection(), DimuPreSelect::IsDimu(), HTrackParameter::minDistanceTwoHelix(), Ext_xp_err::move(), BesTView::NormalWCtoNDC(), BesTView::NormalWCtoNDC(), CgemCosmicRayQA::plot_debug_tpc(), BesTView::ResetView(), TTrackManager::setCurlerFlags(), ResiAlign::updateConst(), HoughHit::VHitPosition(), DedxCalibCostheta::WriteHists(), DedxCalibDocaEAng::WriteHists(), DedxCalibEAng::WriteHists(), DedxCalibLayerGain::WriteHists(), DedxCalibMomentum::WriteHists(), and DedxCalibWireGain::WriteHists().
const int charge_cut = -40 |
Definition at line 53 of file CgemLUTWriter.cxx.
const int charge_max = 70 |
Definition at line 54 of file CgemLUTWriter.cxx.
int east[11] ={2,3,8,9,10,11,17,18,19,20,21} |
Definition at line 84 of file CgemLUTWriter.cxx.
Referenced by Adc::calculate(), PmtData::calculate(), BesMdcSD::Distance(), TofTrack::match(), TofCorrPID::particleIDCalculation(), TofHitStatus::setBarrelRaw(), TofHitStatus::setBarrelReadout(), TofHitStatus::setEast(), TofHitStatus::setEndcapCluster(), and TofHitStatus::setEndcapRaw().
Definition at line 76 of file CgemLUTWriter.cxx.
Definition at line 77 of file CgemLUTWriter.cxx.
double expected_noise_per_chip = time_window_noise * expected_noise_rate * N_CHANNEL |
Definition at line 81 of file CgemLUTWriter.cxx.
Referenced by CgemLUTWriter::initialize().
double expected_noise_rate = 2000 |
Definition at line 80 of file CgemLUTWriter.cxx.
const double failure_rate_efficienct = 0.1 |
Definition at line 69 of file CgemLUTWriter.cxx.
TString inFile_name |
Definition at line 72 of file CgemLUTWriter.cxx.
Referenced by CgemLUTWriter::initialize().
TString inFileTP |
Definition at line 73 of file CgemLUTWriter.cxx.
const double max_noise_charge = 8 |
Definition at line 65 of file CgemLUTWriter.cxx.
const double max_rate = 10000 |
Definition at line 64 of file CgemLUTWriter.cxx.
const double max_threshold = 3. |
Definition at line 66 of file CgemLUTWriter.cxx.
const double min_average_efficiency = 0.90 |
Definition at line 67 of file CgemLUTWriter.cxx.
const double min_efficiency = 0.80 |
Definition at line 68 of file CgemLUTWriter.cxx.
const double min_saturation_value = 40 |
Definition at line 70 of file CgemLUTWriter.cxx.
const int noise_time_cut_max_left = -9300 |
Definition at line 58 of file CgemLUTWriter.cxx.
const int noise_time_cut_max_right = -8300 |
Definition at line 60 of file CgemLUTWriter.cxx.
const int noise_time_cut_min_left = -9600 |
Definition at line 57 of file CgemLUTWriter.cxx.
const int noise_time_cut_min_right = -8600 |
Definition at line 59 of file CgemLUTWriter.cxx.
TString outFile |
Definition at line 73 of file CgemLUTWriter.cxx.
std::fstream outStream |
Definition at line 79 of file CgemLUTWriter.cxx.
int sheet1[32] ={23,24,25,26,27,28,29,37,38,39,40,41,42,43,53,54,55,56,57,58,59,60,61,71,72,73,74,75,76,77,78,79} |
Definition at line 85 of file CgemLUTWriter.cxx.
const int signal_time_cut_max = -8800 |
Definition at line 56 of file CgemLUTWriter.cxx.
const int signal_time_cut_min = -9300 |
Definition at line 55 of file CgemLUTWriter.cxx.
const float TIME_BIN = 6.25 |
Definition at line 52 of file CgemLUTWriter.cxx.
const double time_window_noise = ( noise_time_cut_max_left - noise_time_cut_min_left + noise_time_cut_max_right - noise_time_cut_min_right ) * 1e-9 |
Definition at line 62 of file CgemLUTWriter.cxx.
const double time_window_signal = ( signal_time_cut_max - signal_time_cut_min ) * 1e-9 |
Definition at line 61 of file CgemLUTWriter.cxx.