CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Private Attributes

TEcnaParEcal Class Reference

#include <TEcnaParEcal.h>

Inheritance diagram for TEcnaParEcal:
TNamed

List of all members.

Public Member Functions

TString GetEcalSubDetector ()
Int_t MaxCrysEcnaInDee ()
Int_t MaxCrysEcnaInStex ()
Int_t MaxCrysEtaInSM ()
Int_t MaxCrysEtaInTow ()
Int_t MaxCrysForConsInDee ()
Int_t MaxCrysHocoInStex ()
Int_t MaxCrysHocoInStin ()
Int_t MaxCrysInSC ()
Int_t MaxCrysInSM ()
Int_t MaxCrysInStex ()
Int_t MaxCrysInStin ()
Int_t MaxCrysInTow ()
Int_t MaxCrysIXInDee ()
Int_t MaxCrysIXInSC ()
Int_t MaxCrysIYInDee ()
Int_t MaxCrysIYInSC ()
Int_t MaxCrysPhiInSM ()
Int_t MaxCrysPhiInTow ()
Int_t MaxCrysVecoInStex ()
Int_t MaxCrysVecoInStin ()
Int_t MaxDeeInEE ()
Int_t MaxDeeInEEMinus ()
Int_t MaxDeeInEEPlus ()
Int_t MaxDeeIXInEE ()
Int_t MaxDeeIYInEE ()
Int_t MaxDSInEE ()
Int_t MaxEvtsInBurstPedRun ()
Int_t MaxEvtsInBurstPedRunEB ()
Int_t MaxEvtsInBurstPedRunEE ()
Int_t MaxSampADC ()
Int_t MaxSampADCEB ()
Int_t MaxSampADCEE ()
Int_t MaxSCEcnaInDee ()
Int_t MaxSCForConsInDee ()
Int_t MaxSCIXInDee ()
Int_t MaxSCIXInEE ()
Int_t MaxSCIYInDee ()
Int_t MaxSCIYInEE ()
Int_t MaxSMEtaInEB ()
Int_t MaxSMInEB ()
Int_t MaxSMInEBMinus ()
Int_t MaxSMInEBPlus ()
Int_t MaxSMPhiInEB ()
Int_t MaxStexHocoInStas ()
Int_t MaxStexInStas ()
Int_t MaxStexInStasMinus ()
Int_t MaxStexInStasPlus ()
Int_t MaxStexVecoInStas ()
Int_t MaxStinEcnaInStex ()
Int_t MaxStinHocoInStas ()
Int_t MaxStinHocoInStex ()
Int_t MaxStinInStex ()
Int_t MaxStinVecoInStas ()
Int_t MaxStinVecoInStex ()
Int_t MaxTowEtaInEB ()
Int_t MaxTowEtaInSM ()
Int_t MaxTowInSM ()
Int_t MaxTowPhiInEB ()
Int_t MaxTowPhiInSM ()
Int_t NumberOfNotCompleteSCs ()
Int_t NumberOfNotConnectedSCs ()
void SetEcalSubDetector (const TString)
 TEcnaParEcal (const TString)
 TEcnaParEcal ()
 ~TEcnaParEcal ()

Protected Member Functions

void Init ()

Private Attributes

Int_t fCdelete
Int_t fCnew
TString fCodeEB
TString fCodeEE
TString fFlagSubDet
Int_t fgMaxCar
Int_t fMaxCrysEcnaInDee
Int_t fMaxCrysEcnaInStex
Int_t fMaxCrysEtaInSM
Int_t fMaxCrysEtaInTow
Int_t fMaxCrysForConsInDee
Int_t fMaxCrysHocoInStex
Int_t fMaxCrysHocoInStin
Int_t fMaxCrysInSC
Int_t fMaxCrysInSM
Int_t fMaxCrysInStex
Int_t fMaxCrysInStin
Int_t fMaxCrysInTow
Int_t fMaxCrysIXInDee
Int_t fMaxCrysIXInSC
Int_t fMaxCrysIYInDee
Int_t fMaxCrysIYInSC
Int_t fMaxCrysPhiInSM
Int_t fMaxCrysPhiInTow
Int_t fMaxCrysVecoInStex
Int_t fMaxCrysVecoInStin
Int_t fMaxDeeInEE
Int_t fMaxDeeInEEMinus
Int_t fMaxDeeInEEPlus
Int_t fMaxDeeIXInEE
Int_t fMaxDeeIYInEE
Int_t fMaxDSInEE
Int_t fMaxDSInEEMinus
Int_t fMaxDSInEEPlus
Int_t fMaxEvtsInBurstPedRun
Int_t fMaxEvtsInBurstPedRunEB
Int_t fMaxEvtsInBurstPedRunEE
Int_t fMaxSampADC
Int_t fMaxSampADCEB
Int_t fMaxSampADCEE
Int_t fMaxSCEcnaInDee
Int_t fMaxSCForConsInDee
Int_t fMaxSCIXInDee
Int_t fMaxSCIXInEE
Int_t fMaxSCIYInDee
Int_t fMaxSCIYInEE
Int_t fMaxSMEtaInEB
Int_t fMaxSMInEB
Int_t fMaxSMInEBMinus
Int_t fMaxSMInEBPlus
Int_t fMaxSMPhiInEB
Int_t fMaxStexHocoInStas
Int_t fMaxStexInStas
Int_t fMaxStexInStasMinus
Int_t fMaxStexInStasPlus
Int_t fMaxStexVecoInStas
Int_t fMaxStinEcnaInStex
Int_t fMaxStinHocoInStas
Int_t fMaxStinHocoInStex
Int_t fMaxStinInStex
Int_t fMaxStinVecoInStas
Int_t fMaxStinVecoInStex
Int_t fMaxTowEtaInEB
Int_t fMaxTowEtaInSM
Int_t fMaxTowInSM
Int_t fMaxTowPhiInEB
Int_t fMaxTowPhiInSM
Int_t fNumberOfNotCompleteSCs
Int_t fNumberOfNotConnectedSCs
TString fTTBELL

Detailed Description

Definition at line 15 of file TEcnaParEcal.h.


Constructor & Destructor Documentation

TEcnaParEcal::TEcnaParEcal ( )
TEcnaParEcal::TEcnaParEcal ( const TString  SubDet)

Definition at line 19 of file TEcnaParEcal.cc.

References Init(), and SetEcalSubDetector().

                                              {
// Constructor with argument. Call to Init() and set the subdetector flag

 // cout << "[Info Management] CLASS: TEcnaParEcal.   CREATE OBJECT: this = " << this << endl;

  Init();
  SetEcalSubDetector(SubDet.Data());
}
TEcnaParEcal::~TEcnaParEcal ( )

Definition at line 28 of file TEcnaParEcal.cc.

                            {
//destructor

 // cout << "[Info Management] CLASS: TEcnaParEcal.   DESTROY OBJECT: this = " << this << endl;
}

Member Function Documentation

TString TEcnaParEcal::GetEcalSubDetector ( )
void TEcnaParEcal::Init ( void  ) [protected]

Definition at line 34 of file TEcnaParEcal.cc.

References fCdelete, fCnew, fCodeEB, fCodeEE, fFlagSubDet, fgMaxCar, fMaxCrysEcnaInDee, fMaxCrysEcnaInStex, fMaxCrysEtaInSM, fMaxCrysEtaInTow, fMaxCrysForConsInDee, fMaxCrysHocoInStex, fMaxCrysHocoInStin, fMaxCrysInSC, fMaxCrysInSM, fMaxCrysInStex, fMaxCrysInStin, fMaxCrysInTow, fMaxCrysIXInDee, fMaxCrysIXInSC, fMaxCrysIYInDee, fMaxCrysIYInSC, fMaxCrysPhiInSM, fMaxCrysPhiInTow, fMaxCrysVecoInStex, fMaxCrysVecoInStin, fMaxDeeInEE, fMaxDeeInEEMinus, fMaxDeeInEEPlus, fMaxDeeIXInEE, fMaxDeeIYInEE, fMaxDSInEE, fMaxDSInEEMinus, fMaxDSInEEPlus, fMaxEvtsInBurstPedRun, fMaxEvtsInBurstPedRunEB, fMaxEvtsInBurstPedRunEE, fMaxSampADC, fMaxSampADCEB, fMaxSampADCEE, fMaxSCEcnaInDee, fMaxSCForConsInDee, fMaxSCIXInDee, fMaxSCIXInEE, fMaxSCIYInDee, fMaxSCIYInEE, fMaxSMEtaInEB, fMaxSMInEB, fMaxSMInEBMinus, fMaxSMInEBPlus, fMaxSMPhiInEB, fMaxStexHocoInStas, fMaxStexInStas, fMaxStexInStasMinus, fMaxStexInStasPlus, fMaxStexVecoInStas, fMaxStinEcnaInStex, fMaxStinHocoInStas, fMaxStinHocoInStex, fMaxStinInStex, fMaxStinVecoInStas, fMaxStinVecoInStex, fMaxTowEtaInEB, fMaxTowEtaInSM, fMaxTowInSM, fMaxTowPhiInEB, fMaxTowPhiInSM, fNumberOfNotCompleteSCs, fNumberOfNotConnectedSCs, and fTTBELL.

Referenced by TEcnaParEcal().

{
//Set values of Ecal parameters

  //--------------------------------- INIT parameters

  fTTBELL = '\007';

  fCnew       = 0;
  fCdelete    = 0;

  //....................... CMS/ECAL parameters

  //.............. Basic parameters for EB

  fMaxSampADCEB           = (Int_t)10;  // Maximum number of samples ADC

  fMaxEvtsInBurstPedRunEB = (Int_t)150; // Maximum number of events per burst in Pedestal Runs

  fMaxSMEtaInEB           = (Int_t)2;   // Maximum number of SuperModules in eta in the EB
  fMaxSMPhiInEB           = (Int_t)18;  // Maximum number of SuperModules in phi in the EB

  fMaxSMInEBPlus          = (Int_t)18;  // Maximum number of SuperModules in the EB+
  fMaxSMInEBMinus         = (Int_t)18;  // Maximum number of SuperModules in the EB- 

  fMaxTowEtaInSM          = (Int_t)17;  // Maximum number of towers in eta in a SuperModule
  fMaxTowPhiInSM          = (Int_t)4;   // Maximum number of towers in phi in a SuperModule

  fMaxCrysEtaInTow        = (Int_t)5;   // Maximum number of crystals in eta in a tower
  fMaxCrysPhiInTow        = (Int_t)5;   // Maximum number of crystals in phi in a tower

  //.............. Derived parameters for EB

  fMaxTowEtaInEB = fMaxSMEtaInEB*fMaxTowEtaInSM;      // Maximum number of towers in eta in EB
  fMaxTowPhiInEB = fMaxSMPhiInEB*fMaxTowPhiInSM;      // Maximum number of towers in phi in EB

  fMaxSMInEB      = fMaxSMInEBPlus + fMaxSMInEBMinus;         // Maximum number of SuperModules in the Ecal
  fMaxTowInSM     = (Int_t)fMaxTowEtaInSM*fMaxTowPhiInSM;     // Maximum number of towers in a SuperModule
  fMaxCrysInTow   = (Int_t)fMaxCrysEtaInTow*fMaxCrysPhiInTow; // Maximum number of crystals in a tower 

  fMaxCrysEtaInSM = (Int_t)fMaxTowEtaInSM*fMaxCrysEtaInTow;   // Maximum number of crystals in eta in a SuperModule
  fMaxCrysPhiInSM = (Int_t)fMaxTowPhiInSM*fMaxCrysPhiInTow;   // Maximum number of crystals in phi in a SuperModule
  fMaxCrysInSM    = (Int_t)fMaxTowInSM*fMaxCrysInTow;         // Maximum number of crystals in a SuperModule

  //.............. Basic parameters for the EE

  fMaxSampADCEE           = (Int_t)10;  // Maximum number of samples ADC

  fMaxEvtsInBurstPedRunEE = (Int_t)50;  // Maximum number of events per burst in Pedestal Runs

  fMaxDeeIXInEE           = (Int_t)4;   // Maximum number of Dees in IX in EE
  fMaxDeeIYInEE           = (Int_t)1;   // Maximum number of Dees in IY in EE

  fMaxDeeInEEPlus         = (Int_t)2;   // Maximum number of Dees in EE+
  fMaxDeeInEEMinus        = (Int_t)2;   // Maximum number of Dees in EE-

  fMaxSCIXInDee           = (Int_t)10;  // Maximum number of super-crystals in IX in Dee
  fMaxSCIYInDee           = (Int_t)20;  // Maximum number of super-crystals in IY in Dee
  fMaxSCForConsInDee      = (Int_t)149; // Maximum number of super-crystals for construction in Dee

  fMaxCrysIXInSC          = (Int_t)5;   // Maximum number of crystals in IX in a super-crystal
  fMaxCrysIYInSC          = (Int_t)5;   // Maximum number of crystals in IY in a super-crystal

  fMaxDSInEEPlus          = (Int_t)9;  // Maximum number of Data Sectors in EE+
  fMaxDSInEEMinus         = (Int_t)9;  // Maximum number of Data Sectors in EE-

  fNumberOfNotConnectedSCs = (Int_t)7; // Number of not connected SC's (178, 182, 207, 33, 29, etc... see EE mapping)
  fNumberOfNotCompleteSCs  = (Int_t)4; // Number of not complete  SC's (161, 216, 224, 12, 67, etc... see EE mapping)


  //.............. Derived parameters for the EE

  fMaxSCIXInEE    = fMaxDeeIXInEE*fMaxSCIXInDee;        // Maximum number of SC's in IX in EE
  fMaxSCIYInEE    = fMaxDeeIYInEE*fMaxSCIYInDee;        // Maximum number of SC's in IY in EE

  fMaxDeeInEE     = fMaxDeeInEEPlus + fMaxDeeInEEMinus; // Maximum number of Dees in EE
  fMaxSCEcnaInDee = fMaxSCIXInDee*fMaxSCIYInDee;        // Maximum number of super-crystals in the Dee matrix
  fMaxCrysInSC    = fMaxCrysIXInSC*fMaxCrysIYInSC;      // Maximum number of crystals in a super-crystal 

  fMaxCrysIXInDee      = fMaxSCIXInDee*fMaxCrysIXInSC;    // Maximum number of crystals in IX in Dee
  fMaxCrysIYInDee      = fMaxSCIYInDee*fMaxCrysIYInSC;    // Maximum number of crystals in IY in Dee
  fMaxCrysEcnaInDee    = fMaxSCEcnaInDee*fMaxCrysInSC;    // Max nb of crystals in the Dee matrix
  fMaxCrysForConsInDee = fMaxSCForConsInDee*fMaxCrysInSC; // Max nb of crystals for construction in Dee

  fMaxDSInEE = fMaxDSInEEPlus + fMaxDSInEEMinus;          // Maximum number of Data Sectors in EE

  //.............................. Current subdetector (Stas) parameters set to zero

  fMaxSampADC           = 0;

  fMaxEvtsInBurstPedRun = 0;

  fMaxStexHocoInStas    = 0;
  fMaxStexVecoInStas    = 0;

  fMaxStexInStasPlus    = 0;
  fMaxStexInStasMinus   = 0;
  fMaxStexInStas        = 0;

  fMaxStinHocoInStas    = 0; 
  fMaxStinVecoInStas    = 0; 

  fMaxStinHocoInStex    = 0;
  fMaxStinVecoInStex    = 0;
  fMaxStinEcnaInStex    = 0;

  fMaxCrysHocoInStin    = 0;
  fMaxCrysVecoInStin    = 0;
  fMaxCrysInStin        = 0;

  fMaxCrysHocoInStex    = 0;
  fMaxCrysVecoInStex    = 0;
  fMaxCrysEcnaInStex    = 0;

  //  fMaxStinForConsInStas = 0;

  fMaxStinInStex        = 0;
  fMaxCrysInStex        = 0;

  //.............................. Set codes for the Subdetector Flag
  fgMaxCar     = (Int_t)512;

  Int_t MaxCar = fgMaxCar;
  fCodeEB.Resize(MaxCar);
  fCodeEB = "EB";
 
  MaxCar = fgMaxCar;
  fCodeEE.Resize(MaxCar);
  fCodeEE = "EE";

  MaxCar = fgMaxCar;
  fFlagSubDet.Resize(MaxCar);
  fFlagSubDet = "No info";

} // end of Init()
Int_t TEcnaParEcal::MaxCrysEcnaInDee ( )
Int_t TEcnaParEcal::MaxCrysEcnaInStex ( )
Int_t TEcnaParEcal::MaxCrysEtaInSM ( )

Definition at line 284 of file TEcnaParEcal.cc.

References fMaxCrysEtaInSM.

{return fMaxCrysEtaInSM;}  // maximum  number of crystals in eta in SM
Int_t TEcnaParEcal::MaxCrysEtaInTow ( )
Int_t TEcnaParEcal::MaxCrysForConsInDee ( )

Definition at line 316 of file TEcnaParEcal.cc.

References fMaxCrysForConsInDee.

Referenced by TEcnaHistos::GetHistoSize().

{return fMaxCrysForConsInDee;} // max nb of crystals for construction in Dee
Int_t TEcnaParEcal::MaxCrysHocoInStex ( )

Definition at line 349 of file TEcnaParEcal.cc.

References fMaxCrysHocoInStex.

Referenced by TEcnaHistos::GetXCrysInStex().

{return fMaxCrysHocoInStex;} // max number of crystals in Hoco in a Stex
Int_t TEcnaParEcal::MaxCrysHocoInStin ( )

Definition at line 345 of file TEcnaParEcal.cc.

References fMaxCrysHocoInStin.

Referenced by TEcnaHistos::GetXSampInStin(), TEcnaWrite::SetEcalSubDetector(), TEcnaHistos::ViewStex(), and TEcnaHistos::ViewStin().

{return fMaxCrysHocoInStin;} // max number of crystals in Hoco in a Stin
Int_t TEcnaParEcal::MaxCrysInSC ( )
Int_t TEcnaParEcal::MaxCrysInSM ( )

Definition at line 286 of file TEcnaParEcal.cc.

References fMaxCrysInSM.

Referenced by TEcnaNumbering::BuildBarrelCrysTable().

{return fMaxCrysInSM;}     // maximum  number of crystals in SM
Int_t TEcnaParEcal::MaxCrysInStex ( )

Definition at line 352 of file TEcnaParEcal.cc.

References fMaxCrysInStex.

{return fMaxCrysInStex;}     // max number of crystals in Stex  
Int_t TEcnaParEcal::MaxCrysInStin ( )
Int_t TEcnaParEcal::MaxCrysInTow ( )
Int_t TEcnaParEcal::MaxCrysIXInDee ( )

Definition at line 313 of file TEcnaParEcal.cc.

References fMaxCrysIXInDee.

Referenced by TEcnaHistos::EEDataSectors(), TEcnaHistos::GetXCrysInStex(), and TEcnaHistos::ViewEEGrid().

{return fMaxCrysIXInDee;}      // max nb of crystals in IX in Dee
Int_t TEcnaParEcal::MaxCrysIXInSC ( )
Int_t TEcnaParEcal::MaxCrysIYInDee ( )

Definition at line 314 of file TEcnaParEcal.cc.

References fMaxCrysIYInDee.

Referenced by TEcnaHistos::EEDataSectors(), TEcnaParHistos::SetPaveCrystal(), TEcnaParHistos::SetPaveCrystalSample(), and TEcnaHistos::ViewEEGrid().

{return fMaxCrysIYInDee;}      // max nb of crystals in IY in Dee
Int_t TEcnaParEcal::MaxCrysIYInSC ( )
Int_t TEcnaParEcal::MaxCrysPhiInSM ( )

Definition at line 285 of file TEcnaParEcal.cc.

References fMaxCrysPhiInSM.

{return fMaxCrysPhiInSM;}  // maximum  number of crystals in phi in SM
Int_t TEcnaParEcal::MaxCrysPhiInTow ( )
Int_t TEcnaParEcal::MaxCrysVecoInStex ( )

Definition at line 350 of file TEcnaParEcal.cc.

References fMaxCrysVecoInStex.

Referenced by TEcnaHistos::GetXCrysInStex(), and TEcnaHistos::GetYCrysInStex().

{return fMaxCrysVecoInStex;} // max number of crystals in Veco in a Stex
Int_t TEcnaParEcal::MaxCrysVecoInStin ( )

Definition at line 346 of file TEcnaParEcal.cc.

References fMaxCrysVecoInStin.

Referenced by TEcnaHistos::GetYSampInStin(), TEcnaWrite::SetEcalSubDetector(), TEcnaHistos::ViewStex(), and TEcnaHistos::ViewStin().

{return fMaxCrysVecoInStin;} // max number of crystals in Veco in a Stin
Int_t TEcnaParEcal::MaxDeeInEE ( )
Int_t TEcnaParEcal::MaxDeeInEEMinus ( )

Definition at line 298 of file TEcnaParEcal.cc.

References fMaxDeeInEEMinus.

{return fMaxDeeInEEMinus;} // maximum number of dees in EE-
Int_t TEcnaParEcal::MaxDeeInEEPlus ( )

Definition at line 297 of file TEcnaParEcal.cc.

References fMaxDeeInEEPlus.

{return fMaxDeeInEEPlus;}  // maximum number of dees in EE+
Int_t TEcnaParEcal::MaxDeeIXInEE ( )

Definition at line 294 of file TEcnaParEcal.cc.

References fMaxDeeIXInEE.

{return fMaxDeeIXInEE;}  // maximum number of dees in IX in EE
Int_t TEcnaParEcal::MaxDeeIYInEE ( )

Definition at line 295 of file TEcnaParEcal.cc.

References fMaxDeeIYInEE.

{return fMaxDeeIYInEE;}  // maximum number of dees in IY in EE
Int_t TEcnaParEcal::MaxDSInEE ( )

Definition at line 318 of file TEcnaParEcal.cc.

References fMaxDSInEE.

Referenced by EcnaAnalyzer::analyze(), and EcnaAnalyzer::EcnaAnalyzer().

{return fMaxDSInEE;}
Int_t TEcnaParEcal::MaxEvtsInBurstPedRun ( )

Definition at line 327 of file TEcnaParEcal.cc.

References fMaxEvtsInBurstPedRun.

Int_t TEcnaParEcal::MaxEvtsInBurstPedRunEB ( )

Definition at line 264 of file TEcnaParEcal.cc.

References fMaxEvtsInBurstPedRunEB.

Int_t TEcnaParEcal::MaxEvtsInBurstPedRunEE ( )

Definition at line 292 of file TEcnaParEcal.cc.

References fMaxEvtsInBurstPedRunEE.

Int_t TEcnaParEcal::MaxSampADC ( )
Int_t TEcnaParEcal::MaxSampADCEB ( )

Definition at line 262 of file TEcnaParEcal.cc.

References fMaxSampADCEB.

{return fMaxSampADCEB;} // maximum  number of samples ADC for EB
Int_t TEcnaParEcal::MaxSampADCEE ( )

Definition at line 290 of file TEcnaParEcal.cc.

References fMaxSampADCEE.

{return fMaxSampADCEE;}   // maximum number of samples ADC for EE
Int_t TEcnaParEcal::MaxSCEcnaInDee ( )
Int_t TEcnaParEcal::MaxSCForConsInDee ( )
Int_t TEcnaParEcal::MaxSCIXInDee ( )

Definition at line 304 of file TEcnaParEcal.cc.

References fMaxSCIXInDee.

Referenced by TEcnaHistos::DeeSCNumbering(), TEcnaHistos::EEGridAxis(), TEcnaNumbering::GetIIXMax(), and TEcnaHistos::ViewDeeGrid().

{return fMaxSCIXInDee;}       // maximum number of SCs in IX in Dee
Int_t TEcnaParEcal::MaxSCIXInEE ( )

Definition at line 301 of file TEcnaParEcal.cc.

References fMaxSCIXInEE.

{return fMaxSCIXInEE;}         // maximum number of SC's in eta in EE
Int_t TEcnaParEcal::MaxSCIYInDee ( )
Int_t TEcnaParEcal::MaxSCIYInEE ( )

Definition at line 302 of file TEcnaParEcal.cc.

References fMaxSCIYInEE.

{return fMaxSCIYInEE;}         // maximum number of SC's in phi in EE
Int_t TEcnaParEcal::MaxSMEtaInEB ( )

Definition at line 266 of file TEcnaParEcal.cc.

References fMaxSMEtaInEB.

Referenced by TEcnaHistos::ViewEBGrid().

{return fMaxSMEtaInEB;}  // maximum number of SMs in eta in EB
Int_t TEcnaParEcal::MaxSMInEB ( )
Int_t TEcnaParEcal::MaxSMInEBMinus ( )

Definition at line 270 of file TEcnaParEcal.cc.

References fMaxSMInEBMinus.

Referenced by TEcnaGui::DoButtonStex().

{return fMaxSMInEBMinus;} // maximum number of SMs in the EB-
Int_t TEcnaParEcal::MaxSMInEBPlus ( )

Definition at line 269 of file TEcnaParEcal.cc.

References fMaxSMInEBPlus.

Referenced by TEcnaGui::DoButtonStex(), and TEcnaNumbering::GetSMHalfBarrel().

{return fMaxSMInEBPlus;}  // maximum number of SMs in the EB+
Int_t TEcnaParEcal::MaxSMPhiInEB ( )

Definition at line 267 of file TEcnaParEcal.cc.

References fMaxSMPhiInEB.

Referenced by TEcnaHistos::ViewEBGrid().

{return fMaxSMPhiInEB;}  // maximum number of SMs in phi in EB
Int_t TEcnaParEcal::MaxStexHocoInStas ( )

Definition at line 329 of file TEcnaParEcal.cc.

References fMaxStexHocoInStas.

{return fMaxStexHocoInStas;}   // max number of Stexs in Hoco in Stas+
Int_t TEcnaParEcal::MaxStexInStas ( )
Int_t TEcnaParEcal::MaxStexInStasMinus ( )

Definition at line 333 of file TEcnaParEcal.cc.

References fMaxStexInStasMinus.

Referenced by TEcnaHistos::GetXStinInStas().

{return fMaxStexInStasMinus;}  // max number of Stexs in Stas-
Int_t TEcnaParEcal::MaxStexInStasPlus ( )

Definition at line 332 of file TEcnaParEcal.cc.

References fMaxStexInStasPlus.

{return fMaxStexInStasPlus;}   // max number of Stexs in Stas+
Int_t TEcnaParEcal::MaxStexVecoInStas ( )

Definition at line 330 of file TEcnaParEcal.cc.

References fMaxStexVecoInStas.

{return fMaxStexVecoInStas;}   // max number of Stexs in Veco in Stas+
Int_t TEcnaParEcal::MaxStinEcnaInStex ( )

Definition at line 341 of file TEcnaParEcal.cc.

References fMaxStinEcnaInStex.

Referenced by TEcnaRun::AveragedHighFrequencyNoise(), TEcnaRun::AveragedLowFrequencyNoise(), TEcnaRun::AveragedMeanOfCorrelationsBetweenSamples(), TEcnaRun::AveragedPedestals(), TEcnaRun::AveragedSigmaOfCorrelationsBetweenSamples(), TEcnaRun::AveragedTotalNoise(), TEcnaRun::BuildEventDistributions(), TEcnaGui::DoButtonStinA(), TEcnaGui::DoButtonStinB(), TEcnaHistos::GetOkViewHisto(), TEcnaRun::GetReadyToReadData(), TEcnaRead::GetStexStinFromIndex(), TEcnaRead::GetStinIndex(), TEcnaRun::HighFrequencyMeanCorrelationsBetweenStins(), TEcnaHistos::HistoPlot(), TEcnaRead::LookAtRootFile(), TEcnaRun::LowFrequencyMeanCorrelationsBetweenStins(), TEcnaRun::ReadEventDistributions(), TEcnaRead::ReadHighFrequencyCorrelationsBetweenChannels(), TEcnaRead::ReadHighFrequencyCovariancesBetweenChannels(), TEcnaRead::ReadHighFrequencyMeanCorrelationsBetweenStins(), TEcnaRead::ReadLowFrequencyCorrelationsBetweenChannels(), TEcnaRead::ReadLowFrequencyCovariancesBetweenChannels(), TEcnaRead::ReadLowFrequencyMeanCorrelationsBetweenStins(), TEcnaRead::ReadNumberOfEvents(), TEcnaHistos::StexHocoVecoLHFCorcc(), TEcnaRun::TRootAvEvCorss(), TEcnaRun::TRootAvHfn(), TEcnaRun::TRootAvLfn(), TEcnaRun::TRootAvPed(), TEcnaRun::TRootAvSigCorss(), TEcnaRun::TRootAvTno(), TEcnaRun::TRootHFccMoStins(), TEcnaRun::TRootLFccMoStins(), TEcnaRun::TRootStinNumbers(), TEcnaHistos::ViewHisto(), TEcnaHistos::ViewMatrix(), TEcnaHistos::ViewStas(), TEcnaHistos::ViewStex(), TEcnaHistos::ViewStin(), and TEcnaRun::WriteRootFile().

{return fMaxStinEcnaInStex;} // max number of Stins in "ECNA matrix" Stex
Int_t TEcnaParEcal::MaxStinHocoInStas ( )

Definition at line 336 of file TEcnaParEcal.cc.

References fMaxStinHocoInStas.

Referenced by TEcnaHistos::ViewStas().

{return fMaxStinHocoInStas;}    // maximum number of Stin's in Hoco in Stas
Int_t TEcnaParEcal::MaxStinHocoInStex ( )
Int_t TEcnaParEcal::MaxStinInStex ( )

Definition at line 342 of file TEcnaParEcal.cc.

References fMaxStinInStex.

Referenced by TEcnaHistos::ViewMatrix().

{return fMaxStinInStex;}     // max number of Stins in Stex
Int_t TEcnaParEcal::MaxStinVecoInStas ( )

Definition at line 337 of file TEcnaParEcal.cc.

References fMaxStinVecoInStas.

Referenced by TEcnaHistos::ViewStas().

{return fMaxStinVecoInStas;}    // maximum number of Stin's in Veco in Stas
Int_t TEcnaParEcal::MaxStinVecoInStex ( )

Definition at line 340 of file TEcnaParEcal.cc.

References fMaxStinVecoInStex.

Referenced by TEcnaHistos::GetXStinInStas(), TEcnaHistos::GetYStinInStas(), TEcnaHistos::StexHocoVecoLHFCorcc(), and TEcnaHistos::ViewStex().

{return fMaxStinVecoInStex;} // max number of Stins in Veco in a Stex
Int_t TEcnaParEcal::MaxTowEtaInEB ( )

Definition at line 273 of file TEcnaParEcal.cc.

References fMaxTowEtaInEB.

{return fMaxTowEtaInEB;}   // maximum number of towers in eta in EB
Int_t TEcnaParEcal::MaxTowEtaInSM ( )
Int_t TEcnaParEcal::MaxTowInSM ( )
Int_t TEcnaParEcal::MaxTowPhiInEB ( )

Definition at line 274 of file TEcnaParEcal.cc.

References fMaxTowPhiInEB.

{return fMaxTowPhiInEB;}   // maximum number of towers in phi in EB
Int_t TEcnaParEcal::MaxTowPhiInSM ( )
Int_t TEcnaParEcal::NumberOfNotCompleteSCs ( )

Definition at line 321 of file TEcnaParEcal.cc.

References fNumberOfNotCompleteSCs.

Referenced by TEcnaHistos::HistoPlot().

Int_t TEcnaParEcal::NumberOfNotConnectedSCs ( )

Definition at line 320 of file TEcnaParEcal.cc.

References fNumberOfNotConnectedSCs.

Referenced by TEcnaHistos::HistoPlot().

void TEcnaParEcal::SetEcalSubDetector ( const TString  SubDet)

Definition at line 170 of file TEcnaParEcal.cc.

References gather_cfg::cout, fCodeEB, fCodeEE, fFlagSubDet, fgMaxCar, fMaxCrysEcnaInDee, fMaxCrysEcnaInStex, fMaxCrysEtaInSM, fMaxCrysEtaInTow, fMaxCrysForConsInDee, fMaxCrysHocoInStex, fMaxCrysHocoInStin, fMaxCrysInSC, fMaxCrysInSM, fMaxCrysInStex, fMaxCrysInStin, fMaxCrysInTow, fMaxCrysIXInDee, fMaxCrysIXInSC, fMaxCrysIYInDee, fMaxCrysIYInSC, fMaxCrysPhiInSM, fMaxCrysPhiInTow, fMaxCrysVecoInStex, fMaxCrysVecoInStin, fMaxDeeInEE, fMaxDeeInEEMinus, fMaxDeeInEEPlus, fMaxDeeIXInEE, fMaxDeeIYInEE, fMaxEvtsInBurstPedRun, fMaxEvtsInBurstPedRunEB, fMaxEvtsInBurstPedRunEE, fMaxSampADC, fMaxSampADCEB, fMaxSampADCEE, fMaxSCEcnaInDee, fMaxSCForConsInDee, fMaxSCIXInDee, fMaxSCIXInEE, fMaxSCIYInDee, fMaxSCIYInEE, fMaxSMEtaInEB, fMaxSMInEB, fMaxSMInEBMinus, fMaxSMInEBPlus, fMaxSMPhiInEB, fMaxStexHocoInStas, fMaxStexInStas, fMaxStexInStasMinus, fMaxStexInStasPlus, fMaxStexVecoInStas, fMaxStinEcnaInStex, fMaxStinHocoInStas, fMaxStinHocoInStex, fMaxStinInStex, fMaxStinVecoInStas, fMaxStinVecoInStex, fMaxTowEtaInEB, fMaxTowEtaInSM, fMaxTowInSM, fMaxTowPhiInEB, fMaxTowPhiInSM, and fTTBELL.

Referenced by TEcnaParEcal().

                                                         {
//Set the current subdetector flag and the current subdetector "Stin-Stex-Stas" parameters according to fFlagSubDet

  if( SubDet != fCodeEB && SubDet != fCodeEE )
    {
      cout << "!TEcnaParEcal::SetEcalSubDetector(...)> " << SubDet
           << " : unknown subdetector code (requested: EB or EE)" << fTTBELL << endl;
    }
  else
    {
      Int_t MaxCar = fgMaxCar;
      fFlagSubDet.Resize(MaxCar);
      fFlagSubDet = SubDet.Data();   // Set the SubDetector flag

      if( fFlagSubDet != fCodeEB && fFlagSubDet != fCodeEE )
        {
          cout << "!TEcnaParEcal::SetEcalSubDetector(...)> fFlagSubDet = " << fFlagSubDet
               << " : CODE PROBLEM, subdetector flag not initialized." << fTTBELL << endl;
        }

      if(fFlagSubDet == fCodeEB)
        {
          fMaxSampADC           = fMaxSampADCEB;
          fMaxEvtsInBurstPedRun = fMaxEvtsInBurstPedRunEB;
          
          fMaxStexHocoInStas    = fMaxSMEtaInEB;
          fMaxStexVecoInStas    = fMaxSMPhiInEB;

          fMaxStexInStasPlus    = fMaxSMInEBPlus;
          fMaxStexInStasMinus   = fMaxSMInEBMinus;
          fMaxStexInStas        = fMaxSMInEB;
          
          fMaxStinHocoInStas    = fMaxTowEtaInEB; 
          fMaxStinVecoInStas    = fMaxTowPhiInEB;

          fMaxStinHocoInStex    = fMaxTowEtaInSM;
          fMaxStinVecoInStex    = fMaxTowPhiInSM;
          fMaxStinEcnaInStex    = fMaxTowInSM;
          
          fMaxCrysHocoInStin    = fMaxCrysEtaInTow;
          fMaxCrysVecoInStin    = fMaxCrysPhiInTow;
          fMaxCrysInStin        = fMaxCrysInTow;
          
          fMaxCrysHocoInStex    = fMaxCrysEtaInSM;
          fMaxCrysVecoInStex    = fMaxCrysPhiInSM;
          fMaxCrysEcnaInStex    = fMaxCrysInSM;

          fMaxStinInStex        = fMaxTowInSM;
          fMaxCrysInStex        = fMaxCrysInSM;
        }

      if(fFlagSubDet == fCodeEE)
        {
          fMaxSampADC           = fMaxSampADCEE;
          fMaxEvtsInBurstPedRun = fMaxEvtsInBurstPedRunEE;
          
          fMaxStexHocoInStas    = fMaxDeeIXInEE;
          fMaxStexVecoInStas    = fMaxDeeIYInEE;

          fMaxStexInStasPlus    = fMaxDeeInEEPlus;
          fMaxStexInStasMinus   = fMaxDeeInEEMinus;
          fMaxStexInStas        = fMaxDeeInEE;
          
          fMaxStinHocoInStas    = fMaxSCIXInEE; 
          fMaxStinVecoInStas    = fMaxSCIYInEE;
          
          fMaxStinHocoInStex    = fMaxSCIXInDee;
          fMaxStinVecoInStex    = fMaxSCIYInDee;
          fMaxStinEcnaInStex    = fMaxSCEcnaInDee;
          
          fMaxCrysHocoInStin    = fMaxCrysIXInSC;
          fMaxCrysVecoInStin    = fMaxCrysIYInSC;
          fMaxCrysInStin        = fMaxCrysInSC;
          
          fMaxCrysHocoInStex    = fMaxCrysIXInDee;
          fMaxCrysVecoInStex    = fMaxCrysIYInDee;
          fMaxCrysEcnaInStex    = fMaxCrysEcnaInDee;

          fMaxStinInStex        = fMaxSCForConsInDee;
          fMaxCrysInStex        = fMaxCrysForConsInDee;
        }
    }
} // end of SetEcalSubDetector(const TString SubDet)

Member Data Documentation

Int_t TEcnaParEcal::fCdelete [private]

Definition at line 27 of file TEcnaParEcal.h.

Referenced by Init().

Int_t TEcnaParEcal::fCnew [private]

Definition at line 26 of file TEcnaParEcal.h.

Referenced by Init().

TString TEcnaParEcal::fCodeEB [private]

Definition at line 32 of file TEcnaParEcal.h.

Referenced by Init(), and SetEcalSubDetector().

TString TEcnaParEcal::fCodeEE [private]

Definition at line 33 of file TEcnaParEcal.h.

Referenced by Init(), and SetEcalSubDetector().

TString TEcnaParEcal::fFlagSubDet [private]

Definition at line 31 of file TEcnaParEcal.h.

Referenced by GetEcalSubDetector(), Init(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fgMaxCar [private]

Definition at line 23 of file TEcnaParEcal.h.

Referenced by Init(), and SetEcalSubDetector().

Definition at line 105 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysEcnaInDee(), and SetEcalSubDetector().

Definition at line 149 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysEcnaInStex(), and SetEcalSubDetector().

Definition at line 63 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysEtaInSM(), and SetEcalSubDetector().

Definition at line 58 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysEtaInTow(), and SetEcalSubDetector().

Definition at line 107 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysForConsInDee(), and SetEcalSubDetector().

Definition at line 143 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysHocoInStex(), and SetEcalSubDetector().

Definition at line 138 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysHocoInStin(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fMaxCrysInSC [private]

Definition at line 96 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysInSC(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fMaxCrysInSM [private]

Definition at line 69 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysInSM(), and SetEcalSubDetector().

Definition at line 155 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysInStex(), and SetEcalSubDetector().

Definition at line 140 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysInStin(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fMaxCrysInTow [private]

Definition at line 60 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysInTow(), and SetEcalSubDetector().

Definition at line 99 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysIXInDee(), and SetEcalSubDetector().

Definition at line 94 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysIXInSC(), and SetEcalSubDetector().

Definition at line 102 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysIYInDee(), and SetEcalSubDetector().

Definition at line 95 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysIYInSC(), and SetEcalSubDetector().

Definition at line 66 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysPhiInSM(), and SetEcalSubDetector().

Definition at line 59 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysPhiInTow(), and SetEcalSubDetector().

Definition at line 146 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysVecoInStex(), and SetEcalSubDetector().

Definition at line 139 of file TEcnaParEcal.h.

Referenced by Init(), MaxCrysVecoInStin(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fMaxDeeInEE [private]

Definition at line 83 of file TEcnaParEcal.h.

Referenced by Init(), MaxDeeInEE(), and SetEcalSubDetector().

Definition at line 82 of file TEcnaParEcal.h.

Referenced by Init(), MaxDeeInEEMinus(), and SetEcalSubDetector().

Definition at line 81 of file TEcnaParEcal.h.

Referenced by Init(), MaxDeeInEEPlus(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fMaxDeeIXInEE [private]

Definition at line 78 of file TEcnaParEcal.h.

Referenced by Init(), MaxDeeIXInEE(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fMaxDeeIYInEE [private]

Definition at line 79 of file TEcnaParEcal.h.

Referenced by Init(), MaxDeeIYInEE(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fMaxDSInEE [private]

Definition at line 112 of file TEcnaParEcal.h.

Referenced by Init(), and MaxDSInEE().

Definition at line 111 of file TEcnaParEcal.h.

Referenced by Init().

Definition at line 110 of file TEcnaParEcal.h.

Referenced by Init().

Definition at line 121 of file TEcnaParEcal.h.

Referenced by Init(), MaxEvtsInBurstPedRun(), and SetEcalSubDetector().

Definition at line 41 of file TEcnaParEcal.h.

Referenced by Init(), MaxEvtsInBurstPedRunEB(), and SetEcalSubDetector().

Definition at line 76 of file TEcnaParEcal.h.

Referenced by Init(), MaxEvtsInBurstPedRunEE(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fMaxSampADC [private]

Definition at line 119 of file TEcnaParEcal.h.

Referenced by Init(), MaxSampADC(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fMaxSampADCEB [private]

Definition at line 39 of file TEcnaParEcal.h.

Referenced by Init(), MaxSampADCEB(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fMaxSampADCEE [private]

Definition at line 74 of file TEcnaParEcal.h.

Referenced by Init(), MaxSampADCEE(), and SetEcalSubDetector().

Definition at line 90 of file TEcnaParEcal.h.

Referenced by Init(), MaxSCEcnaInDee(), and SetEcalSubDetector().

Definition at line 92 of file TEcnaParEcal.h.

Referenced by Init(), MaxSCForConsInDee(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fMaxSCIXInDee [private]

Definition at line 88 of file TEcnaParEcal.h.

Referenced by Init(), MaxSCIXInDee(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fMaxSCIXInEE [private]

Definition at line 85 of file TEcnaParEcal.h.

Referenced by Init(), MaxSCIXInEE(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fMaxSCIYInDee [private]

Definition at line 89 of file TEcnaParEcal.h.

Referenced by Init(), MaxSCIYInDee(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fMaxSCIYInEE [private]

Definition at line 86 of file TEcnaParEcal.h.

Referenced by Init(), MaxSCIYInEE(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fMaxSMEtaInEB [private]

Definition at line 43 of file TEcnaParEcal.h.

Referenced by Init(), MaxSMEtaInEB(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fMaxSMInEB [private]

Definition at line 48 of file TEcnaParEcal.h.

Referenced by Init(), MaxSMInEB(), and SetEcalSubDetector().

Definition at line 47 of file TEcnaParEcal.h.

Referenced by Init(), MaxSMInEBMinus(), and SetEcalSubDetector().

Definition at line 46 of file TEcnaParEcal.h.

Referenced by Init(), MaxSMInEBPlus(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fMaxSMPhiInEB [private]

Definition at line 44 of file TEcnaParEcal.h.

Referenced by Init(), MaxSMPhiInEB(), and SetEcalSubDetector().

Definition at line 123 of file TEcnaParEcal.h.

Referenced by Init(), MaxStexHocoInStas(), and SetEcalSubDetector().

Definition at line 128 of file TEcnaParEcal.h.

Referenced by Init(), MaxStexInStas(), and SetEcalSubDetector().

Definition at line 127 of file TEcnaParEcal.h.

Referenced by Init(), MaxStexInStasMinus(), and SetEcalSubDetector().

Definition at line 126 of file TEcnaParEcal.h.

Referenced by Init(), MaxStexInStasPlus(), and SetEcalSubDetector().

Definition at line 124 of file TEcnaParEcal.h.

Referenced by Init(), MaxStexVecoInStas(), and SetEcalSubDetector().

Definition at line 135 of file TEcnaParEcal.h.

Referenced by Init(), MaxStinEcnaInStex(), and SetEcalSubDetector().

Definition at line 130 of file TEcnaParEcal.h.

Referenced by Init(), MaxStinHocoInStas(), and SetEcalSubDetector().

Definition at line 133 of file TEcnaParEcal.h.

Referenced by Init(), MaxStinHocoInStex(), and SetEcalSubDetector().

Definition at line 152 of file TEcnaParEcal.h.

Referenced by Init(), MaxStinInStex(), and SetEcalSubDetector().

Definition at line 131 of file TEcnaParEcal.h.

Referenced by Init(), MaxStinVecoInStas(), and SetEcalSubDetector().

Definition at line 134 of file TEcnaParEcal.h.

Referenced by Init(), MaxStinVecoInStex(), and SetEcalSubDetector().

Definition at line 50 of file TEcnaParEcal.h.

Referenced by Init(), MaxTowEtaInEB(), and SetEcalSubDetector().

Definition at line 53 of file TEcnaParEcal.h.

Referenced by Init(), MaxTowEtaInSM(), and SetEcalSubDetector().

Int_t TEcnaParEcal::fMaxTowInSM [private]

Definition at line 55 of file TEcnaParEcal.h.

Referenced by Init(), MaxTowInSM(), and SetEcalSubDetector().

Definition at line 51 of file TEcnaParEcal.h.

Referenced by Init(), MaxTowPhiInEB(), and SetEcalSubDetector().

Definition at line 54 of file TEcnaParEcal.h.

Referenced by Init(), MaxTowPhiInSM(), and SetEcalSubDetector().

Definition at line 115 of file TEcnaParEcal.h.

Referenced by Init(), and NumberOfNotCompleteSCs().

Definition at line 114 of file TEcnaParEcal.h.

Referenced by Init(), and NumberOfNotConnectedSCs().

TString TEcnaParEcal::fTTBELL [private]

Definition at line 24 of file TEcnaParEcal.h.

Referenced by Init(), and SetEcalSubDetector().