#ifndef HQATREEMAKER_H #define HQATREEMAKER_H #include "TObject.h" #define NSTART_STRIPS 64 class HQAFileInfoTree : public TObject{ public: TString fTFileName; //DST Filename Int_t fTNumEvents; //Number of events in file Int_t fTYear; //year when file was taken Int_t fTDay; //day when file was taken Int_t fTHour; //hour when file was taken Int_t fTMin; //Minute when file was taken Int_t fTSec; //Second when file was taken Int_t fTEvB; //Eventbuider which wrote file TString fTType; //Type of file (be, te,co ...) Int_t fTRunId; //RunID of file Int_t fTRefId; //RunID of file HQAFileInfoTree(){ fTNumEvents=-10000; fTYear =-10000; fTDay =-10000; fTHour =-10000; fTMin =-10000; fTEvB =-10000; fTRunId =-10000; fTRefId =-10000; fTFileName = "notset"; } ~HQAFileInfoTree(){} ClassDef(HQAFileInfoTree, 1) }; class HQAStartTree : public TObject{ public: Float_t fTHitTimeMean; //Mean value of start time from StartHit Float_t fTHitTimeRms; //RMS of start time from StartHit Float_t fTHitToNoveto; //Ratio of Hits in start to hits in veto Float_t fTStCalTime[NSTART_STRIPS]; //Mean value of Start time of Start for each Strip Float_t fTVtCalTime[NSTART_STRIPS]; //Mean value of Start time of Veto for each Strip Float_t fTVertexX; //Mean of Vertex in X Float_t fTVertexY; //Mean of Vertex in Y Float_t fTVertexZ; //Mean of Vertex in Z HQAStartTree(){ fTHitTimeMean=-10000.0; fTHitTimeRms=-10000.0; fTHitToNoveto=-10000.0; fTVertexX=-10000.0; fTVertexY=-10000.0; fTVertexZ=-10000.0; for(Int_t i=0; i0 (Most Probable Value) Float_t fTMetaMatchRpcMean[6]; //MetaMatch Quality for Rpc (Mean Value) Float_t fTMetaMatchRpcMax[6]; //MetaMatch Quality for Rpc (Most Probable Value) Float_t fTMetaMatchRpcMax2[6]; //MetaMatch Quality for Rpc with Quality >0 (Most Probable Value) Float_t fTMetaMatchShwMean[6]; //MetaMatch Quality for Rpc (Mean Value) Float_t fTMetaMatchShwMax[6]; //MetaMatch Quality for Rpc (Most Probable Value) Float_t fTMetaMatchShwMax2[6]; //MetaMatch Quality for Rpc with Quality >0 (Most Probable Value) Float_t fTMultiMax[6][2]; //Multiplicity for each sector (6) and each system (2) (Most Probable Value) Float_t fTMultiMean[6][2]; //Multiplicity for each sector (6) and each system (2) (Mean Value) Float_t fTMultiMaxSelect[6][2]; //Multiplicity for each sector (6) and each system (2) for accepted tracks (Most Probable Value) Float_t fTMultiMeanSelect[6][2]; //Multiplicity for each sector (6) and each system (2) for accepted tracks (Mean Value) Float_t fTTimeLepSumSys0Mean; //Normalized Time of leptons in System 0 (Mean value) Float_t fTTimeLepSumSys0Max; //Normalized Time of leptons in System 0 (Most Probable Value) Float_t fTTimeLepSumSys0Sig; //Normalized Time of leptons in System 0 (Sigma) Float_t fTTimeLepStaSys0Mean[NSTART_STRIPS]; //Normalized Time of leptons in System 0 and each start strip (Mean value) Float_t fTTimeLepStaSys0Max[NSTART_STRIPS]; //Normalized Time of leptons in System 0 and each start strip (Most Probable Value) Float_t fTTimeLepStaSys0Sig[NSTART_STRIPS]; //Normalized Time of leptons in System 0 and each start strip (Sigma) Float_t fTTimeLepSumSys1Mean; //Normalized Time of leptons in System 1 (Mean value) Float_t fTTimeLepSumSys1Max; //Normalized Time of leptons in System 1 (Most Probable Value) Float_t fTTimeLepSumSys1Sig; //Normalized Time of leptons in System 1 (Sigma) Float_t fTTimeLepStaSys1Mean[NSTART_STRIPS]; //Normalized Time of leptons in System 1 and each start strip (Mean value) Float_t fTTimeLepStaSys1Max[NSTART_STRIPS]; //Normalized Time of leptons in System 1 and each start strip (Most Probable Value) Float_t fTTimeLepStaSys1Sig[NSTART_STRIPS]; //Normalized Time of leptons in System 1 and each start strip (Sigma) Float_t fTTimePiSumSys0Mean; //Time diff of pions in System 0 (Mean value) Float_t fTTimePiSumSys0Max; //Time diff of pions in System 0 (Most Probable Value) Float_t fTTimePiSumSys0Sig; //Time diff of pions in System 0 (Sigma) Float_t fTTimePiStaSys0Mean[NSTART_STRIPS]; //Time diff of pions in System 0 and each start strip (Mean value) Float_t fTTimePiStaSys0Max[NSTART_STRIPS]; //Time diff of pions in System 0 and each start strip (Most Probable Value) Float_t fTTimePiStaSys0Sig[NSTART_STRIPS]; //Time diff of pions in System 0 and each start strip (Sigma) Float_t fTTimePiSumSys1Mean; //Time diff of pions in System 1 (Mean value) Float_t fTTimePiSumSys1Max; //Time diff of pions in System 1 (Most Probable Value) Float_t fTTimePiSumSys1Sig; //Time diff of pions in System 1 (Sigma) Float_t fTTimePiStaSys1Mean[NSTART_STRIPS]; //Time diff of pions in System 1 and each start strip (Mean value) Float_t fTTimePiStaSys1Max[NSTART_STRIPS]; //Time diff of pions in System 1 and each start strip (Most Probable Value) Float_t fTTimePiStaSys1Sig[NSTART_STRIPS]; //Time diff of pions in System 1 and each start strip (Sigma) Float_t fTTimePiSumSys0FitMean; //Time diff of pions in System 0 (Fit Mean value) Float_t fTTimePiSumSys1FitMean; //Time diff of pions in System 1 (Fit Mean value) Float_t fTTimePiStaSys0FitMean[NSTART_STRIPS]; //Time diff of pions in System 0 and each start strip (Fit Mean value) Float_t fTTimePiStaSys1FitMean[NSTART_STRIPS]; //Time diff of pions in System 1 and each start strip (Fit Mean value) Float_t fTTofdEdxMean; //dEdx from Tof detector (Mean value) Float_t fTTofdEdxMax; //dEdx from Tof detector (Most Probable value) HQAPhysicsTree(){ fTMass_proton=-10000.0; fTMass_pip=-10000.0; fTMass_pim=-10000.0; fTMass_proton_RPC=-10000.0; fTMass_pip_RPC=-10000.0; fTMass_pim_RPC=-10000.0; fTMass_proton_TOF=-10000.0; fTMass_pip_TOF=-10000.0; fTMass_pim_TOF=-10000.0; fTChi2_proton=-10000.0; fTChi2_pip=-10000.0; fTChi2_pim=-10000.0; fTChi2_proton_RPC=-10000.0; fTChi2_pip_RPC=-10000.0; fTChi2_pim_RPC=-10000.0; fTChi2_proton_TOF=-10000.0; fTChi2_pip_TOF=-10000.0; fTChi2_pim_TOF=-10000.0; fTTimeLepSumSys0Mean=-1000.0; fTTimeLepSumSys0Max=-1000.0; fTTimeLepSumSys0Sig=-1000.0; fTTimeLepSumSys1Mean=-1000.0; fTTimeLepSumSys1Max=-1000.0; fTTimeLepSumSys1Sig=-1000.0; fTTimePiSumSys0Mean=-1000.0; fTTimePiSumSys0Max=-1000.0; fTTimePiSumSys0Sig=-1000.0; fTTimePiSumSys1Mean=-1000.0; fTTimePiSumSys1Max=-1000.0; fTTimePiSumSys1Sig=-1000.0; fTTimePiSumSys0FitMean=-1000.0; fTTimePiSumSys1FitMean=-1000.0; fTTofdEdxMean=-1000.0; fTTofdEdxMax=-1000.0; for(Int_t i=0; i<6; i++) { fTMetaMatchTofMean[i]=-10.0; fTMetaMatchTofMax[i]=-10.0; fTMetaMatchTofMax2[i]=-10.0; fTMetaMatchRpcMean[i]=-10.0; fTMetaMatchRpcMax[i]=-10.0; fTMetaMatchRpcMax2[i]=-10.0; fTMetaMatchShwMean[i]=-10.0; fTMetaMatchShwMax[i]=-10.0; fTMetaMatchShwMax2[i]=-10.0; for(Int_t j=0; j<2; j++) { fTMultiMax[i][j]=-10.0; fTMultiMean[i][j]=-10.0; fTMultiMaxSelect[i][j]=-10.0; fTMultiMeanSelect[i][j]=-10.0; } } for(Int_t i=0; i