DmxStatus Class Reference

#include <DmxStatus.h>

List of all members.

Public Member Functions

 DmxStatus ()
virtual ~DmxStatus ()
Float_t GetAverageTimingOffset () const
Int_t GetEndPlaneNumber () const
Bool_t GetEventDeMuxed () const
Int_t GetEventDirection () const
Int_t GetEventNumber () const
Bool_t GetMultipleMuon () const
Float_t GetUMuonMatedFraction () const
Float_t GetVMuonMatedFraction () const
Int_t GetMuonStartPlaneNumber () const
Int_t GetNumberOfPlanes () const
const TObjArray * GetPlaneArray () const
Float_t GetUShowerMatedFraction () const
Float_t GetVShowerMatedFraction () const
Int_t GetVertexPlaneNumber () const
Float_t GetVertexZPosition () const
Bool_t GetNonPhysicalFailure () const
Bool_t GetValidPlanesFailure () const
Bool_t GetVertexPlaneFailure () const
void ClearPlaneArray ()
Float_t GetUTrackStrip (Int_t planeNumber) const
Float_t GetVTrackStrip (Int_t planeNumber) const
Double_t GetUTrackChiSq () const
Double_t GetVTrackChiSq () const
Double_t GetUTrackSlope () const
Double_t GetVTrackSlope () const
Double_t GetUSlopeRMS () const
Double_t GetVSlopeRMS () const
Int_t GetUStrayPlanes () const
Int_t GetVStrayPlanes () const
Int_t GetUValidPlanes () const
Int_t GetVValidPlanes () const
Double_t GetUTrackIntercept () const
Double_t GetVTrackIntercept () const
Bool_t GetUOverlappingMultiple () const
Bool_t GetVOverlappingMultiple () const
Bool_t GetFigureOfMeritFailure () const
void SetAverageTimingOffset (Float_t offset)
void SetPlaneArray (TObjArray *array)
void SetNumberOfPlanes (Int_t num)
void SetMultipleMuon (bool multiple)
void SetUTrackVariables (Double_t a, Double_t b, Double_t chiSq)
void SetVTrackVariables (Double_t a, Double_t b, Double_t chiSq)
void SetEventDeMuxed (Bool_t demux)
void SetEventDirection (Int_t direction)
void SetEventNumber (Int_t num)
void SetUMuonMatedFraction (Float_t fraction)
void SetVMuonMatedFraction (Float_t fraction)
void SetNonPhysicalFailure (Bool_t demux)
void SetUShowerMatedFraction (Float_t fraction)
void SetVShowerMatedFraction (Float_t fraction)
void SetValidPlanesFailure (Bool_t demux)
void SetNoVertexFailure (Bool_t demux)
void SetVertexPlaneNumber (Int_t vertex)
void SetVertexPlaneZPosition (Float_t vertexZ)
void SetEndPlaneNumber (Int_t endPlane)
void SetMuonStartPlaneNumber (Int_t muonPlane)
void SetUSlopeRMS (Double_t rms)
void SetUStrayPlanes (Int_t planes)
void SetUValidPlanes (Int_t planes)
void SetUOverlappingMultiple (Bool_t overlap)
void SetVSlopeRMS (Double_t rms)
void SetVStrayPlanes (Int_t planes)
void SetVValidPlanes (Int_t planes)
void SetVOverlappingMultiple (Bool_t overlap)
void SetFigureOfMerit (Int_t validPlanes, Int_t strayPlanes)
void ResetStatus ()

Private Attributes

Float_t fAverageTimingOffset
Int_t fEndPlaneNumber
Bool_t fEventDeMuxed
Int_t fEventDirection
Int_t fEventNumber
Bool_t fFigureOfMeritFailure
bool fMultiple
Int_t fMuonStartPlaneNumber
Bool_t fNonPhysicalFailure
Int_t fNumberOfPlanes
Float_t fUShowerMatedFraction
Float_t fVShowerMatedFraction
Float_t fUMuonMatedFraction
Float_t fVMuonMatedFraction
Double_t fUChiSq
Double_t fUIntercept
Double_t fUSlope
Double_t fUSlopeRMS
Int_t fUStrayPlanes
Bool_t fUOverlappingMultiple
Int_t fUValidPlanes
Double_t fVChiSq
Double_t fVIntercept
Double_t fVSlope
Double_t fVSlopeRMS
Int_t fVStrayPlanes
Bool_t fVOverlappingMultiple
Int_t fVValidPlanes
Bool_t fValidPlanesFailure
Bool_t fVertexPlaneFailure
Int_t fVertexPlaneNumber
Float_t fVertexZPosition
TObjArray * fPlaneArray


Detailed Description

Definition at line 22 of file DmxStatus.h.


Constructor & Destructor Documentation

DmxStatus::DmxStatus (  ) 

Definition at line 29 of file DmxStatus.cxx.

00029                      :
00030   fAverageTimingOffset(-5.),
00031   fEndPlaneNumber(500),
00032   fEventDeMuxed(true),
00033   fEventDirection(1),
00034   fEventNumber(-1000),
00035   fFigureOfMeritFailure(false),
00036   fMultiple(false),
00037   fNonPhysicalFailure(false),
00038   fNumberOfPlanes(0),
00039   fUChiSq(0.),
00040   fUIntercept(0.),
00041   fUSlope(0.),
00042   fUSlopeRMS(0.),
00043   fUStrayPlanes(0),
00044   fUOverlappingMultiple(false),
00045   fUValidPlanes(0),
00046   fVChiSq(0.),
00047   fVIntercept(0.),
00048   fVSlope(0.),
00049   fVSlopeRMS(0.),
00050   fVStrayPlanes(0),
00051   fVOverlappingMultiple(false),
00052   fVValidPlanes(0),
00053   fValidPlanesFailure(false),
00054   fVertexPlaneFailure(false),
00055   fPlaneArray(0)
00056 {
00057 
00058 }

DmxStatus::~DmxStatus (  )  [virtual]

Definition at line 61 of file DmxStatus.cxx.

References fPlaneArray, Msg::kDebug, and MSG.

00062 {
00063   if (fPlaneArray) {
00064     fPlaneArray->Delete();
00065     delete fPlaneArray;
00066     fPlaneArray = 0;
00067   }
00068   MSG("Dmx", Msg::kDebug) << "deleting DmxStatus object " << endl;
00069 }


Member Function Documentation

void DmxStatus::ClearPlaneArray (  ) 

Definition at line 284 of file DmxStatus.cxx.

References fPlaneArray.

Referenced by DmxDeMuxFilterModule::ClearStatusObject(), DmxDeMuxFilterModule::Reco(), and ResetStatus().

00285 {
00286   if(fPlaneArray){
00287     if(fPlaneArray->GetEntries()>0)fPlaneArray->Delete();
00288     delete fPlaneArray;
00289     fPlaneArray = 0;
00290     //fPlaneArray = new TObjArray();
00291   }
00292   return;
00293 }

Float_t DmxStatus::GetAverageTimingOffset (  )  const

Definition at line 72 of file DmxStatus.cxx.

References fAverageTimingOffset.

Referenced by DmxDeMuxModule::Ana(), DmxDeMuxCosmicsModule::Ana(), AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00073 {
00074   return fAverageTimingOffset;
00075 }

Int_t DmxStatus::GetEndPlaneNumber (  )  const

Definition at line 78 of file DmxStatus.cxx.

References fEndPlaneNumber.

Referenced by DmxDeMuxModule::Ana(), DmxDeMuxCosmicsModule::Ana(), AlgDeMuxGolden::RunAlg(), AlgDeMuxCosmics::RunAlg(), AlgDeMuxBeam::RunAlg(), AlgDeMuxBeam::UseMuonSlidingWindow(), and AlgDeMuxBeam::UseShowerSlidingWindow().

00079 {
00080   return fEndPlaneNumber;
00081 }

Bool_t DmxStatus::GetEventDeMuxed (  )  const

Definition at line 84 of file DmxStatus.cxx.

References fEventDeMuxed.

Referenced by DmxDeMuxModule::Ana(), DmxDeMuxCosmicsModule::Ana(), DmxDeMuxFilterModule::Reco(), AlgDeMuxGolden::RunAlg(), AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00085 {
00086   return fEventDeMuxed;
00087 }

Int_t DmxStatus::GetEventDirection (  )  const

Definition at line 90 of file DmxStatus.cxx.

References fEventDirection.

Referenced by DmxDeMuxModule::Ana(), DmxDeMuxCosmicsModule::Ana(), AlgDeMuxCosmics::FindCosmicSolution(), and AlgDeMuxCosmics::FindWindowCosmicSolution().

00091 {
00092   return fEventDirection;
00093 }

Int_t DmxStatus::GetEventNumber (  )  const

Definition at line 96 of file DmxStatus.cxx.

References fEventNumber.

Referenced by DmxDeMuxModule::Ana(), DmxDeMuxCosmicsModule::Ana(), DmxDeMuxFilterModule::Reco(), AlgDeMuxGolden::RunAlg(), AlgDeMuxCosmics::RunAlg(), AlgDeMuxBeam::RunAlg(), AlgDeMuxCosmics::UseSingleFit(), and AlgDeMuxCosmics::UseSlidingWindow().

00097 {
00098   return fEventNumber;
00099 }

Bool_t DmxStatus::GetFigureOfMeritFailure (  )  const

Definition at line 180 of file DmxStatus.cxx.

References fFigureOfMeritFailure.

Referenced by AlgDeMuxGolden::RunAlg(), and AlgDeMuxCosmics::RunAlg().

00181 {
00182   return fFigureOfMeritFailure;
00183 }

Bool_t DmxStatus::GetMultipleMuon (  )  const

Definition at line 102 of file DmxStatus.cxx.

References fMultiple.

Referenced by DmxDeMuxModule::Ana(), DmxDeMuxCosmicsModule::Ana(), AlgDeMuxBeam::UseMuonSlidingWindow(), and AlgDeMuxBeam::UseShowerSlidingWindow().

00103 {
00104   return fMultiple;
00105 }

Int_t DmxStatus::GetMuonStartPlaneNumber (  )  const

Definition at line 120 of file DmxStatus.cxx.

References fMuonStartPlaneNumber.

Referenced by DmxDeMuxModule::Ana(), AlgDeMuxBeam::RunAlg(), and AlgDeMuxBeam::UseMuonSlidingWindow().

00121 {
00122         return fMuonStartPlaneNumber;
00123 }

Bool_t DmxStatus::GetNonPhysicalFailure (  )  const

Definition at line 162 of file DmxStatus.cxx.

References fNonPhysicalFailure.

Referenced by DmxDeMuxModule::Ana(), DmxDeMuxCosmicsModule::Ana(), AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00163 {
00164   return fNonPhysicalFailure;
00165 }

Int_t DmxStatus::GetNumberOfPlanes (  )  const

Definition at line 126 of file DmxStatus.cxx.

References fNumberOfPlanes.

00127 {
00128   return fNumberOfPlanes;
00129 }

const TObjArray * DmxStatus::GetPlaneArray (  )  const

Definition at line 132 of file DmxStatus.cxx.

References fPlaneArray.

Referenced by DmxDeMuxModule::Ana(), DmxDeMuxCosmicsModule::Ana(), AlgDeMuxGolden::RunAlg(), AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00133 {
00134   return fPlaneArray;
00135 }

Float_t DmxStatus::GetUMuonMatedFraction (  )  const

Definition at line 108 of file DmxStatus.cxx.

References fUMuonMatedFraction.

Referenced by DmxDeMuxModule::Ana().

00109 {
00110         return fUMuonMatedFraction;
00111 }

Bool_t DmxStatus::GetUOverlappingMultiple (  )  const

Definition at line 210 of file DmxStatus.cxx.

References fUOverlappingMultiple.

Referenced by DmxDeMuxModule::Ana(), and DmxDeMuxCosmicsModule::Ana().

00211 {
00212   return fUOverlappingMultiple;
00213 }

Float_t DmxStatus::GetUShowerMatedFraction (  )  const

Definition at line 138 of file DmxStatus.cxx.

References fUShowerMatedFraction.

Referenced by DmxDeMuxModule::Ana().

00139 {
00140         return fUShowerMatedFraction;
00141 }

Double_t DmxStatus::GetUSlopeRMS (  )  const

Definition at line 234 of file DmxStatus.cxx.

References fUSlopeRMS.

Referenced by DmxDeMuxModule::Ana(), and DmxDeMuxCosmicsModule::Ana().

00235 {
00236   return fUSlopeRMS;
00237 }

Int_t DmxStatus::GetUStrayPlanes (  )  const

Definition at line 204 of file DmxStatus.cxx.

References fUStrayPlanes.

Referenced by DmxDeMuxModule::Ana(), and DmxDeMuxCosmicsModule::Ana().

00205 {
00206   return fUStrayPlanes;
00207 }

Double_t DmxStatus::GetUTrackChiSq (  )  const

Definition at line 186 of file DmxStatus.cxx.

References fUChiSq.

Referenced by DmxDeMuxModule::Ana(), and DmxDeMuxCosmicsModule::Ana().

00187 {
00188   return fUChiSq;
00189 }

Double_t DmxStatus::GetUTrackIntercept (  )  const

Definition at line 258 of file DmxStatus.cxx.

References fUIntercept.

Referenced by DmxDeMuxModule::Ana(), and DmxDeMuxCosmicsModule::Ana().

00259 {
00260   return fUIntercept;
00261 }

Double_t DmxStatus::GetUTrackSlope (  )  const

Definition at line 246 of file DmxStatus.cxx.

References fUSlope.

Referenced by DmxDeMuxModule::Ana(), and DmxDeMuxCosmicsModule::Ana().

00247 {
00248   return fUSlope;
00249 }

Float_t DmxStatus::GetUTrackStrip ( Int_t  planeNumber  )  const

Definition at line 270 of file DmxStatus.cxx.

References fUIntercept, and fUSlope.

00271 {
00272   //MSG("Dmx", Msg::kInfo)<< planeNumber << "\t" 
00273   //            << fUIntercept << "\t" << fUSlope << "\t";
00274   return (fUIntercept + (fUSlope * planeNumber));
00275 }

Int_t DmxStatus::GetUValidPlanes (  )  const

Definition at line 198 of file DmxStatus.cxx.

References fUValidPlanes.

00199 {
00200   return fUValidPlanes;
00201 }

Bool_t DmxStatus::GetValidPlanesFailure (  )  const

Definition at line 168 of file DmxStatus.cxx.

References fValidPlanesFailure.

Referenced by DmxDeMuxModule::Ana(), and DmxDeMuxCosmicsModule::Ana().

00169 {
00170   return fValidPlanesFailure;
00171 }

Bool_t DmxStatus::GetVertexPlaneFailure (  )  const

Definition at line 174 of file DmxStatus.cxx.

References fVertexPlaneFailure.

Referenced by DmxDeMuxModule::Ana(), and DmxDeMuxCosmicsModule::Ana().

00175 {
00176   return fVertexPlaneFailure;
00177 }

Int_t DmxStatus::GetVertexPlaneNumber (  )  const

Definition at line 150 of file DmxStatus.cxx.

References fVertexPlaneNumber.

Referenced by DmxDeMuxModule::Ana(), DmxDeMuxCosmicsModule::Ana(), AlgDeMuxGolden::RunAlg(), AlgDeMuxCosmics::RunAlg(), AlgDeMuxBeam::RunAlg(), and AlgDeMuxBeam::UseShowerSlidingWindow().

00151 {
00152   return fVertexPlaneNumber;
00153 }

Float_t DmxStatus::GetVertexZPosition (  )  const

Definition at line 156 of file DmxStatus.cxx.

References fVertexZPosition.

Referenced by DmxDeMuxModule::Ana(), DmxDeMuxCosmicsModule::Ana(), AlgDeMuxGolden::RunAlg(), and AlgDeMuxCosmics::UseSlidingWindow().

00157 {
00158   return fVertexZPosition;
00159 }

Float_t DmxStatus::GetVMuonMatedFraction (  )  const

Definition at line 114 of file DmxStatus.cxx.

References fVMuonMatedFraction.

Referenced by DmxDeMuxModule::Ana().

00115 {
00116         return fVMuonMatedFraction;
00117 }

Bool_t DmxStatus::GetVOverlappingMultiple (  )  const

Definition at line 228 of file DmxStatus.cxx.

References fVOverlappingMultiple.

Referenced by DmxDeMuxModule::Ana(), and DmxDeMuxCosmicsModule::Ana().

00229 {
00230   return fVOverlappingMultiple;
00231 }

Float_t DmxStatus::GetVShowerMatedFraction (  )  const

Definition at line 144 of file DmxStatus.cxx.

References fVShowerMatedFraction.

Referenced by DmxDeMuxModule::Ana().

00145 {
00146         return fVShowerMatedFraction;
00147 }

Double_t DmxStatus::GetVSlopeRMS (  )  const

Definition at line 240 of file DmxStatus.cxx.

References fVSlopeRMS.

Referenced by DmxDeMuxModule::Ana(), and DmxDeMuxCosmicsModule::Ana().

00241 {
00242   return fVSlopeRMS;
00243 }

Int_t DmxStatus::GetVStrayPlanes (  )  const

Definition at line 222 of file DmxStatus.cxx.

References fVStrayPlanes.

Referenced by DmxDeMuxModule::Ana(), and DmxDeMuxCosmicsModule::Ana().

00223 {
00224   return fVStrayPlanes;
00225 }

Double_t DmxStatus::GetVTrackChiSq (  )  const

Definition at line 192 of file DmxStatus.cxx.

References fVChiSq.

Referenced by DmxDeMuxModule::Ana(), and DmxDeMuxCosmicsModule::Ana().

00193 {
00194   return fVChiSq;
00195 }

Double_t DmxStatus::GetVTrackIntercept (  )  const

Definition at line 264 of file DmxStatus.cxx.

References fVIntercept.

Referenced by DmxDeMuxModule::Ana(), and DmxDeMuxCosmicsModule::Ana().

00265 {
00266   return fVIntercept;
00267 }

Double_t DmxStatus::GetVTrackSlope (  )  const

Definition at line 252 of file DmxStatus.cxx.

References fVSlope.

Referenced by DmxDeMuxModule::Ana(), and DmxDeMuxCosmicsModule::Ana().

00253 {
00254   return fVSlope;
00255 }

Float_t DmxStatus::GetVTrackStrip ( Int_t  planeNumber  )  const

Definition at line 278 of file DmxStatus.cxx.

References fVIntercept, and fVSlope.

00279 {
00280   return (fVIntercept + (fVSlope * planeNumber));
00281 }

Int_t DmxStatus::GetVValidPlanes (  )  const

Definition at line 216 of file DmxStatus.cxx.

References fVValidPlanes.

00217 {
00218   return fVValidPlanes;
00219 }

void DmxStatus::ResetStatus (  ) 

Definition at line 380 of file DmxStatus.cxx.

References ClearPlaneArray(), SetEventDeMuxed(), SetMultipleMuon(), SetUOverlappingMultiple(), and SetVOverlappingMultiple().

Referenced by AlgDeMuxGolden::RunAlg(), AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00381 {
00382   SetEventDeMuxed(true);
00383   SetVOverlappingMultiple(false);
00384   SetUOverlappingMultiple(false);
00385   SetMultipleMuon(false);
00386   ClearPlaneArray();
00387 }

void DmxStatus::SetAverageTimingOffset ( Float_t  offset  ) 

Definition at line 296 of file DmxStatus.cxx.

References fAverageTimingOffset.

Referenced by AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00297 {
00298   fAverageTimingOffset = offset;
00299   return;
00300 }

void DmxStatus::SetEndPlaneNumber ( Int_t  endPlane  ) 

Definition at line 425 of file DmxStatus.cxx.

References fEndPlaneNumber.

Referenced by AlgDeMuxGolden::RunAlg(), AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00426 {
00427   fEndPlaneNumber = endPlane;
00428   return;
00429 }

void DmxStatus::SetEventDeMuxed ( Bool_t  demux  ) 

Definition at line 367 of file DmxStatus.cxx.

References fEventDeMuxed, fFigureOfMeritFailure, fNonPhysicalFailure, fValidPlanesFailure, and fVertexPlaneFailure.

Referenced by DmxDeMuxFilterModule::Reco(), and ResetStatus().

00368 {
00369   fEventDeMuxed = demux;
00370   if( demux ){
00371     fNonPhysicalFailure = false;
00372     fValidPlanesFailure = false;
00373     fVertexPlaneFailure = false;
00374     fFigureOfMeritFailure = false;
00375   }
00376   return;
00377 }

void DmxStatus::SetEventDirection ( Int_t  direction  ) 

Definition at line 390 of file DmxStatus.cxx.

References fEventDirection.

Referenced by AlgDeMuxCosmics::UseSingleFit(), and AlgDeMuxCosmics::UseSlidingWindow().

00391 {
00392   if(direction == 1 || direction == -1)fEventDirection = direction;
00393   return;
00394 }

void DmxStatus::SetEventNumber ( Int_t  num  ) 

Definition at line 397 of file DmxStatus.cxx.

References fEventNumber.

Referenced by AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00398 {
00399   fEventNumber = num;
00400   return;
00401 }

void DmxStatus::SetFigureOfMerit ( Int_t  validPlanes,
Int_t  strayPlanes 
)

Definition at line 499 of file DmxStatus.cxx.

References fFigureOfMeritFailure.

Referenced by AlgDeMuxGolden::RunAlg(), AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00500 { 
00501   Float_t strayFrac = 0.;
00502 
00503   //only set it if the previoius view didnt already - ie it is false
00504   if( !fFigureOfMeritFailure ){
00505     if(validPlanes>0) strayFrac = (1.*strayPlanes)/(1.*validPlanes);
00506     
00507     //the commented lines are a less restrictive figure of merit
00508     
00509 //     if(strayFrac>=0.45){
00510 //       fFigureOfMeritFailure = true;
00511 //     }
00512 //     else if( strayFrac>=0.3333 && validPlanes>=10){
00513 //       fFigureOfMeritFailure = true;
00514 //     }
00515 //     else if( strayFrac>=0.25 && validPlanes>=20){
00516 //       fFigureOfMeritFailure = true;
00517 //     }
00518 //     else if( strayFrac>=0.2 && validPlanes>=30){
00519 //       fFigureOfMeritFailure = true;
00520 //     }
00521 //     else if( strayFrac>=0.15 && validPlanes>=40){
00522 //       fFigureOfMeritFailure = true;
00523 //     }
00524 //     else if( strayFrac>=0.1 && validPlanes>=50){
00525 //       fFigureOfMeritFailure = true;
00526 //     }
00527 
00528     //the following is a more restrictive figure of merit test
00529     if(strayFrac>=0.45){
00530       fFigureOfMeritFailure = true;
00531     }
00532     else if( strayPlanes>=3 && validPlanes<20){
00533       fFigureOfMeritFailure = true;
00534     }
00535     else if( strayPlanes>=4 && validPlanes>=20 && validPlanes<40){
00536       fFigureOfMeritFailure = true;
00537     }
00538     else if( strayFrac>=0.1 && validPlanes>=40){
00539       fFigureOfMeritFailure = true;
00540     }
00541      
00542   }//end if fom already set
00543   return;
00544 }

void DmxStatus::SetMultipleMuon ( bool  multiple  ) 

Definition at line 340 of file DmxStatus.cxx.

References fMultiple.

Referenced by DmxDeMuxFilterModule::Reco(), ResetStatus(), AlgDeMuxGolden::RunAlg(), AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00341 {
00342   fMultiple = multiple;
00343   return;
00344 }

void DmxStatus::SetMuonStartPlaneNumber ( Int_t  muonPlane  ) 

Definition at line 432 of file DmxStatus.cxx.

References fMuonStartPlaneNumber.

Referenced by AlgDeMuxBeam::RunAlg().

00433 {
00434   fMuonStartPlaneNumber = muonPlane;
00435   return;
00436 }

void DmxStatus::SetNonPhysicalFailure ( Bool_t  demux  ) 

Definition at line 547 of file DmxStatus.cxx.

References fEventDeMuxed, fNonPhysicalFailure, fValidPlanesFailure, and fVertexPlaneFailure.

Referenced by AlgDeMuxCosmics::UseSingleFit(), and AlgDeMuxCosmics::UseSlidingWindow().

00548 {
00549   if( demux ){fEventDeMuxed = false;}
00550   else if(!demux && !fValidPlanesFailure && !fVertexPlaneFailure){ fEventDeMuxed = true; }
00551   fNonPhysicalFailure = demux;
00552   return;
00553 }

void DmxStatus::SetNoVertexFailure ( Bool_t  demux  ) 

Definition at line 565 of file DmxStatus.cxx.

References fEventDeMuxed, fNonPhysicalFailure, fValidPlanesFailure, and fVertexPlaneFailure.

Referenced by AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00566 {
00567   if( demux ){fEventDeMuxed = false;}
00568   else if(!demux && !fNonPhysicalFailure && !fValidPlanesFailure){ fEventDeMuxed = true; }
00569   fVertexPlaneFailure = demux;
00570   return;
00571 }

void DmxStatus::SetNumberOfPlanes ( Int_t  num  ) 

Definition at line 404 of file DmxStatus.cxx.

References fNumberOfPlanes.

Referenced by AlgDeMuxGolden::RunAlg(), AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00405 {
00406   fNumberOfPlanes = num;
00407   return;
00408 }

void DmxStatus::SetPlaneArray ( TObjArray *  array  ) 

Definition at line 303 of file DmxStatus.cxx.

References fPlaneArray, Msg::kWarning, and MSG.

Referenced by DmxUtilities::FillPlaneArray().

00304 {
00305   if(array) fPlaneArray = array;
00306   else 
00307     MSG("DmxStatus", Msg::kWarning) << "tried to set plane array with zeroed pointer" << endl;
00308   return;
00309 }

void DmxStatus::SetUMuonMatedFraction ( Float_t  fraction  ) 

Definition at line 312 of file DmxStatus.cxx.

References fUMuonMatedFraction.

Referenced by AlgDeMuxBeam::RunAlg().

00313 {
00314         fUMuonMatedFraction = fraction;
00315         return;
00316 }

void DmxStatus::SetUOverlappingMultiple ( Bool_t  overlap  ) 

Definition at line 453 of file DmxStatus.cxx.

References fUOverlappingMultiple.

Referenced by ResetStatus(), AlgDeMuxGolden::RunAlg(), and AlgDeMuxCosmics::RunAlg().

00454 {
00455   fUOverlappingMultiple = overlap;
00456   return;
00457 }

void DmxStatus::SetUShowerMatedFraction ( Float_t  fraction  ) 

Definition at line 326 of file DmxStatus.cxx.

References fUShowerMatedFraction.

Referenced by AlgDeMuxBeam::RunAlg().

00327 {
00328         fUShowerMatedFraction = fraction;
00329         return;
00330 }

void DmxStatus::SetUSlopeRMS ( Double_t  rms  ) 

Definition at line 460 of file DmxStatus.cxx.

References fUSlopeRMS.

00461 {
00462   fUSlopeRMS = rms;
00463   return;
00464 }

void DmxStatus::SetUStrayPlanes ( Int_t  planes  ) 

Definition at line 446 of file DmxStatus.cxx.

References fUStrayPlanes.

Referenced by AlgDeMuxGolden::RunAlg(), AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00447 {
00448   fUStrayPlanes = planes;
00449   return;
00450 }

void DmxStatus::SetUTrackVariables ( Double_t  a,
Double_t  b,
Double_t  chiSq 
)

Definition at line 347 of file DmxStatus.cxx.

References fUChiSq, fUIntercept, and fUSlope.

00348 {
00349   fUSlope = b;
00350   fUIntercept = a;
00351   fUChiSq = chiSq;
00352   //MSG("Dmx", Msg::kInfo)<< "U View\t" << fUIntercept << "\t" << fUSlope << endl;
00353   return;
00354 }

void DmxStatus::SetUValidPlanes ( Int_t  planes  ) 

Definition at line 439 of file DmxStatus.cxx.

References fUValidPlanes.

Referenced by AlgDeMuxGolden::RunAlg(), AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00440 {
00441   fUValidPlanes = planes;
00442   return;
00443 }

void DmxStatus::SetValidPlanesFailure ( Bool_t  demux  ) 

Definition at line 556 of file DmxStatus.cxx.

References fEventDeMuxed, fNonPhysicalFailure, fValidPlanesFailure, and fVertexPlaneFailure.

Referenced by AlgDeMuxGolden::RunAlg(), AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00557 {
00558   if( demux ){fEventDeMuxed = false;}
00559   else if(!demux && !fNonPhysicalFailure && !fVertexPlaneFailure){ fEventDeMuxed = true; }
00560   fValidPlanesFailure = demux;
00561   return;
00562 }

void DmxStatus::SetVertexPlaneNumber ( Int_t  vertex  ) 

Definition at line 411 of file DmxStatus.cxx.

References fVertexPlaneNumber.

Referenced by AlgDeMuxGolden::RunAlg(), AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00412 {
00413   fVertexPlaneNumber = vertex;
00414   return;
00415 }

void DmxStatus::SetVertexPlaneZPosition ( Float_t  vertexZ  ) 

Definition at line 418 of file DmxStatus.cxx.

References fVertexZPosition.

Referenced by AlgDeMuxGolden::RunAlg(), AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00419 {
00420   fVertexZPosition = vertexZ;
00421   return;
00422 }

void DmxStatus::SetVMuonMatedFraction ( Float_t  fraction  ) 

Definition at line 319 of file DmxStatus.cxx.

References fVMuonMatedFraction.

Referenced by AlgDeMuxBeam::RunAlg().

00320 {
00321         fVMuonMatedFraction = fraction;
00322         return;
00323 }

void DmxStatus::SetVOverlappingMultiple ( Bool_t  overlap  ) 

Definition at line 481 of file DmxStatus.cxx.

References fVOverlappingMultiple.

Referenced by ResetStatus(), AlgDeMuxGolden::RunAlg(), and AlgDeMuxCosmics::RunAlg().

00482 {
00483   fVOverlappingMultiple = overlap;
00484   return;
00485 }

void DmxStatus::SetVShowerMatedFraction ( Float_t  fraction  ) 

Definition at line 333 of file DmxStatus.cxx.

References fVShowerMatedFraction.

Referenced by AlgDeMuxBeam::RunAlg().

00334 {
00335         fVShowerMatedFraction = fraction;
00336         return;
00337 }

void DmxStatus::SetVSlopeRMS ( Double_t  rms  ) 

Definition at line 488 of file DmxStatus.cxx.

References fVSlopeRMS.

00489 {
00490   fVSlopeRMS = rms;
00491   return;
00492 }

void DmxStatus::SetVStrayPlanes ( Int_t  planes  ) 

Definition at line 474 of file DmxStatus.cxx.

References fVStrayPlanes.

Referenced by AlgDeMuxGolden::RunAlg(), AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00475 {
00476   fVStrayPlanes = planes;
00477   return;
00478 }

void DmxStatus::SetVTrackVariables ( Double_t  a,
Double_t  b,
Double_t  chiSq 
)

Definition at line 357 of file DmxStatus.cxx.

References fVChiSq, fVIntercept, and fVSlope.

00358 {
00359   fVSlope = b;
00360   fVIntercept = a;
00361   fVChiSq = chiSq;
00362   //MSG("Dmx", Msg::kInfo)<< "V View\t" << fVIntercept << "\t" << fVSlope << endl;
00363   return;
00364 }

void DmxStatus::SetVValidPlanes ( Int_t  planes  ) 

Definition at line 467 of file DmxStatus.cxx.

References fVValidPlanes.

Referenced by AlgDeMuxGolden::RunAlg(), AlgDeMuxCosmics::RunAlg(), and AlgDeMuxBeam::RunAlg().

00468 {
00469   fVValidPlanes = planes;
00470   return;
00471 }


Member Data Documentation

Float_t DmxStatus::fAverageTimingOffset [private]

Definition at line 100 of file DmxStatus.h.

Referenced by GetAverageTimingOffset(), and SetAverageTimingOffset().

Int_t DmxStatus::fEndPlaneNumber [private]

Definition at line 101 of file DmxStatus.h.

Referenced by GetEndPlaneNumber(), and SetEndPlaneNumber().

Bool_t DmxStatus::fEventDeMuxed [private]

Definition at line 102 of file DmxStatus.h.

Referenced by GetEventDeMuxed(), SetEventDeMuxed(), SetNonPhysicalFailure(), SetNoVertexFailure(), and SetValidPlanesFailure().

Int_t DmxStatus::fEventDirection [private]

Definition at line 103 of file DmxStatus.h.

Referenced by GetEventDirection(), and SetEventDirection().

Int_t DmxStatus::fEventNumber [private]

Definition at line 104 of file DmxStatus.h.

Referenced by GetEventNumber(), and SetEventNumber().

Bool_t DmxStatus::fFigureOfMeritFailure [private]

Definition at line 105 of file DmxStatus.h.

Referenced by GetFigureOfMeritFailure(), SetEventDeMuxed(), and SetFigureOfMerit().

bool DmxStatus::fMultiple [private]

Definition at line 106 of file DmxStatus.h.

Referenced by GetMultipleMuon(), and SetMultipleMuon().

Int_t DmxStatus::fMuonStartPlaneNumber [private]

Definition at line 107 of file DmxStatus.h.

Referenced by GetMuonStartPlaneNumber(), and SetMuonStartPlaneNumber().

Bool_t DmxStatus::fNonPhysicalFailure [private]

Definition at line 108 of file DmxStatus.h.

Referenced by GetNonPhysicalFailure(), SetEventDeMuxed(), SetNonPhysicalFailure(), SetNoVertexFailure(), and SetValidPlanesFailure().

Int_t DmxStatus::fNumberOfPlanes [private]

Definition at line 109 of file DmxStatus.h.

Referenced by GetNumberOfPlanes(), and SetNumberOfPlanes().

TObjArray* DmxStatus::fPlaneArray [private]

Definition at line 132 of file DmxStatus.h.

Referenced by ClearPlaneArray(), GetPlaneArray(), SetPlaneArray(), and ~DmxStatus().

Double_t DmxStatus::fUChiSq [private]

Definition at line 114 of file DmxStatus.h.

Referenced by GetUTrackChiSq(), and SetUTrackVariables().

Double_t DmxStatus::fUIntercept [private]

Definition at line 115 of file DmxStatus.h.

Referenced by GetUTrackIntercept(), GetUTrackStrip(), and SetUTrackVariables().

Float_t DmxStatus::fUMuonMatedFraction [private]

Definition at line 112 of file DmxStatus.h.

Referenced by GetUMuonMatedFraction(), and SetUMuonMatedFraction().

Bool_t DmxStatus::fUOverlappingMultiple [private]

Definition at line 119 of file DmxStatus.h.

Referenced by GetUOverlappingMultiple(), and SetUOverlappingMultiple().

Float_t DmxStatus::fUShowerMatedFraction [private]

Definition at line 110 of file DmxStatus.h.

Referenced by GetUShowerMatedFraction(), and SetUShowerMatedFraction().

Double_t DmxStatus::fUSlope [private]

Definition at line 116 of file DmxStatus.h.

Referenced by GetUTrackSlope(), GetUTrackStrip(), and SetUTrackVariables().

Double_t DmxStatus::fUSlopeRMS [private]

Definition at line 117 of file DmxStatus.h.

Referenced by GetUSlopeRMS(), and SetUSlopeRMS().

Int_t DmxStatus::fUStrayPlanes [private]

Definition at line 118 of file DmxStatus.h.

Referenced by GetUStrayPlanes(), and SetUStrayPlanes().

Int_t DmxStatus::fUValidPlanes [private]

Definition at line 120 of file DmxStatus.h.

Referenced by GetUValidPlanes(), and SetUValidPlanes().

Bool_t DmxStatus::fValidPlanesFailure [private]

Definition at line 128 of file DmxStatus.h.

Referenced by GetValidPlanesFailure(), SetEventDeMuxed(), SetNonPhysicalFailure(), SetNoVertexFailure(), and SetValidPlanesFailure().

Double_t DmxStatus::fVChiSq [private]

Definition at line 121 of file DmxStatus.h.

Referenced by GetVTrackChiSq(), and SetVTrackVariables().

Bool_t DmxStatus::fVertexPlaneFailure [private]

Definition at line 129 of file DmxStatus.h.

Referenced by GetVertexPlaneFailure(), SetEventDeMuxed(), SetNonPhysicalFailure(), SetNoVertexFailure(), and SetValidPlanesFailure().

Int_t DmxStatus::fVertexPlaneNumber [private]

Definition at line 130 of file DmxStatus.h.

Referenced by GetVertexPlaneNumber(), and SetVertexPlaneNumber().

Float_t DmxStatus::fVertexZPosition [private]

Definition at line 131 of file DmxStatus.h.

Referenced by GetVertexZPosition(), and SetVertexPlaneZPosition().

Double_t DmxStatus::fVIntercept [private]

Definition at line 122 of file DmxStatus.h.

Referenced by GetVTrackIntercept(), GetVTrackStrip(), and SetVTrackVariables().

Float_t DmxStatus::fVMuonMatedFraction [private]

Definition at line 113 of file DmxStatus.h.

Referenced by GetVMuonMatedFraction(), and SetVMuonMatedFraction().

Bool_t DmxStatus::fVOverlappingMultiple [private]

Definition at line 126 of file DmxStatus.h.

Referenced by GetVOverlappingMultiple(), and SetVOverlappingMultiple().

Float_t DmxStatus::fVShowerMatedFraction [private]

Definition at line 111 of file DmxStatus.h.

Referenced by GetVShowerMatedFraction(), and SetVShowerMatedFraction().

Double_t DmxStatus::fVSlope [private]

Definition at line 123 of file DmxStatus.h.

Referenced by GetVTrackSlope(), GetVTrackStrip(), and SetVTrackVariables().

Double_t DmxStatus::fVSlopeRMS [private]

Definition at line 124 of file DmxStatus.h.

Referenced by GetVSlopeRMS(), and SetVSlopeRMS().

Int_t DmxStatus::fVStrayPlanes [private]

Definition at line 125 of file DmxStatus.h.

Referenced by GetVStrayPlanes(), and SetVStrayPlanes().

Int_t DmxStatus::fVValidPlanes [private]

Definition at line 127 of file DmxStatus.h.

Referenced by GetVValidPlanes(), and SetVValidPlanes().


The documentation for this class was generated from the following files:
Generated on Mon Nov 10 00:55:26 2014 for loon by  doxygen 1.4.7