NtpSRDetStatus Class Reference

#include <NtpSRDetStatus.h>

List of all members.

Public Member Functions

 NtpSRDetStatus ()
virtual ~NtpSRDetStatus ()
virtual std::ostream & Print (std::ostream &os) const
virtual void Print (Option_t *option="") const

Public Attributes

Short_t coilstatus
 < coilstatus is deprecated, used to be filled from BFieldCoilCurrent
Short_t dcscoilstatus
 mag coil status: enum'ed as DcsUser::ECoilStatus
Float_t coilcurrent1
 coil current in supermodule 1
Float_t coilcurrent2
 coil current in supermodule 2
Short_t dbuhvstatus
 -1(unknown), 0(bad), 1(good)
Int_t coldchips1
 cold chips in supermodule 1
Int_t coldchips2
 cold chips in supermodule 2

Detailed Description

Definition at line 17 of file NtpSRDetStatus.h.


Constructor & Destructor Documentation

NtpSRDetStatus::NtpSRDetStatus (  )  [inline]

Definition at line 21 of file NtpSRDetStatus.h.

00021 : coilstatus(0),dcscoilstatus(0),coilcurrent1(-999.9),coilcurrent2(-999.9),dbuhvstatus(-1),coldchips1(-1),coldchips2(-1) {}

virtual NtpSRDetStatus::~NtpSRDetStatus (  )  [inline, virtual]

Definition at line 22 of file NtpSRDetStatus.h.

00022 {}


Member Function Documentation

void NtpSRDetStatus::Print ( Option_t *  option = ""  )  const [virtual]

Definition at line 35 of file NtpSRDetStatus.cxx.

References Print().

00035                                                        {
00036   //
00037   //  Purpose:  Print detector status in form supported by TObject::Print.
00038   //
00039   //  Arguments: option (not used)
00040   //
00041 
00042   Print(std::cout);
00043   return;
00044 
00045 }

std::ostream & NtpSRDetStatus::Print ( std::ostream &  os  )  const [virtual]

Definition at line 18 of file NtpSRDetStatus.cxx.

References coilcurrent1, coilcurrent2, coilstatus, coldchips1, coldchips2, dbuhvstatus, and dcscoilstatus.

Referenced by Print().

00018                                                       {
00019   //
00020   //  Purpose:  Print detector status on ostream.
00021   //
00022 
00023   os << "NtpSRDetStatus::Print" << std::endl;
00024   os << "dcscoilstatus: 0x" << std::setfill('0') << std::hex << std::setw(2) 
00025      << dcscoilstatus << ", coilstatus(deprecated): " << coilstatus
00026      << std::dec << " " << ", coilcurrent: " << coilcurrent1 << ";" 
00027      << coilcurrent2 << std::endl;
00028   os << "dbuhvstatus: " << dbuhvstatus 
00029      << ", coldchips: " << coldchips1 << ";" << coldchips2 << std::endl;
00030 
00031   return os;
00032 
00033 }


Member Data Documentation

coil current in supermodule 1

Definition at line 38 of file NtpSRDetStatus.h.

Referenced by MadPIDAnalysis::CreatePAN(), NtpSRModule::FillNtpDetStatus(), and Print().

coil current in supermodule 2

HV status using TP singles info

Definition at line 39 of file NtpSRDetStatus.h.

Referenced by MadPIDAnalysis::CreatePAN(), NtpSRModule::FillNtpDetStatus(), and Print().

< coilstatus is deprecated, used to be filled from BFieldCoilCurrent

magnetic coil status: -1(rev),0(off/unknown),1(forward) dcscoilstatus is filled from BfldDbiCoilState, set to ECoilStatus::kUnknown if table is unavailable for a given validity.

Definition at line 34 of file NtpSRDetStatus.h.

Referenced by ANtpEventInfoAna::Analyze(), EventQualAna::Analyze(), MadMKAnalysis::CreatePAN(), MadTVAnalysis::CreatePAN(), NtpSRModule::FillNtpDetStatus(), and Print().

cold chips in supermodule 1

Definition at line 43 of file NtpSRDetStatus.h.

Referenced by NtpSRModule::FillNtpDetStatus(), and Print().

cold chips in supermodule 2

Definition at line 44 of file NtpSRDetStatus.h.

Referenced by NtpSRModule::FillNtpDetStatus(), and Print().

-1(unknown), 0(bad), 1(good)

Definition at line 42 of file NtpSRDetStatus.h.

Referenced by NtpSRModule::FillNtpDetStatus(), and Print().

mag coil status: enum'ed as DcsUser::ECoilStatus

Definition at line 37 of file NtpSRDetStatus.h.

Referenced by NtpSRModule::FillNtpDetStatus(), and Print().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1