Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

TTools Class Reference

#include <TTools.h>

Inheritance diagram for TTools:

Inheritance graph
[legend]
Collaboration diagram for TTools:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TTools ()
 TTools (Int_t Run, Int_t Event, Int_t MCFlag)
virtual Bool_t Next ()
void SetEventList (Char_t *ListFileName)
Bool_t IsData2005 (void)
Bool_t IsData2004e (void)
Bool_t IsData2004p (void)
Bool_t IsData0304R1 (void)
Bool_t IsData0304L1 (void)
Bool_t IsData0304L2 (void)
Bool_t IsData0304R2 (void)
Bool_t IsData2003 (void)
Bool_t IsData2002 (void)
Bool_t IsDataHeraII (void)
Bool_t IsData2000 (void)
Bool_t IsData1999p (void)
Bool_t IsData1999e (void)
Bool_t IsData1998 (void)
Bool_t IsData1997 (void)
Bool_t IsData1996 (void)
Bool_t IsData1995 (void)
Bool_t IsData1994 (void)
Bool_t IsData94 (const UInt_t &irun)
Bool_t IsData95S (const UInt_t &irun)
Bool_t IsData95P (const UInt_t &irun)
Bool_t IsData96P (const UInt_t &irun)
Bool_t IsData97P (const UInt_t &irun)
Bool_t IsData97S (const UInt_t &irun)
Bool_t IsData98E (const UInt_t &irun)
Bool_t IsData99S (const UInt_t &irun)
Bool_t IsData99E (const UInt_t &irun)
Bool_t IsData99P (const UInt_t &irun)
Bool_t IsData00S (const UInt_t &irun)
Bool_t IsData00P (const UInt_t &irun)
Bool_t IsL4Trigg (Int_t iTrigg)
Bool_t IsL1Trigg (Int_t iTrigg)
Bool_t IsL2TTTrigg (Int_t iTrigg)
Bool_t IsHV (void)
Bool_t IsHVCJCLoose (void)
Bool_t IsCjcLooseOn ()
Bool_t IsCipCopOn ()
Bool_t IsCipOn ()
Bool_t IsBdcOn ()
Bool_t IsFmdOn ()
Bool_t IsPlugOn ()
Bool_t IsCosmic (void)
Bool_t IsIbgBit (Int_t iBit)
Bool_t IsCCCosmic (void)
Bool_t IsNonEP ()
Bool_t IsNonEP03 (void)
Bool_t IsEPzOK (Float_t Epz)
Bool_t IsPhiCrack (Float_t Phi)
Bool_t IsLArCrack (Float_t z, Float_t phi)
Bool_t IsLArCrack (Float_t z, Float_t zBBE, Float_t phi)
Bool_t IsZCrack (Float_t z)
Bool_t IsTimingOk ()
Bool_t Is2004CalibratedTimingOK (void)
Bool_t IsCJCDead (Float_t PhiTr)
Bool_t IsCJCMCDead (Float_t PhiTr)
Bool_t IsMCQ2OK (void)
Bool_t IsHVCaloCJC (void)
Float_t abscor (Int_t icalfac, Float_t theta_rad, Float_t ptj, Float_t qvar)
Double_t GetMod (Double_t x, Double_t y)
Double_t GetRealPhi (Double_t PhiIn)
Double_t GetMergedPhi (Double_t PhiPart1, Double_t PtPart1, Double_t PhiPart2, Double_t PtPart2)
Double_t GetProjPhi (Double_t Phi)
Int_t GetMuonGrade (H1PartMuon *Muon)
Bool_t ReadNoiseRuns (Char_t *InputFile)
Float_t qhadcor_98_00 (Int_t ITRA, Int_t ITYPE, Float_t jetpos, Float_t ptin, Float_t qvar)
Float_t qhadcor_98_00_trans (Int_t *itra, Int_t *itype, Float_t *jetpos, Float_t *ptin, Float_t *qvar)
void CalcExtraPolTrack (TVector3 XStart, H1PartSelTrack *Track, Float_t &XOut, Float_t &YOut, Float_t &ZOut, Float_t &ThTrOut, Float_t &PhTrOut)
void OctgXY (Float_t *xl, Float_t phi, Int_t ic, Float_t rc, Float_t roctog, Float_t *xout, Int_t &iflag)
Int_t OctogonIntersection (TVector3 ClusStart, Float_t Theta, Float_t Phi, Float_t RCurv, Float_t Zmin, Float_t Zmax, Float_t RBarr, TVector3 &XOut, Float_t &PhiOut)
void LinCir (Float_t *xl, Float_t phi, Float_t *xc, Float_t rc, Float_t *xy1, Float_t *xy2, Int_t &iflag)

Public Attributes

Int_t num
Int_t numMax
Int_t RunNumber
Int_t EventNumber
Bool_t NewRun
Float_t GenPl
Float_t GenPp
Short_t MCFlag

Constructor & Destructor Documentation

TTools::TTools  ) 
 

Definition at line 20 of file TTools.C.

References EventNumber, GenPl, GenPp, MCFlag, NewRun, num, numMax, and RunNumber.

TTools::TTools Int_t  Run,
Int_t  Event,
Int_t  MCFlag
 

Definition at line 32 of file TTools.C.

References EventNumber, GenPl, GenPp, NewRun, num, numMax, and RunNumber.


Member Function Documentation

Bool_t TTools::Next  )  [virtual]
 

Reimplemented in TMyEvent.

Definition at line 44 of file TTools.C.

References EventNumber, MCFlag, NewRun, num, numMax, and RunNumber.

Referenced by TMyEvent::Next().

void TTools::SetEventList Char_t *  ListFileName  ) 
 

Definition at line 67 of file TTools.C.

Bool_t TTools::IsData2005 void   ) 
 

Definition at line 205 of file TTools.C.

References MCFlag, and RunNumber.

Bool_t TTools::IsData2004e void   ) 
 

Definition at line 218 of file TTools.C.

References MCFlag.

Bool_t TTools::IsData2004p void   ) 
 

Definition at line 276 of file TTools.C.

References MCFlag.

Bool_t TTools::IsData0304R1 void   ) 
 

Definition at line 232 of file TTools.C.

References MCFlag.

Bool_t TTools::IsData0304L1 void   ) 
 

Definition at line 243 of file TTools.C.

References MCFlag.

Bool_t TTools::IsData0304L2 void   ) 
 

Definition at line 253 of file TTools.C.

References MCFlag.

Bool_t TTools::IsData0304R2 void   ) 
 

Definition at line 264 of file TTools.C.

References MCFlag.

Bool_t TTools::IsData2003 void   ) 
 

Definition at line 289 of file TTools.C.

References MCFlag, and RunNumber.

Referenced by IsHV(), IsTimingOk(), and main().

Bool_t TTools::IsData2002 void   ) 
 

Definition at line 315 of file TTools.C.

References MCFlag, and RunNumber.

Bool_t TTools::IsDataHeraII void   ) 
 

Definition at line 302 of file TTools.C.

References MCFlag, and RunNumber.

Referenced by TMarEvent::CCTriggerEfficiency(), IsHVCJCLoose(), IsTimingOk(), TMarEvent::JJTriggerEfficiency(), and TMarEvent::MuTriggerEfficiency().

Bool_t TTools::IsData2000 void   ) 
 

Definition at line 329 of file TTools.C.

References MCFlag, and RunNumber.

Referenced by TMarEvent::CCTriggerEfficiency().

Bool_t TTools::IsData1999p void   ) 
 

Definition at line 341 of file TTools.C.

References MCFlag, and RunNumber.

Referenced by TMarEvent::CCTriggerEfficiency().

Bool_t TTools::IsData1999e void   ) 
 

Definition at line 353 of file TTools.C.

References MCFlag, and RunNumber.

Referenced by TMarEvent::CCTriggerEfficiency().

Bool_t TTools::IsData1998 void   ) 
 

Definition at line 365 of file TTools.C.

References MCFlag, and RunNumber.

Referenced by TMarEvent::CCTriggerEfficiency().

Bool_t TTools::IsData1997 void   ) 
 

Definition at line 377 of file TTools.C.

References MCFlag, and RunNumber.

Bool_t TTools::IsData1996 void   ) 
 

Definition at line 389 of file TTools.C.

References MCFlag, and RunNumber.

Bool_t TTools::IsData1995 void   ) 
 

Definition at line 401 of file TTools.C.

References MCFlag, and RunNumber.

Bool_t TTools::IsData1994 void   ) 
 

Definition at line 413 of file TTools.C.

References MCFlag, and RunNumber.

Bool_t TTools::IsData94 const UInt_t &  irun  ) 
 

Definition at line 427 of file TTools.C.

Bool_t TTools::IsData95S const UInt_t &  irun  ) 
 

Definition at line 432 of file TTools.C.

Bool_t TTools::IsData95P const UInt_t &  irun  ) 
 

Definition at line 442 of file TTools.C.

Bool_t TTools::IsData96P const UInt_t &  irun  ) 
 

Definition at line 452 of file TTools.C.

Bool_t TTools::IsData97P const UInt_t &  irun  ) 
 

Definition at line 457 of file TTools.C.

Bool_t TTools::IsData97S const UInt_t &  irun  ) 
 

Definition at line 462 of file TTools.C.

Bool_t TTools::IsData98E const UInt_t &  irun  ) 
 

Definition at line 467 of file TTools.C.

Bool_t TTools::IsData99S const UInt_t &  irun  ) 
 

Definition at line 473 of file TTools.C.

Bool_t TTools::IsData99E const UInt_t &  irun  ) 
 

Definition at line 478 of file TTools.C.

Bool_t TTools::IsData99P const UInt_t &  irun  ) 
 

Definition at line 484 of file TTools.C.

Bool_t TTools::IsData00S const UInt_t &  irun  ) 
 

Definition at line 494 of file TTools.C.

Bool_t TTools::IsData00P const UInt_t &  irun  ) 
 

Definition at line 499 of file TTools.C.

Bool_t TTools::IsL4Trigg Int_t  iTrigg  ) 
 

Definition at line 878 of file TTools.C.

Referenced by TMarEvent::CCTriggerEfficiency(), and TMarEvent::JJTriggerEfficiency().

Bool_t TTools::IsL1Trigg Int_t  iTrigg  ) 
 

Definition at line 890 of file TTools.C.

Referenced by TMarEvent::CCTriggerEfficiency(), and TMarEvent::MuTriggerEfficiency().

Bool_t TTools::IsL2TTTrigg Int_t  iTrigg  ) 
 

Definition at line 902 of file TTools.C.

Bool_t TTools::IsHV void   ) 
 

Definition at line 516 of file TTools.C.

References IsData2003(), and MCFlag.

Referenced by main().

Bool_t TTools::IsHVCJCLoose void   ) 
 

Definition at line 556 of file TTools.C.

References IsDataHeraII(), and MCFlag.

Bool_t TTools::IsCjcLooseOn  ) 
 

Definition at line 680 of file TTools.C.

Bool_t TTools::IsCipCopOn  ) 
 

Definition at line 645 of file TTools.C.

References MCFlag.

Bool_t TTools::IsCipOn  ) 
 

Definition at line 660 of file TTools.C.

References MCFlag.

Bool_t TTools::IsBdcOn  ) 
 

Definition at line 597 of file TTools.C.

References MCFlag.

Bool_t TTools::IsFmdOn  ) 
 

Definition at line 612 of file TTools.C.

References MCFlag.

Bool_t TTools::IsPlugOn  ) 
 

Definition at line 627 of file TTools.C.

References MCFlag.

Bool_t TTools::IsCosmic void   ) 
 

Definition at line 835 of file TTools.C.

Referenced by THisto::Cut(), and main().

Bool_t TTools::IsIbgBit Int_t  iBit  ) 
 

Definition at line 864 of file TTools.C.

Bool_t TTools::IsCCCosmic void   ) 
 

Definition at line 1180 of file TTools.C.

Bool_t TTools::IsNonEP  ) 
 

Definition at line 1300 of file TTools.C.

References EventNumber, MCFlag, and RunNumber.

Bool_t TTools::IsNonEP03 void   ) 
 

Definition at line 1226 of file TTools.C.

References EventNumber, and RunNumber.

Bool_t TTools::IsEPzOK Float_t  Epz  ) 
 

Definition at line 2094 of file TTools.C.

Bool_t TTools::IsPhiCrack Float_t  Phi  ) 
 

Definition at line 724 of file TTools.C.

Bool_t TTools::IsLArCrack Float_t  z,
Float_t  phi
 

Definition at line 753 of file TTools.C.

References GetMod(), and MYR2D.

Bool_t TTools::IsLArCrack Float_t  z,
Float_t  zBBE,
Float_t  phi
 

Definition at line 777 of file TTools.C.

References GetMod(), and MYR2D.

Bool_t TTools::IsZCrack Float_t  z  ) 
 

Definition at line 697 of file TTools.C.

Bool_t TTools::IsTimingOk  ) 
 

Definition at line 989 of file TTools.C.

References Is2004CalibratedTimingOK(), IsData2003(), IsDataHeraII(), MCFlag, and RunNumber.

Referenced by TMarEvent::ApplyCCBackgroundCuts(), and main().

Bool_t TTools::Is2004CalibratedTimingOK void   ) 
 

Definition at line 916 of file TTools.C.

References MCFlag, and RunNumber.

Referenced by IsTimingOk(), and TimimgCut::operator()().

Bool_t TTools::IsCJCDead Float_t  PhiTr  ) 
 

Definition at line 2031 of file TTools.C.

References MCFlag, and RunNumber.

Bool_t TTools::IsCJCMCDead Float_t  PhiTr  ) 
 

Definition at line 2080 of file TTools.C.

Bool_t TTools::IsMCQ2OK void   ) 
 

Definition at line 2236 of file TTools.C.

References MCFlag, and MCRAPGAPNCID.

Bool_t TTools::IsHVCaloCJC void   ) 
 

Definition at line 811 of file TTools.C.

References MCFlag.

Float_t TTools::abscor Int_t  icalfac,
Float_t  theta_rad,
Float_t  ptj,
Float_t  qvar
 

Definition at line 2258 of file TTools.C.

References qhadcor_98_00_trans(), and RunNumber.

Double_t TTools::GetMod Double_t  x,
Double_t  y
 

Definition at line 96 of file TTools.C.

Referenced by GetRealPhi(), and IsLArCrack().

Double_t TTools::GetRealPhi Double_t  PhiIn  ) 
 

Definition at line 102 of file TTools.C.

References GetMod().

Referenced by TMarEvent::FindElePho(), TMarEvent::FindJet(), and GetMergedPhi().

Double_t TTools::GetMergedPhi Double_t  PhiPart1,
Double_t  PtPart1,
Double_t  PhiPart2,
Double_t  PtPart2
 

Definition at line 119 of file TTools.C.

References GetRealPhi().

Double_t TTools::GetProjPhi Double_t  Phi  ) 
 

Definition at line 135 of file TTools.C.

References MYR2D.

Int_t TTools::GetMuonGrade H1PartMuon *  Muon  ) 
 

Definition at line 192 of file TTools.C.

Bool_t TTools::ReadNoiseRuns Char_t *  InputFile  ) 
 

Definition at line 2599 of file TTools.C.

Float_t TTools::qhadcor_98_00 Int_t  ITRA,
Int_t  ITYPE,
Float_t  jetpos,
Float_t  ptin,
Float_t  qvar
 

Definition at line 2107 of file TTools.C.

Float_t TTools::qhadcor_98_00_trans Int_t *  itra,
Int_t *  itype,
Float_t *  jetpos,
Float_t *  ptin,
Float_t *  qvar
 

Definition at line 2293 of file TTools.C.

Referenced by abscor().

void TTools::CalcExtraPolTrack TVector3  XStart,
H1PartSelTrack *  Track,
Float_t &  XOut,
Float_t &  YOut,
Float_t &  ZOut,
Float_t &  ThTrOut,
Float_t &  PhTrOut
 

Definition at line 2945 of file TTools.C.

References BFIELDCONST, BFIELDNOM, OctogonIntersection(), rCalo, zBACKDET, zEDBBE, and zIF1.

Referenced by TMarEvent::CalcDistDTNV(), and TMarEvent::CalcDistTracks().

void TTools::OctgXY Float_t *  xl,
Float_t  phi,
Int_t  ic,
Float_t  rc,
Float_t  roctog,
Float_t *  xout,
Int_t &  iflag
 

Definition at line 2772 of file TTools.C.

References LinCir().

Referenced by OctogonIntersection().

Int_t TTools::OctogonIntersection TVector3  ClusStart,
Float_t  Theta,
Float_t  Phi,
Float_t  RCurv,
Float_t  Zmin,
Float_t  Zmax,
Float_t  RBarr,
TVector3 &  XOut,
Float_t &  PhiOut
 

Definition at line 2644 of file TTools.C.

References OctgXY().

Referenced by CalcExtraPolTrack().

void TTools::LinCir Float_t *  xl,
Float_t  phi,
Float_t *  xc,
Float_t  rc,
Float_t *  xy1,
Float_t *  xy2,
Int_t &  iflag
 

Definition at line 2882 of file TTools.C.

Referenced by OctgXY().


Member Data Documentation

Int_t TTools::num
 

Definition at line 62 of file TTools.h.

Referenced by THisto::FillLumi(), TMarEvent::Init(), main(), TMarEvent::MCGenSelection(), Next(), and TTools().

Int_t TTools::numMax
 

Definition at line 63 of file TTools.h.

Referenced by TMarEvent::Init(), Next(), TMarEvent::TMarEvent(), and TTools().

Int_t TTools::RunNumber
 

Definition at line 65 of file TTools.h.

Referenced by abscor(), TMarEvent::Init(), Is2004CalibratedTimingOK(), IsCJCDead(), IsData1994(), IsData1995(), IsData1996(), IsData1997(), IsData1998(), IsData1999e(), IsData1999p(), IsData2000(), IsData2002(), IsData2003(), IsData2005(), IsDataHeraII(), IsNonEP(), IsNonEP03(), IsTimingOk(), Next(), THisto::Print(), TMarEvent::PrintEventInfo(), and TTools().

Int_t TTools::EventNumber
 

Definition at line 66 of file TTools.h.

Referenced by TMarEvent::Init(), IsNonEP(), IsNonEP03(), Next(), THisto::Print(), TMarEvent::PrintEventInfo(), and TTools().

Bool_t TTools::NewRun
 

Definition at line 67 of file TTools.h.

Referenced by THisto::FillLumi(), TMarEvent::Init(), Next(), and TTools().

Float_t TTools::GenPl
 

Definition at line 68 of file TTools.h.

Referenced by TMarEvent::ApplyMCXSectionReweight(), TMarEvent::CalculateDerivedVariables(), TMarEvent::FillFromHat(), TMarEvent::MCGenSelection(), and TTools().

Float_t TTools::GenPp
 

Definition at line 69 of file TTools.h.

Referenced by TMarEvent::ApplyMCXSectionReweight(), TMarEvent::CalculateDerivedVariables(), TMarEvent::FillFromHat(), TMarEvent::MCGenSelection(), and TTools().

Short_t TTools::MCFlag
 

Definition at line 70 of file TTools.h.

Referenced by TMarEvent::ApplyCCBackgroundCuts(), TMarEvent::CCTriggerEfficiency(), TMarEvent::DefineInputParticles(), TMarEvent::FillFromHat(), TMarEvent::FillGeneratedParticlesAndCut(), TMarEvent::Init(), Is2004CalibratedTimingOK(), IsBdcOn(), IsCipCopOn(), IsCipOn(), IsCJCDead(), IsData0304L1(), IsData0304L2(), IsData0304R1(), IsData0304R2(), IsData1994(), IsData1995(), IsData1996(), IsData1997(), IsData1998(), IsData1999e(), IsData1999p(), IsData2000(), IsData2002(), IsData2003(), IsData2004e(), IsData2004p(), IsData2005(), IsDataHeraII(), IsFmdOn(), IsHV(), IsHVCaloCJC(), IsHVCJCLoose(), IsMCQ2OK(), IsNonEP(), IsPlugOn(), IsTimingOk(), TMarEvent::JJTriggerEfficiency(), main(), TMarEvent::MuTriggerEfficiency(), Next(), and TTools().


The documentation for this class was generated from the following files:
Generated on Thu Jul 28 11:49:17 2005 for SFHMarana by doxygen 1.3.2