Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ANtpEventInfoNC.h

Go to the documentation of this file.
00001 
00002 // $Id: ANtpEventInfoNC.h,v 1.24 2009/11/17 18:30:19 tinti Exp $
00003 //
00004 // A class to hold information about an event in an analysis ntuple
00005 //
00006 // B. Rebel 1/2005
00008 #ifndef ANTPEVENTINFONC_H
00009 #define ANTPEVENTINFONC_H
00010 
00011 #include "AnalysisNtuples/ANtpEventInfo.h"
00012 
00013 class ANtpEventInfoNC : public ANtpEventInfo
00014 {
00015 
00016  public:
00017   ANtpEventInfoNC();
00018   virtual ~ANtpEventInfoNC();
00019   
00020   void Reset();
00021   
00022   //the following variables are used in the neutral current analysis
00023   Float_t pulseHeightRms;       //rms of distribution of pulse height 
00024                                 //from each plane in event
00025   Float_t maxPlanePH;           //pulse height of plane with maximum 
00026                                 //pulse height in event
00027   Float_t maxPHIn3Planes;       //maximum pulse height in window of 3 
00028                                 //planes for event
00029   Float_t maxPHIn6Planes;       //maximum pulse height in window of 6 
00030                                 //planes for event
00031   Float_t maxPHIn9Planes;       //maximum pulse height in window of 9 
00032                                 //planes for event
00033   Float_t maxPHIn12Planes;      //maximum pulse height in window of 12 
00034                                 //planes for event
00035   Double_t eventDuration;       //duration of the event in ns 
00036                                 //found from looping over strips in event
00037   Double_t modifiedPH;          //pulse height of event when digits with 
00038                                 //< 200 ADC are excluded
00039   Double_t earlyWeightedADC;    //weighted pulse height of strips with 
00040                                 //early activity
00041   
00042   //the following variables are different ways of cleaning near detector 
00043   //data
00044   Float_t lateBucketPHFraction; //
00045   Float_t timeWeightedPHFraction;
00046   Float_t straightPHFraction;
00047   Float_t fixedWindowPH;
00048 
00049   Float_t triPlane1PH;       //pulse height in planes 1 to 3 of event
00050   Float_t triPlane2PH;       //pulse height in planes 4 to 6 of event
00051   Float_t triPlaneOverPH;    //pulse height in 7 and subsequent planes
00052 
00053   Double_t stripTime1st;  //time of first strip in event
00054   Double_t stripTimelast; //time of last strip in event
00055   Double_t stripTimeMean; //mean time of strips in event 
00056   Double_t stripTimeRMS;  //RMS of strip times
00057 
00058   Int_t largestEventInSnarl; // flag set to 1 for largest event by 
00059                              // PH in snarl
00060 
00061   Int_t eventSummaryPlanes;  // planes from the NtpEventSummary object
00062 
00063   Double_t minTimeSeparation; // time difference to closest event in time 
00064                               // in the same snarl (signed) based on median
00065                               // strip time in 5 planes starting at the vtx
00066 
00067   Int_t closeTimeEvent; // index to the closest other event in time
00068 
00069   // try out some variables for data cleaning
00070   Float_t minDeltaZ;          // minimum deltaZ between events
00071   Float_t closeTimeDeltaZ;    // distance in z to event closest in time 
00072   Float_t slicePHFraction;    // fraction of slice PH in event
00073   Int_t   edgeActivityStrips; // number of strips in partially 
00074                               // instrumented region in 40ns time window 
00075   Float_t edgeActivityPH;     // summed PH in partially instrumented 
00076                               // region in 40ns time window 
00077   Int_t   oppEdgeStrips;      // number of strips in opposite edge 
00078                               // region in 40ns time window 
00079   Float_t oppEdgePH;          // summed PH in opposite edge 
00080                               // region in 40ns time window 
00081   Double_t medianTime;        // time of the event, using median of strip
00082                               // times in a 5 plane window from vertex
00083   Float_t trackExtension;     // number of planes the track pokes out of the shower
00084   Int_t trackStripsInShower;  // number of track strips also in the shower
00085   Int_t lengthInPlanes;       // endPlane - begPlane + 1
00086   Float_t phPerStrip;           //ph of event divided by total strips
00087   Float_t phPerPlane;           //ph of event divided by total planes
00088   Double_t evtTimeDiff;         //difference between events time from each event time
00089                                 // evaluated as the mean event strip time 
00090   Float_t sharedStripFraction;  //fraction of physical event strips in common with other events
00091   Int_t consecutivePlanes;  //number of consecutive planes after the first
00092   //the following variables are specific to Kregg's image recognition
00093   Float_t vhsPNC;             // NC likelihood : p(evt)/pbest(NC)
00094   Float_t vhsPCCe;            // nue CC likelihood : p(evt)/pbest(CCe)
00095   Float_t vhsPCCmu;           // numu CC likelihood : p(evt)/pbest(CCmu)
00096   Float_t vhsPCCtau;          // nutau CC likelihood : p(evt)/pbest(CCtau)
00097   Float_t vhsDNC;             // unit vec distance to avg NC event
00098   Float_t vhsDCCe;            // unit vec distance to avg nue CC event
00099   Float_t vhsDCCmu;           // unit vec distance to avg numu CC event
00100   Float_t vhsDCCtau;          // unit vec distance to avg nutau CC event
00101 
00102   Float_t aPh3_ns;            // Ph in planes 0-3
00103   Float_t aPh6_ns;            // Ph in planes 3-6
00104   Float_t aPhlast_ns;         // Ph in planes 6-last
00105   Float_t aPhcommon_ns;       // Ph in planes common in track shower
00106 
00107  private:
00108       
00109   ClassDef(ANtpEventInfoNC, 17) //ANtpEventInfoNC
00110 };
00111 
00112 #endif // ANTPEVENTINFONC_H
00113 
00114 

Generated on Mon Feb 15 11:06:22 2010 for loon by  doxygen 1.3.9.1