CMS 3D CMS Logo

Public Member Functions | Private Member Functions

CSCChamberTimeCorrectionsReadTest Class Reference

#include <CSCChamberTimeCorrectionsReadTest.h>

Inheritance diagram for CSCChamberTimeCorrectionsReadTest:
edm::EDAnalyzer

List of all members.

Public Member Functions

 CSCChamberTimeCorrectionsReadTest (const edm::ParameterSet &)
 ~CSCChamberTimeCorrectionsReadTest ()

Private Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
virtual void beginJob ()
virtual void endJob ()

Detailed Description

Definition at line 18 of file CSCChamberTimeCorrectionsReadTest.h.


Constructor & Destructor Documentation

CSCChamberTimeCorrectionsReadTest::CSCChamberTimeCorrectionsReadTest ( const edm::ParameterSet ) [explicit]

Definition at line 4 of file CSCChamberTimeCorrectionsReadTest.cc.

{}
CSCChamberTimeCorrectionsReadTest::~CSCChamberTimeCorrectionsReadTest ( )

Definition at line 5 of file CSCChamberTimeCorrectionsReadTest.cc.

{}

Member Function Documentation

void CSCChamberTimeCorrectionsReadTest::analyze ( const edm::Event ,
const edm::EventSetup  
) [private, virtual]

Implements edm::EDAnalyzer.

Definition at line 7 of file CSCChamberTimeCorrectionsReadTest.cc.

References csccableread::cable_read(), gather_cfg::cout, and i.

{
  csccableread *cable = new csccableread ();
  std::cout << " Connected cscr for cables ... " << std::endl;

  // Get information by chamber index.
   int chamberindex = 2;
   std::cout<<std::endl;
   std::cout<<std::endl;
   std::cout<<"Method cable_read, input: chamber index  "<<chamberindex<<std::endl;
   std::cout<<std::endl;
   std::string chamber_label, cfeb_rev, alct_rev;
   float cfeb_length, alct_length, cfeb_tmb_skew_delay, cfeb_timing_corr;

   for (int i=1; i<=540; i++){
     cable->cable_read(i, &chamber_label, &cfeb_length, &cfeb_rev,
                       &alct_length, &alct_rev, &cfeb_tmb_skew_delay, &cfeb_timing_corr);
     
     std::cout<<"chamber_label  "<<"  "<<chamber_label << " " ;//<<std::endl;
     std::cout<<"cfeb_length  "<<"  "<<cfeb_length << " " ;//<<std::endl;
     std::cout<<"cfeb_rev  "<<"  "<<cfeb_rev << " " ;//<<std::endl;
     std::cout<<"alct_length  "<<"  "<<alct_length << " " ;//<<std::endl;
     std::cout<<"alct_rev  "<<"  "<<alct_rev << " " ;//<<std::endl;
     std::cout<<"cfeb_tmb_skew_delay  "<<"  "<<cfeb_tmb_skew_delay << " " ;//<<std::endl;
     std::cout<<"cfeb_timing_corr  "<<"  "<<cfeb_timing_corr <<std::endl;

   }

}
void CSCChamberTimeCorrectionsReadTest::beginJob ( void  ) [private, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 36 of file CSCChamberTimeCorrectionsReadTest.cc.

References gather_cfg::cout.

                                                {
  std::cout << "Here is the start" << std::endl;
  std::cout << "-----------------" << std::endl;
}
void CSCChamberTimeCorrectionsReadTest::endJob ( void  ) [private, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 40 of file CSCChamberTimeCorrectionsReadTest.cc.

References gather_cfg::cout.

                                               {
  std::cout << "---------------" << std::endl;
  std::cout << "Here is the end" << std::endl;
}