AtNuBeamTimes Class Reference

#include <AtNuBeamTimes.h>

List of all members.

Public Member Functions

 AtNuBeamTimes ()
 ~AtNuBeamTimes ()

Static Public Member Functions

static Bool_t InBeam (AtmosEvent *event)
static Bool_t InBeam (Int_t Date)

Private Member Functions

 ClassDef (AtNuBeamTimes, 1)

Detailed Description

Definition at line 8 of file AtNuBeamTimes.h.


Constructor & Destructor Documentation

AtNuBeamTimes::AtNuBeamTimes (  ) 

Definition at line 6 of file AtNuBeamTimes.cxx.

00007 {
00008 
00009 }

AtNuBeamTimes::~AtNuBeamTimes (  ) 

Definition at line 11 of file AtNuBeamTimes.cxx.

00012 {
00013 
00014 }


Member Function Documentation

AtNuBeamTimes::ClassDef ( AtNuBeamTimes  ,
 
) [private]
Bool_t AtNuBeamTimes::InBeam ( Int_t  Date  )  [static]

Definition at line 22 of file AtNuBeamTimes.cxx.

00023 {
00024   // before the beam
00025   // (note: single weekend of beam running in Jan'05 )
00026   if( Date<550 ) return 0;
00027 
00028   // Run (I), Feb 1st 2005 -> Mar 1st 2006
00029   if( Date>=550 && Date<943 ) return 1;
00030 
00031   // Run (II), May 27th 2006 -> July 21st 2007
00032   if( Date>=1030 && Date<1450 ) return 1;
00033 
00034   // Run (III), Nov 18th 2007 -> June 15th 2009
00035   // Mini-Shutdown, Oct 6th 2008 -> Oct 11th 2008
00036   if( Date>=1570 && Date<1893 ) return 1; 
00037   if( Date>=1898 && Date<2145 ) return 1; 
00038 
00039   // Run (IV,V,VI), Sep 11th 2009 -> July 13th 2010
00040   if( Date>=2233 && Date<2538 ) return 1; 
00041 
00042   // Run (VI 3/4), Aug 22nd 2010 -> Sep 18th 2010
00043   if( Date>=2578 && Date<2605 ) return 1;
00044 
00045   // Run (VII), Oct 29th 2010 -> Mar 20th 2011
00046   // note: 2011 analysis stopped on Feb 25th 2011 (Date<2765)
00047   if( Date>=2646 && Date<2788 ) return 1; 
00048 
00049   // (Neglect low-intensity beam on May 16th/17th 2011)
00050 
00051   // Run (VIII), Jun 10th 2011 -> Jul 12th 2011 
00052   if( Date>=2870 && Date<2902 ) return 1; 
00053 
00054   // Run (IX), Jul 29th 2011 -> Sep 16th 2011
00055   if( Date>=2919 && Date<2968 ) return 1; 
00056 
00057   // Run (X), Sep 2nd 2011 -> May 2nd 2012
00058   if( Date>=2974 && Date<3197 ) return 1; 
00059   
00060   // MINOS+ begins
00061   // Run (XI), Aug 29th 2013 -> Sep 5th 2014
00062   // note: atmos sample for Neutrino 2014 cut-off was 31st Jan 2014
00063   if( Date>=3681 && Date<4054 ) return 1;  
00064 
00065   // Run (XII), Oct 25th 2014 -> July 4th 2015
00066   if( Date>=4103 && Date<4356 ) return 1;
00067 
00068   // Run (XIII), Oct 17th 2015 -> Jul 1st 2016
00069   if( Date>=4460 && Date<4718 ) return 1;  
00070 
00071   return 0;
00072 }

Bool_t AtNuBeamTimes::InBeam ( AtmosEvent event  )  [static]

Definition at line 16 of file AtNuBeamTimes.cxx.

References AtmosEvent::Date.

Referenced by AtNuEventSelectionAB::SelectGoodEvent().

00017 {
00018   if( event ) return AtNuBeamTimes::InBeam(event->Date);
00019   return 0;
00020 }


The documentation for this class was generated from the following files:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1