FarAna.h File Reference

#include <string>
#include <vector>
#include "TH1.h"
#include "TH2.h"
#include "MCNNAnalysis/ComparisonResult.h"

Go to the source code of this file.

Typedefs

typedef std::vector< MinosStrip * > StripVec

Functions

void MyInit ()
void BuildEventLibrary ()
void MyAnalysis (const char *name)
void MyEnd ()
void UserInit ()
MinosAnalysisResultUserAnalysis (MinosCompactEvent *)
void UserAnalysis (const char *name)
void UserEnd ()
bool DataPreselected (const NtpStRecord *event, const int eventno)
void FillWorkSpaceA (MinosCompactEvent *event)
void FillWorkSpaceB (MinosCompactEvent *event)
void ClearWorkSpaceA (MinosCompactEvent *event)
void ClearWorkSpaceB (MinosCompactEvent *event)
comparisonResult_h CompareEvents (MinosCompactEvent *eventA, MinosCompactEvent *eventB)
comparisonResult_h CompareEvents (MinosCompactEvent *eventA, MinosCompactEvent *eventB, int ip, int isU, int isV)
void CompareEventsDebug (MinosCompactEvent *eventA, MinosCompactEvent *eventB, int ip, int isU, int isV)
ComparisonResultCompareEventsP (MinosCompactEvent *eventA, MinosCompactEvent *eventB)

Variables

std::string files [1000]
int nEventsOut
std::vector< MinosCompactEvent * > _eventsNC
std::vector< MinosCompactEvent * > _eventsCCNuE
std::vector< MinosCompactEvent * > _eventsCCNuMu
std::vector< MinosCompactEvent * > _eventsCCNuTau
std::vector< MinosCompactEvent * > _eventsAll
std::vector< MinosCompactEvent * > _eventsData
std::vector< MinosCompactEvent * > _eventsRawData
std::vector< MinosEvent_minosEventsData
std::vector< StripVec_eventStrips
std::vector< TH1 * > Histograms1D
std::vector< TH2 * > Histograms2D
TH1 * h_Nstrips
TH1 * h_Nplanes
TH1 * h_Qtot
TH1 * h_Enu
TH1 * h_EnuPre
TH1 * h_EnuNC
TH1 * h_EnuNCPre
TH1 * h_EnuCCNumu
TH1 * h_EnuCCNumuPre
TH1 * h_EnuCCNue
TH1 * h_EnuCCNuePre
TH1 * h_EnuCCNutau
TH1 * h_EnuCCNutauPre
TH1 * h_EnuOsc
TH1 * h_z
TH2 * h_xy
TH1 * h_zPre
TH2 * h_xyPre
TH1 * h_zFid
TH2 * h_xyFid
TH2 * h_CCMatchEE
TH1 * h_CCMatchAQ
TH1 * h_CCOscMatchAQ
TH1 * h_CCMatchAS
TH1 * h_CCOscMatchAS
TH2 * h_CCMatchAP
TH1 * h_DLnL
TH1 * h_DOscLnL
TH2 * h_DOscLnLY
TH1 * h_fracCC
TH1 * h_fracCCOsc
TH2 * h_fracCCOscY
TH2 * h_fracCCOscQ
TH1 * h_fracWCC
TH1 * h_fracWCCOsc
TH1 * h_EVisSel
TH1 * h_EObsSel
MinosEventDisplayeventDisplay
PECalculatorpeCalculator
int _workSpaceA [201][201]
int _workSpaceB [201][201]

Typedef Documentation

typedef std::vector<MinosStrip*> StripVec

Definition at line 16 of file FarAna.h.


Function Documentation

void BuildEventLibrary (  ) 
void ClearWorkSpaceA ( MinosCompactEvent event  ) 
void ClearWorkSpaceB ( MinosCompactEvent event  ) 
comparisonResult_h CompareEvents ( MinosCompactEvent eventA,
MinosCompactEvent eventB,
int  ip,
int  isU,
int  isV 
)
comparisonResult_h CompareEvents ( MinosCompactEvent eventA,
MinosCompactEvent eventB 
)
void CompareEventsDebug ( MinosCompactEvent eventA,
MinosCompactEvent eventB,
int  ip,
int  isU,
int  isV 
)
ComparisonResult* CompareEventsP ( MinosCompactEvent eventA,
MinosCompactEvent eventB 
)
bool DataPreselected ( const NtpStRecord event,
const int  eventno 
)

Definition at line 157 of file MCNNFunctions.h.

Referenced by MCNNRunner::WriteResults().

00157                                                                   {
00158 
00159   bool isPreselected = true;
00160   const NtpSREvent* event = NtpTools::GetEvent(record, eventno); 
00161   if(event->ph.pe<50) isPreselected = 0; 
00162   if(event->ph.pe>10000) isPreselected = 0;
00163   if(event->plane.nu<2) isPreselected = 0;
00164   if(event->plane.nv<2) isPreselected = 0;
00165   if(event->plane.n<5) isPreselected = 0;
00166   if(event->plane.n>30) isPreselected = 0;
00167   if(event->nstrip<8) isPreselected = 0;
00168   if(event->nstrip>80) isPreselected = 0;
00169 
00170   return isPreselected;
00171 }

void FillWorkSpaceA ( MinosCompactEvent event  ) 
void FillWorkSpaceB ( MinosCompactEvent event  ) 
void MyAnalysis ( const char *  name  ) 
void MyEnd (  ) 
void MyInit (  ) 
void UserAnalysis ( const char *  name  ) 
void UserEnd (  ) 
void UserInit (  ) 

Variable Documentation

Definition at line 53 of file FarAna.h.

Definition at line 50 of file FarAna.h.

Definition at line 51 of file FarAna.h.

Definition at line 52 of file FarAna.h.

Definition at line 56 of file FarAna.h.

Definition at line 49 of file FarAna.h.

Definition at line 57 of file FarAna.h.

std::vector<StripVec> _eventStrips

Definition at line 59 of file FarAna.h.

Definition at line 58 of file FarAna.h.

int _workSpaceA[201][201]

Definition at line 110 of file FarAna.h.

int _workSpaceB[201][201]

Definition at line 111 of file FarAna.h.

Definition at line 106 of file FarAna.h.

std::string files[1000]

Definition at line 93 of file FarAna.h.

Definition at line 89 of file FarAna.h.

Definition at line 91 of file FarAna.h.

Definition at line 88 of file FarAna.h.

Definition at line 90 of file FarAna.h.

Definition at line 92 of file FarAna.h.

TH1* h_DLnL

Definition at line 94 of file FarAna.h.

TH1* h_DOscLnL

Definition at line 95 of file FarAna.h.

TH2* h_DOscLnLY

Definition at line 96 of file FarAna.h.

TH1* h_Enu

Definition at line 71 of file FarAna.h.

TH1* h_EnuCCNue

Definition at line 77 of file FarAna.h.

Definition at line 78 of file FarAna.h.

Definition at line 75 of file FarAna.h.

Definition at line 76 of file FarAna.h.

Definition at line 79 of file FarAna.h.

Definition at line 80 of file FarAna.h.

TH1* h_EnuNC

Definition at line 73 of file FarAna.h.

TH1* h_EnuNCPre

Definition at line 74 of file FarAna.h.

TH1* h_EnuOsc

Definition at line 81 of file FarAna.h.

TH1* h_EnuPre

Definition at line 72 of file FarAna.h.

TH1* h_EObsSel

Definition at line 104 of file FarAna.h.

TH1* h_EVisSel

Definition at line 103 of file FarAna.h.

TH1* h_fracCC

Definition at line 97 of file FarAna.h.

Definition at line 98 of file FarAna.h.

Definition at line 100 of file FarAna.h.

Definition at line 99 of file FarAna.h.

TH1* h_fracWCC

Definition at line 101 of file FarAna.h.

Definition at line 102 of file FarAna.h.

TH1* h_Nplanes

Definition at line 69 of file FarAna.h.

TH1* h_Nstrips

Definition at line 68 of file FarAna.h.

TH1* h_Qtot

Definition at line 70 of file FarAna.h.

TH2* h_xy

Definition at line 83 of file FarAna.h.

TH2* h_xyFid

Definition at line 87 of file FarAna.h.

TH2* h_xyPre

Definition at line 85 of file FarAna.h.

TH1* h_z

Definition at line 82 of file FarAna.h.

TH1* h_zFid

Definition at line 86 of file FarAna.h.

TH1* h_zPre

Definition at line 84 of file FarAna.h.

std::vector<TH1*> Histograms1D

Definition at line 64 of file FarAna.h.

std::vector<TH2*> Histograms2D

Definition at line 65 of file FarAna.h.

Definition at line 46 of file FarAna.h.

Definition at line 107 of file FarAna.h.


Generated on 2 Nov 2017 for loon by  doxygen 1.6.1