| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

MixingAlgorithm Class Reference

#include <MixingAlgorithm.h>

Inheritance diagram for MixingAlgorithm:

[legend]
Collaboration diagram for MixingAlgorithm:
[legend]
List of all members.

Public Member Functions

 MixingAlgorithm (const std::string &name, ISvcLocator *pSvcLocator)
StatusCode initialize ()
StatusCode execute ()
StatusCode finalize ()
DayaBay::ReadoutHeaderGetCurrentHeaderObject () const
virtual StatusCode sysInitialize ()
virtual StatusCode sysExecute ()
virtual StatusCode preExecute ()
virtual StatusCode postExecute ()
virtual StatusCode sysFinalize ()
IDataProviderSvcarcSvc () const
void putTES (DataObject *obj, std::string location) const
TYPE * getTES (std::string location) const
TYPE * getAES (std::string location, int index) const
std::vector< DataObject * > getAEScollection (std::string location) const
int getExecNum ()
std::string Location () const
void put (IDataProviderSvc *svc, DataObject *object, const std::string &address, const bool useRootInTES=true) const
void put (DataObject *object, const std::string &address, const bool useRootInTES=true) const
Gaudi::Utils::GetData< TYPE
>::return_type 
get (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const
Gaudi::Utils::GetData< TYPE
>::return_type 
get (const std::string &location, const bool useRootInTES=true) const
TYPE * getDet (IDataProviderSvc *svc, const std::string &location) const
TYPE * getDet (const std::string &location) const
bool exist (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const
bool exist (const std::string &location, const bool useRootInTES=true) const
bool existDet (IDataProviderSvc *svc, const std::string &location) const
bool existDet (const std::string &location) const
TYPE * getOrCreate (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const
TYPE * getOrCreate (const std::string &location, const bool useRootInTES=true) const
bool registerContext () const
INTupleSvcevtColSvc () const
IAlgContextSvccontextSvc () const
TOOL * tool (const std::string &type, const std::string &name, const IInterface *parent=0, bool create=true) const
TOOL * tool (const std::string &type, const IInterface *parent=0, bool create=true) const
SERVICE * svc (const std::string &name, const bool create=true) const
IUpdateManagerSvcupdMgrSvc () const
IDataProviderSvcfastContainersSvc () const
StatusCode Error (const std::string &msg, const StatusCode st=StatusCode::FAILURE, const size_t mx=10) const
StatusCode Warning (const std::string &msg, const StatusCode st=StatusCode::FAILURE, const size_t mx=10) const
StatusCode Print (const std::string &msg, const StatusCode st=StatusCode::SUCCESS, const MSG::Level lev=MSG::INFO) const
StatusCode Assert (const bool ok, const std::string &message="", const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const
StatusCode Assert (const bool ok, const char *message, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const
StatusCode Exception (const std::string &msg, const GaudiException &exc, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const
StatusCode Exception (const std::string &msg, const std::exception &exc, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const
StatusCode Exception (const std::string &msg="no message", const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const
MsgStreammsgStream (const MSG::Level level) const
MsgStreamalways () const
MsgStreamfatal () const
MsgStreamerr () const
MsgStreamerror () const
MsgStreamwarning () const
MsgStreaminfo () const
MsgStreamdebug () const
MsgStreamverbose () const
MsgStreammsg () const
const Statisticscounters () const
StatEntitycounter (const std::string &tag) const
MSG::Level msgLevel () const
bool msgLevel (const MSG::Level level) const
void resetMsgStream () const
bool typePrint () const
bool propsPrint () const
bool statPrint () const
bool errorsPrint () const
long printStat (const MSG::Level level=MSG::ALWAYS) const
long printErrors (const MSG::Level level=MSG::ALWAYS) const
long printProps (const MSG::Level level=MSG::ALWAYS) const
void registerCondition (const std::string &condition, StatusCode(CallerClass::*mf)()=NULL)
void registerCondition (const std::string &condition, CondType *&condPtrDest, StatusCode(CallerClass::*mf)()=NULL)
void registerCondition (char *condition, StatusCode(CallerClass::*mf)()=NULL)
void registerCondition (TargetClass *condition, StatusCode(CallerClass::*mf)()=NULL)
StatusCode runUpdate ()
TransientFastContainer< T > * getFastContainer (const std::string &location, typename TransientFastContainer< T >::size_type initial=0)
StatusCode release (const IInterface *interface) const
unsigned long release ()
const std::string & context () const
const std::string & rootInTES () const
double globalTimeOffset () const
virtual StatusCode sysStart ()
virtual StatusCode sysReinitialize ()
virtual StatusCode sysRestart ()
virtual StatusCode sysStop ()
virtual StatusCode sysBeginRun ()
virtual StatusCode sysEndRun ()
virtual const std::string & name () const
virtual const std::string & version () const
virtual StatusCode configure ()
virtual StatusCode terminate ()
virtual StatusCode start ()
virtual StatusCode stop ()
virtual StatusCode reinitialize ()
virtual StatusCode restart ()
virtual bool isExecuted () const
virtual void setExecuted (bool state)
virtual void resetExecuted ()
virtual StatusCode beginRun ()
virtual StatusCode endRun ()
virtual Gaudi::StateMachine::State FSMState () const
virtual Gaudi::StateMachine::State targetFSMState () const
virtual bool isEnabled () const
virtual bool filterPassed () const
virtual void setFilterPassed (bool state)
StatusCode service (const std::string &name, T *&psvc, bool createIf=true) const
StatusCode service (const std::string &svcType, const std::string &svcName, T *&psvc) const
void setOutputLevel (int level)
IAuditorSvcauditorSvc () const
IChronoStatSvcchronoSvc () const
IChronoStatSvcchronoStatService () const
IDataProviderSvcdetSvc () const
IDataProviderSvcdetDataService () const
IConversionSvcdetCnvSvc () const
IConversionSvcdetDataCnvService () const
IDataProviderSvceventSvc () const
IDataProviderSvcevtSvc () const
IDataProviderSvceventDataService () const
IConversionSvceventCnvSvc () const
IConversionSvceventDataCnvService () const
IHistogramSvchistoSvc () const
IHistogramSvchistogramDataService () const
IMessageSvcmsgSvc () const
IMessageSvcmessageService () const
INTupleSvcntupleSvc () const
INTupleSvcntupleService () const
IRndmGenSvcrandSvc () const
IToolSvctoolSvc () const
IExceptionSvcexceptionSvc () const
ISvcLocatorserviceLocator () const
ISvcLocatorsvcLoc () const
StatusCode createSubAlgorithm (const std::string &type, const std::string &name, Algorithm *&pSubAlg)
std::vector< Algorithm * > * subAlgorithms () const
virtual StatusCode setProperty (const Property &p)
virtual StatusCode setProperty (const std::string &s)
virtual StatusCode setProperty (const std::string &n, const std::string &v)
StatusCode setProperty (const std::string &name, const TYPE &value)
virtual StatusCode getProperty (Property *p) const
virtual const PropertygetProperty (const std::string &name) const
virtual StatusCode getProperty (const std::string &n, std::string &v) const
virtual const std::vector<
Property * > & 
getProperties () const
StatusCode setProperties ()
PropertydeclareProperty (const std::string &name, T &property, const std::string &doc="none") const
PropertydeclareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") const
IMonitorSvcmonitorSvc () const
void declareInfo (const std::string &name, const T &var, const std::string &desc) const
void declareInfo (const std::string &name, const std::string &format, const void *var, int size, const std::string &desc) const
unsigned long addRef ()
StatusCode queryInterface (const InterfaceID &riid, void **)

Static Public Member Functions

static const InterfaceIDinterfaceID ()
static const InterfaceIDinterfaceID ()
static const InterfaceIDinterfaceID ()

Public Attributes

 SUCCESS
 NO_INTERFACE
 VERSMISMATCH
 LAST_ERROR

Protected Types

typedef std::map< std::string,
StatEntity
Statistics
typedef std::map< std::string,
unsigned int > 
Counter
typedef std::vector< IAlgTool * > AlgTools
typedef std::pair< IInterface *,
std::string > 
ServiceEntry
typedef std::vector< ServiceEntryServices

Protected Member Functions

DayaBay::ReadoutHeaderMakeHeaderObject ()
void InitializeHeader (DayaBay::HeaderObject *header)
void AppendInputHeader (const DayaBay::HeaderObject *header) const
StatusCode releaseTool (const IAlgTool *tool) const
StatusCode releaseSvc (const IInterface *svc) const
bool isInitialized () const
bool isFinalized () const
int outputLevel () const
IntegerPropertyoutputLevelProperty ()
void initOutputLevel (Property &prop)

Protected Attributes

DayaBay::HeaderObjectm_headerObject
bool m_pullMode
std::string m_location

Static Protected Attributes

static const bool IgnoreRootInTES
static const bool UseRootInTES

Private Member Functions

DayaBay::Readoutconvert (const PerReadout &perRo)
DayaBay::ReadoutPmtCrateconvert (const PerReadoutPmtCrate &perRoPcr)
DayaBay::ReadoutPmtChannel convert (const PerReadoutPmtChannel &perRoPch)
DayaBay::Readoutassign (const DayaBay::Readout &Ro)
DayaBay::ReadoutPmtCrateassign (const DayaBay::ReadoutPmtCrate &RoPcr)
DayaBay::ReadoutPmtChannel assign (const DayaBay::ReadoutPmtChannel &RoPch)
void reSetTimeStamps (const PerReadoutHeader *proh)

Private Attributes

IMixingSvcm_mixSvc

Detailed Description

Definition at line 17 of file MixingAlgorithm.h.


Member Typedef Documentation

typedef std::map< std::string, StatEntity > DybAlgorithm< DayaBay::ReadoutHeader >::Statistics [protected, inherited]

Reimplemented from DybBaseAlg.

typedef std::map< std::string, unsigned int > DybAlgorithm< DayaBay::ReadoutHeader >::Counter [protected, inherited]

Reimplemented from DybBaseAlg.

typedef std::vector< IAlgTool * > DybAlgorithm< DayaBay::ReadoutHeader >::AlgTools [protected, inherited]

Reimplemented from DybBaseAlg.

typedef std::pair< IInterface *, std::string > DybAlgorithm< DayaBay::ReadoutHeader >::ServiceEntry [protected, inherited]

Reimplemented from DybBaseAlg.

typedef std::vector< ServiceEntry > DybAlgorithm< DayaBay::ReadoutHeader >::Services [protected, inherited]

Reimplemented from DybBaseAlg.


Constructor & Destructor Documentation

MixingAlgorithm::MixingAlgorithm ( const std::string &  name,
ISvcLocator pSvcLocator 
)


Member Function Documentation

StatusCode MixingAlgorithm::initialize (  )  [virtual]

Reimplemented from DybAlgorithm< DayaBay::ReadoutHeader >.

Definition at line 21 of file MixingAlgorithm.cc.

00022 {
00023     StatusCode status= this->GaudiAlgorithm::initialize();
00024     if (status.isFailure()) 
00025     { 
00026          error() << "error when initializing  GaudiAlgorithm" << endreq;
00027          return status;
00028      }
00029    
00030      info() << "MixingAlgorithm ininalize()" << endreq; 
00031      IService* isvc=0;
00032      StatusCode sc = serviceLocator()->service("RootIOCnvSvc", isvc, false);
00033      if (sc.isFailure()) {
00034          error() << "Conversion service RootIOCnvSvc"<< " could not be retrieved" << endreq;
00035          return sc;
00036      }
00037      isvc->addRef();
00038      sc = isvc->queryInterface(IMixingSvc::interfaceID(), (void**)&m_mixSvc);
00039      if (sc.isFailure()) {
00040          error() << "Conversion service RootIOCnvSvc"  << " does not implement IRootIOCnvSvc" << endreq;
00041          
00042      }
00043   return sc;
00044 }

StatusCode MixingAlgorithm::execute (  )  [virtual]

Reimplemented from DybAlgorithm< DayaBay::ReadoutHeader >.

Definition at line 46 of file MixingAlgorithm.cc.

00047 {
00048   debug()<< "Now into Algorithm executation!"<< endreq;
00049   MixHeader mh = m_mixSvc->fetchMixHeader();
00050                               
00051   if(&mh != NULL)
00052   {
00053     // Using some functions in RegistrationSequence
00054     RegistrationSequence* seq = get<RegistrationSequence>(evtSvc(), RegistrationSequenceLocation::Default);
00055     debug()<< "ATTENTION!===========> Size = "<< seq->size()<< endreq;
00056     seq->setEarliest(mh.hder->earliest);
00057     seq->setLatest(mh.hder->latest);
00058 
00059     //If the sample coming from MDC, the codes below needed
00060     IRegistrationSequence::Registrations& regs = const_cast<IRegistrationSequence::Registrations&>(seq->registrations());
00061     IRegistrationSequence::Registrations::iterator regit;
00062     for(regit = regs.begin(); regit != regs.end(); regit++)
00063     {
00064       debug()<< regit->path()<< endreq;
00065       if(regit->path() == "/Event/Sim/SimHeader")
00066       {
00067         DataObject* child = const_cast<DataObject*>(regit->object());   
00068         SimHeader*  sh  = dynamic_cast<SimHeader*>(child);
00069         debug()<< sh->timeStamp().GetSeconds()<< endreq;
00070         //regit->setStore(false);
00071         const SimHitHeader* chits = sh->hits();
00072         if(!chits)
00073         {
00074           debug()<< "No SimHitHeader, my job is already done"<< endreq;
00075           return StatusCode::SUCCESS;
00076         }
00077         SimHitHeader* shits = const_cast<SimHitHeader*>(chits);
00078         debug() << "Pruning " << shits->hitCollection().size() << " hit collections" << endreq;
00079         sh->setHits(0);
00080         delete shits; 
00081         //info()<< "Not Storing: "<< regit->path()<< endreq;
00082       }
00083       else if(regit->path() == "/Event/SimReadout/SimReadoutHeader")
00084       {
00085         DataObject* child       = const_cast<DataObject*>(regit->object());   
00086         SimReadoutHeader*  sroh = dynamic_cast<SimReadoutHeader*>(child);
00087         debug()<< sroh->timeStamp().GetSeconds()<< endreq;
00088         regit->setStore(false);
00089         debug()<< "Not Storing: "<< regit->path()<< endreq;
00090       }
00091       else continue;
00092     }
00093 
00094     // Create Readout and it's header in TES with SimReadoutHeader as its inputHeader
00095     ReadoutHeader* roHeader = MakeHeaderObject();
00096     debug()<< "The Address of ReadoutHeader is "<< roHeader << endreq;
00097     SimHeader* sh = get<SimHeader>(evtSvc(), SimHeaderLocation::Default);
00098     debug()<< "InputHeader in ReadoutHeader: "<< roHeader->inputHeaders().size()<< endreq;
00099     //roHeader->addInputHeader(sh);
00100     this->AppendInputHeader(sh);
00101     debug()<< "InputHeader in ReadoutHeader: "<< roHeader->inputHeaders().size()<< endreq;   
00102     Readout*       readout;
00103 
00104     // Conversion : Per to tran
00105     debug()<< "There is some information ."<< endreq;
00106     PerReadout* pro = mh.hder->readout;
00107 
00108     if(pro) 
00109     {
00110       debug()<< "detector id = "       << pro->detector<< endreq;
00111       debug()<< "trigger Type = "      << pro->triggerType<< endreq; 
00112       debug()<< "triggerNumber = "     << pro->triggerNumber<< endreq;
00113       debug()<< "triggerTimeSec = "    << pro->triggerTimeSec<< endreq; 
00114       debug()<< "triggerTimeNanoSec = "<< pro->triggerTimeNanoSec<< endreq;
00115        
00116       //Conversion is here!
00117       debug()<< "PerPmtChannelSize is: "<< (static_cast<PerReadoutPmtCrate*>(pro))->perChannelReadouts.size()<< endreq;
00118       readout = convert(*pro);
00119       debug()<< "TranPmtChannelSize is: "<< (static_cast<ReadoutPmtCrate*>(readout))->channelReadout().size()<< endreq;
00120       roHeader->setContext(mh.hder->context);
00121       roHeader->setTimeStamp(mh.hder->earliest);
00122       roHeader->setEarliest(mh.hder->earliest);
00123       roHeader->setLatest(mh.hder->latest);
00124     }
00125     debug()<< "DetectorId: "<< roHeader->context().GetDetId()
00126           << "("<< DetectorId::AsString(roHeader->context().GetDetId())<< ")"<< endreq;
00127     debug()<< "Earliest time "<< mh.hder->earliest<< endreq;
00128     debug()<< "Latest   time "<< mh.hder->latest<< endreq;     
00129     
00130     readout->setHeader(roHeader);
00131     roHeader->setReadout(readout);
00132    
00133     // Copy this Readout into SimReadout
00134     /*ReadoutHeader* RoHeader = new ReadoutHeader();
00135     debug()<< "The Address of ReadoutHeader is "<< RoHeader << endreq;
00136     Readout*       ro;
00137     ro = assign(*readout);
00138     debug()<< "Readout triggerTime: "<< ro->triggerTime().GetSec()<< "--"
00139           << ro->triggerTime().GetNanoSec()<< endreq;
00140     RoHeader->setContext(mh.hder->context);
00141     RoHeader->setTimeStamp(mh.hder->earliest);
00142     RoHeader->setEarliest(mh.hder->earliest);
00143     RoHeader->setLatest(mh.hder->latest);
00144     ro->setHeader(RoHeader);
00145     RoHeader->setReadout(ro);
00146  
00147     SimReadoutHeader* sroh = get<SimReadoutHeader>(evtSvc(), SimReadoutHeaderLocation::Default);
00148     vector<SimReadout*> sros = sroh->readouts();
00149     debug()<< "Size of sros is "<< sros.size()<< endreq;
00150     debug()<< sroh->earliest()<<": "<< sroh->latest()<< endreq;
00151     // Now we need to clear the vector
00152     vector<SimReadout*>::iterator simit = sros.begin();
00153     ++simit;
00154     for(; simit != sros.end();)
00155     {
00156       delete (*simit);
00157       simit = sros.erase(simit);
00158     }
00159     debug()<< "After change, the size of sros is "<< sros.size()<< endreq;
00160 
00161     for(vector<SimReadout*>::size_type i = 0 ; i != sros.size(); i++)
00162     {
00163       debug()<< "readout is "<< readout<< endreq;
00164       debug()<< "ro is "<< ro<< endreq;
00165       const Readout* roo = sros[i]->readout();
00166       delete roo;
00167       sros[i]->setReadout(ro);
00168       const Readout* Ro = sros[i]->readout();
00169       debug()<< "After reset, m_readout is "<< Ro<< endreq;
00170     }
00171     //sroh->setTimeStamp(mh.hder->earliest);
00172     //sroh->setEarliest(mh.hder->earliest);
00173     //sroh->setLatest(mh.hder->latest);
00174     sroh->setReadouts(sros);*/
00175    
00176     reSetTimeStamps(mh.hder);
00177   
00178     //info()<< "SimReadoutHeader===earlist is: "<< sroh->earliest()<< endreq;
00179     //info()<< "SimReadoutHeader===context is: "<< sroh->timeStamp()<< endreq;
00180     //info()<< "SimReadoutHeader===latest  is: "<< sroh->latest()<< endreq;
00181   }
00182 
00183   PerReadoutHeader* proh = mh.hder;
00184   delete proh;
00185   debug()<< "MixingAlgorithm execute() finalized!" << endreq;
00186   return StatusCode::SUCCESS;
00187 }

StatusCode MixingAlgorithm::finalize (  )  [virtual]

Reimplemented from DybAlgorithm< DayaBay::ReadoutHeader >.

Definition at line 189 of file MixingAlgorithm.cc.

00190 {
00191   info() << "MixingAlgorithm finalize()" << endreq;
00192   return StatusCode::SUCCESS;
00193 }

Readout * MixingAlgorithm::convert ( const PerReadout perRo  )  [private]

Definition at line 195 of file MixingAlgorithm.cc.

00196 {
00197    Detector det(perRo.detector);
00198    if(det.detectorId() == DetectorId::kUnknown)  return 0; 
00199    else if(det.detectorId() != DetectorId::kRPC) return convert(static_cast<const PerReadoutPmtCrate&>(perRo));
00200    else return 0;   
00201    return 0;
00202 }

ReadoutPmtCrate * MixingAlgorithm::convert ( const PerReadoutPmtCrate perRoPcr  )  [private]

Definition at line 204 of file MixingAlgorithm.cc.

00205 {
00206   ReadoutPmtCrate *out_crate = new ReadoutPmtCrate();
00207   Detector det(perRoPcr.detector);
00208   out_crate->setDetector(det);
00209   out_crate->setTriggerType( Trigger::TriggerType_t(perRoPcr.triggerType));
00210   out_crate->setTriggerNumber(perRoPcr.triggerNumber);
00211   
00212   timespec value = {perRoPcr.triggerTimeSec, perRoPcr.triggerTimeNanoSec};
00213   TimeStamp tstamp(value);
00214   out_crate->setTriggerTime(tstamp); 
00215   
00216   ReadoutPmtCrate::PmtChannelReadouts out_channels;
00217   
00218   PerReadoutPmtCrate::PerPmtChannelReadouts in_channels = perRoPcr.perChannelReadouts;
00219   PerReadoutPmtCrate::PerPmtChannelReadouts::const_iterator it;
00220   
00221   for(it=in_channels.begin(); it!=in_channels.end(); ++it)
00222   {
00223     ReadoutPmtChannel out_channel = convert(**it);
00224     out_channel.setReadout(out_crate);
00225     out_channels[out_channel.channelId()]=out_channel;
00226   }  
00227   out_crate->setChannelReadout(out_channels);
00228   return out_crate;
00229 }

ReadoutPmtChannel MixingAlgorithm::convert ( const PerReadoutPmtChannel perRoPch  )  [private]

Definition at line 231 of file MixingAlgorithm.cc.

00232 {
00233   ReadoutPmtChannel out_ch;
00234   out_ch.setTdc(perRoPch.tdc);
00235   out_ch.setTdcHitCount(perRoPch.tdcHitCount);
00236   out_ch.setAdc(perRoPch.adc);
00237   out_ch.setAdcRange(perRoPch.adcRange);
00238   out_ch.setPedestal(perRoPch.pedestal);
00239   out_ch.setAdcCycle(perRoPch.adcCycle);
00240   FeeChannelId id(perRoPch.channelId);
00241   out_ch.setMode(perRoPch.mode);
00242   out_ch.setChannelId(id);
00243   out_ch.setWaveAdcLow(perRoPch.waveAdcLow);
00244   out_ch.setWaveAdcHigh(perRoPch.waveAdcHigh);
00245   out_ch.setWaveAdcCycle(perRoPch.waveAdcCycle);
00246   //if(perRoPch.isLow) out_ch.setAdcGain(FeeGain::kLow);
00247   //else out_ch.setAdcGain(FeeGain::kHigh);
00248   return out_ch;
00249 }

Readout * MixingAlgorithm::assign ( const DayaBay::Readout Ro  )  [private]

Definition at line 251 of file MixingAlgorithm.cc.

00252 {
00253   const Detector& det = Ro.detector();
00254   if(det.detectorId() == DetectorId::kUnknown)  return 0;
00255   else if(det.detectorId() != DetectorId::kRPC) return assign(static_cast<const ReadoutPmtCrate&>(Ro));
00256   else return 0;
00257 }

ReadoutPmtCrate * MixingAlgorithm::assign ( const DayaBay::ReadoutPmtCrate RoPcr  )  [private]

Definition at line 259 of file MixingAlgorithm.cc.

00260 {
00261   ReadoutPmtCrate *out_crate = new ReadoutPmtCrate();
00262 
00263   out_crate->setDetector(RoPcr.detector());
00264   out_crate->setTriggerType(RoPcr.triggerType());
00265   out_crate->setTriggerTime(RoPcr.triggerTime());
00266   out_crate->setTriggerNumber(RoPcr.triggerNumber());
00267   debug()<<"Old DetectorId is "<< RoPcr.detector()<<endreq;
00268   debug()<<"New DetectorId is "<< out_crate->detector()<<endreq;
00269 
00270   debug()<<"Old time is "<< RoPcr.triggerTime()<< endreq;
00271   debug()<<"New time is "<< out_crate->triggerTime()<< endreq;
00272   ReadoutPmtCrate::PmtChannelReadouts out_channels; 
00273   ReadoutPmtCrate::PmtChannelReadouts in_channels = RoPcr.channelReadout();
00274   ReadoutPmtCrate::PmtChannelReadouts::const_iterator it;  
00275   for(it=in_channels.begin(); it!=in_channels.end(); ++it)
00276   {
00277     ReadoutPmtChannel out_channel = assign(it->second);
00278     out_channel.setReadout(out_crate);
00279     out_channels[out_channel.channelId()]=out_channel;
00280   }  
00281   out_crate->setChannelReadout(out_channels);
00282   return out_crate;
00283 }

ReadoutPmtChannel MixingAlgorithm::assign ( const DayaBay::ReadoutPmtChannel RoPch  )  [private]

Definition at line 285 of file MixingAlgorithm.cc.

00286 {
00287   ReadoutPmtChannel out_ch;
00288   out_ch.setTdc(RoPch.tdc());
00289   out_ch.setTdcHitCount(RoPch.tdcHitCount());
00290   out_ch.setAdc(RoPch.adc());
00291   out_ch.setAdcRange(RoPch.adcRange());
00292   out_ch.setAdcCycle(RoPch.adcCycle());
00293   out_ch.setMode(RoPch.mode());
00294   out_ch.setChannelId(RoPch.channelId());
00295   out_ch.setWaveAdcLow(RoPch.waveAdcLow());
00296   out_ch.setWaveAdcHigh(RoPch.waveAdcHigh());
00297   out_ch.setWaveAdcCycle(RoPch.waveAdcCycle());
00298   return out_ch;
00299 }

void MixingAlgorithm::reSetTimeStamps ( const PerReadoutHeader proh  )  [private]

Definition at line 301 of file MixingAlgorithm.cc.

00302 {
00303   // Reset these Headers
00304   RegistrationSequence* seq = get<RegistrationSequence>(evtSvc(), RegistrationSequenceLocation::Default);
00305   debug()<< "Reset the Time info.: Time Window!"<< endreq;
00306 
00307   IRegistrationSequence::Registrations& regs = const_cast<IRegistrationSequence::Registrations&>(seq->registrations());
00308   IRegistrationSequence::Registrations::iterator regit;
00309   for(regit = regs.begin(); regit != regs.end(); regit++)
00310   {
00311     debug()<< regit->path()<< endreq;
00312     // Reset GenHeader time
00313     if(regit->path() == GenHeaderLocation::Default)
00314     {
00315       GenHeader*  gh        = get<GenHeader>(evtSvc(), GenHeaderLocation::Default);
00316       SimReadoutHeader* srh = get<SimReadoutHeader>(evtSvc(), SimReadoutHeaderLocation::Default);
00317       TimeStamp temp        = proh->earliest - srh->earliest();
00318       gh->setContext(proh->context);
00319       temp.Add(gh->earliest());
00320       gh->setTimeStamp(temp);
00321       gh->setEarliest(temp);
00322       temp = proh->earliest - srh->earliest();
00323       temp.Add(gh->latest());
00324       gh->setLatest(temp);
00325       debug()<< "GenHeader===earlist is: "<< gh->earliest()<< endreq;
00326       debug()<< "GenHeader===context is: "<< gh->timeStamp()<< endreq;
00327       debug()<< "GenHeader===latest  is: "<< gh->latest()<< endreq;
00328     }
00329 
00330     // Reset SimHeader time
00331     if(regit->path() == SimHeaderLocation::Default)
00332     {  
00333       SimHeader*  sh        = get<SimHeader>(evtSvc(), SimHeaderLocation::Default);
00334       SimReadoutHeader* srh = get<SimReadoutHeader>(evtSvc(), SimReadoutHeaderLocation::Default);
00335       TimeStamp temp        = proh->earliest - srh->earliest();
00336       sh->setContext(proh->context);
00337       temp.Add(sh->earliest());
00338       sh->setTimeStamp(temp);
00339       sh->setEarliest(temp);
00340       temp = proh->earliest - srh->earliest();
00341       temp.Add(sh->latest());
00342       sh->setLatest(temp);
00343       debug()<< "SimHeader===earlist is: "<< sh->earliest()<< endreq;
00344       debug()<< "SimHeader===context is: "<< sh->timeStamp()<< endreq;
00345       debug()<< "SimHeader===latest  is: "<< sh->latest()<< endreq;
00346     }
00347     
00348     // Reset SimTrigHeader time
00349     /* if(regit->path() == SimTrigHeaderLocation::Default)
00350     {
00351       SimTrigHeader* sth = get<SimTrigHeader>(evtSvc(), SimTrigHeaderLocation::Default);
00352       sth->setContext(proh->context);
00353       sth->setTimeStamp(proh->earliest);
00354       sth->setEarliest(proh->earliest);
00355       sth->setLatest(proh->latest);
00356       debug()<< "SimTrigHeader===earlist is: "<< sth->earliest()<< endreq;
00357       debug()<< "SimTrigHeader===context is: "<< sth->timeStamp()<< endreq;
00358       debug()<< "SimTrigHeader===latest  is: "<< sth->latest()<< endreq;
00359       }*/
00360     
00361     // Reset ElecHeader time
00362     /*if(regit->path() == ElecHeaderLocation::Default)
00363     {
00364       ElecHeader* eh = get<ElecHeader>(evtSvc(), ElecHeaderLocation::Default);
00365       eh->setContext(proh->context);
00366       eh->setTimeStamp(proh->earliest);
00367       eh->setEarliest(proh->earliest);
00368       eh->setLatest(proh->latest);
00369       debug()<< "ElecHeader===earlist is: "<< eh->earliest()<< endreq;
00370       debug()<< "ElecHeader===context is: "<< eh->timeStamp()<< endreq;
00371       debug()<< "ElecHeader===latest  is: "<< eh->latest()<< endreq;
00372       }*/
00373 
00374     // Reset SimReadoutHeader time
00375     /*if(regit->path() == SimReadoutHeaderLocation::Default)
00376     {
00377       SimReadoutHeader* srh = get<SimReadoutHeader>(evtSvc(), SimReadoutHeaderLocation::Default);
00378       srh->setContext(proh->context);
00379       srh->setTimeStamp(proh->earliest);
00380       srh->setEarliest(proh->earliest);
00381       srh->setLatest(proh->latest);
00382       debug()<< "SimReadoutHeader===earlist is: "<< srh->earliest()<< endreq;
00383       debug()<< "SimReadoutHeader===context is: "<< srh->timeStamp()<< endreq;
00384       debug()<< "SimReadoutHeader===latest  is: "<< srh->latest()<< endreq;
00385       }*/
00386   }
00387 }

DayaBay::ReadoutHeader * DybAlgorithm< DayaBay::ReadoutHeader >::GetCurrentHeaderObject (  )  const [inherited]

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::sysInitialize (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::sysExecute (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::preExecute (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::postExecute (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::sysFinalize (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

IDataProviderSvc * DybAlgorithm< DayaBay::ReadoutHeader >::arcSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::ReadoutHeader >::putTES ( DataObject obj,
std::string  location 
) const [inherited]

Reimplemented from DybBaseAlg.

TYPE * DybAlgorithm< DayaBay::ReadoutHeader >::getTES ( std::string  location  )  const [inherited]

Reimplemented from DybBaseAlg.

TYPE * DybAlgorithm< DayaBay::ReadoutHeader >::getAES ( std::string  location,
int  index 
) const [inherited]

Reimplemented from DybBaseAlg.

std::vector< DataObject * > DybAlgorithm< DayaBay::ReadoutHeader >::getAEScollection ( std::string  location  )  const [inherited]

Reimplemented from DybBaseAlg.

int DybAlgorithm< DayaBay::ReadoutHeader >::getExecNum (  )  [inherited]

Reimplemented from DybBaseAlg.

std::string DybAlgorithm< DayaBay::ReadoutHeader >::Location (  )  const [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::ReadoutHeader >::put ( IDataProviderSvc svc,
DataObject object,
const std::string &  address,
const bool  useRootInTES = true 
) const [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::ReadoutHeader >::put ( DataObject object,
const std::string &  address,
const bool  useRootInTES = true 
) const [inherited]

Reimplemented from DybBaseAlg.

Gaudi::Utils::GetData< TYPE >::return_type DybAlgorithm< DayaBay::ReadoutHeader >::get ( IDataProviderSvc svc,
const std::string &  location,
const bool  useRootInTES = true 
) const [inherited]

Reimplemented from DybBaseAlg.

Gaudi::Utils::GetData< TYPE >::return_type DybAlgorithm< DayaBay::ReadoutHeader >::get ( const std::string &  location,
const bool  useRootInTES = true 
) const [inherited]

Reimplemented from DybBaseAlg.

TYPE * DybAlgorithm< DayaBay::ReadoutHeader >::getDet ( IDataProviderSvc svc,
const std::string &  location 
) const [inherited]

Reimplemented from DybBaseAlg.

TYPE * DybAlgorithm< DayaBay::ReadoutHeader >::getDet ( const std::string &  location  )  const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::ReadoutHeader >::exist ( IDataProviderSvc svc,
const std::string &  location,
const bool  useRootInTES = true 
) const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::ReadoutHeader >::exist ( const std::string &  location,
const bool  useRootInTES = true 
) const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::ReadoutHeader >::existDet ( IDataProviderSvc svc,
const std::string &  location 
) const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::ReadoutHeader >::existDet ( const std::string &  location  )  const [inherited]

Reimplemented from DybBaseAlg.

TYPE * DybAlgorithm< DayaBay::ReadoutHeader >::getOrCreate ( IDataProviderSvc svc,
const std::string &  location,
const bool  useRootInTES = true 
) const [inherited]

Reimplemented from DybBaseAlg.

TYPE * DybAlgorithm< DayaBay::ReadoutHeader >::getOrCreate ( const std::string &  location,
const bool  useRootInTES = true 
) const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::ReadoutHeader >::registerContext (  )  const [inherited]

Reimplemented from DybBaseAlg.

INTupleSvc * DybAlgorithm< DayaBay::ReadoutHeader >::evtColSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IAlgContextSvc * DybAlgorithm< DayaBay::ReadoutHeader >::contextSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

TOOL * DybAlgorithm< DayaBay::ReadoutHeader >::tool ( const std::string &  type,
const std::string &  name,
const IInterface parent = 0,
bool  create = true 
) const [inherited]

Reimplemented from DybBaseAlg.

TOOL * DybAlgorithm< DayaBay::ReadoutHeader >::tool ( const std::string &  type,
const IInterface parent = 0,
bool  create = true 
) const [inherited]

Reimplemented from DybBaseAlg.

SERVICE * DybAlgorithm< DayaBay::ReadoutHeader >::svc ( const std::string &  name,
const bool  create = true 
) const [inherited]

Reimplemented from DybBaseAlg.

IUpdateManagerSvc * DybAlgorithm< DayaBay::ReadoutHeader >::updMgrSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IDataProviderSvc * DybAlgorithm< DayaBay::ReadoutHeader >::fastContainersSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::Error ( const std::string &  msg,
const StatusCode  st = StatusCode::FAILURE,
const size_t  mx = 10 
) const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::Warning ( const std::string &  msg,
const StatusCode  st = StatusCode::FAILURE,
const size_t  mx = 10 
) const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::Print ( const std::string &  msg,
const StatusCode  st = StatusCode::SUCCESS,
const MSG::Level  lev = MSG::INFO 
) const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::Assert ( const bool  ok,
const std::string &  message = "",
const StatusCode  sc = StatusCode(StatusCode::FAILURE, true) 
) const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::Assert ( const bool  ok,
const char *  message,
const StatusCode  sc = StatusCode(StatusCode::FAILURE, true) 
) const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::Exception ( const std::string &  msg,
const GaudiException exc,
const StatusCode  sc = StatusCode(StatusCode::FAILURE, true) 
) const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::Exception ( const std::string &  msg,
const std::exception &  exc,
const StatusCode  sc = StatusCode(StatusCode::FAILURE, true) 
) const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::Exception ( const std::string &  msg = "no message",
const StatusCode  sc = StatusCode(StatusCode::FAILURE, true) 
) const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::ReadoutHeader >::msgStream ( const MSG::Level  level  )  const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::ReadoutHeader >::always (  )  const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::ReadoutHeader >::fatal (  )  const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::ReadoutHeader >::err (  )  const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::ReadoutHeader >::error (  )  const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::ReadoutHeader >::warning (  )  const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::ReadoutHeader >::info (  )  const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::ReadoutHeader >::debug (  )  const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::ReadoutHeader >::verbose (  )  const [inherited]

Reimplemented from DybBaseAlg.

MsgStream & DybAlgorithm< DayaBay::ReadoutHeader >::msg (  )  const [inherited]

Reimplemented from DybBaseAlg.

const Statistics & DybAlgorithm< DayaBay::ReadoutHeader >::counters (  )  const [inherited]

Reimplemented from DybBaseAlg.

StatEntity & DybAlgorithm< DayaBay::ReadoutHeader >::counter ( const std::string &  tag  )  const [inherited]

Reimplemented from DybBaseAlg.

MSG::Level DybAlgorithm< DayaBay::ReadoutHeader >::msgLevel (  )  const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::ReadoutHeader >::msgLevel ( const MSG::Level  level  )  const [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::ReadoutHeader >::resetMsgStream (  )  const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::ReadoutHeader >::typePrint (  )  const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::ReadoutHeader >::propsPrint (  )  const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::ReadoutHeader >::statPrint (  )  const [inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::ReadoutHeader >::errorsPrint (  )  const [inherited]

Reimplemented from DybBaseAlg.

long DybAlgorithm< DayaBay::ReadoutHeader >::printStat ( const MSG::Level  level = MSG::ALWAYS  )  const [inherited]

Reimplemented from DybBaseAlg.

long DybAlgorithm< DayaBay::ReadoutHeader >::printErrors ( const MSG::Level  level = MSG::ALWAYS  )  const [inherited]

Reimplemented from DybBaseAlg.

long DybAlgorithm< DayaBay::ReadoutHeader >::printProps ( const MSG::Level  level = MSG::ALWAYS  )  const [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::ReadoutHeader >::registerCondition ( const std::string &  condition,
StatusCode(CallerClass::*)()  mf = NULL 
) [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::ReadoutHeader >::registerCondition ( const std::string &  condition,
CondType *&  condPtrDest,
StatusCode(CallerClass::*)()  mf = NULL 
) [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::ReadoutHeader >::registerCondition ( char *  condition,
StatusCode(CallerClass::*)()  mf = NULL 
) [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::ReadoutHeader >::registerCondition ( TargetClass *  condition,
StatusCode(CallerClass::*)()  mf = NULL 
) [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::runUpdate (  )  [inherited]

Reimplemented from DybBaseAlg.

TransientFastContainer< T > * DybAlgorithm< DayaBay::ReadoutHeader >::getFastContainer ( const std::string &  location,
typename TransientFastContainer< T >::size_type  initial = 0 
) [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::release ( const IInterface interface  )  const [inherited]

Reimplemented from DybBaseAlg.

unsigned long DybAlgorithm< DayaBay::ReadoutHeader >::release (  )  [inherited]

Reimplemented from DybBaseAlg.

const std::string & DybAlgorithm< DayaBay::ReadoutHeader >::context (  )  const [inherited]

Reimplemented from DybBaseAlg.

const std::string & DybAlgorithm< DayaBay::ReadoutHeader >::rootInTES (  )  const [inherited]

Reimplemented from DybBaseAlg.

double DybAlgorithm< DayaBay::ReadoutHeader >::globalTimeOffset (  )  const [inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::sysStart (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::sysReinitialize (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::sysRestart (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::sysStop (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::sysBeginRun (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::sysEndRun (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual const std::string & DybAlgorithm< DayaBay::ReadoutHeader >::name (  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual const std::string & DybAlgorithm< DayaBay::ReadoutHeader >::version (  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::configure (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::terminate (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::start (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::stop (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::reinitialize (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::restart (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual bool DybAlgorithm< DayaBay::ReadoutHeader >::isExecuted (  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual void DybAlgorithm< DayaBay::ReadoutHeader >::setExecuted ( bool  state  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual void DybAlgorithm< DayaBay::ReadoutHeader >::resetExecuted (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::beginRun (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::endRun (  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual Gaudi::StateMachine::State DybAlgorithm< DayaBay::ReadoutHeader >::FSMState (  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual Gaudi::StateMachine::State DybAlgorithm< DayaBay::ReadoutHeader >::targetFSMState (  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual bool DybAlgorithm< DayaBay::ReadoutHeader >::isEnabled (  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual bool DybAlgorithm< DayaBay::ReadoutHeader >::filterPassed (  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual void DybAlgorithm< DayaBay::ReadoutHeader >::setFilterPassed ( bool  state  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::service ( const std::string &  name,
T *&  psvc,
bool  createIf = true 
) const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::service ( const std::string &  svcType,
const std::string &  svcName,
T *&  psvc 
) const [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::ReadoutHeader >::setOutputLevel ( int  level  )  [inherited]

Reimplemented from DybBaseAlg.

IAuditorSvc * DybAlgorithm< DayaBay::ReadoutHeader >::auditorSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IChronoStatSvc * DybAlgorithm< DayaBay::ReadoutHeader >::chronoSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IChronoStatSvc * DybAlgorithm< DayaBay::ReadoutHeader >::chronoStatService (  )  const [inherited]

Reimplemented from DybBaseAlg.

IDataProviderSvc * DybAlgorithm< DayaBay::ReadoutHeader >::detSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IDataProviderSvc * DybAlgorithm< DayaBay::ReadoutHeader >::detDataService (  )  const [inherited]

Reimplemented from DybBaseAlg.

IConversionSvc * DybAlgorithm< DayaBay::ReadoutHeader >::detCnvSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IConversionSvc * DybAlgorithm< DayaBay::ReadoutHeader >::detDataCnvService (  )  const [inherited]

Reimplemented from DybBaseAlg.

IDataProviderSvc * DybAlgorithm< DayaBay::ReadoutHeader >::eventSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IDataProviderSvc * DybAlgorithm< DayaBay::ReadoutHeader >::evtSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IDataProviderSvc * DybAlgorithm< DayaBay::ReadoutHeader >::eventDataService (  )  const [inherited]

Reimplemented from DybBaseAlg.

IConversionSvc * DybAlgorithm< DayaBay::ReadoutHeader >::eventCnvSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IConversionSvc * DybAlgorithm< DayaBay::ReadoutHeader >::eventDataCnvService (  )  const [inherited]

Reimplemented from DybBaseAlg.

IHistogramSvc * DybAlgorithm< DayaBay::ReadoutHeader >::histoSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IHistogramSvc * DybAlgorithm< DayaBay::ReadoutHeader >::histogramDataService (  )  const [inherited]

Reimplemented from DybBaseAlg.

IMessageSvc * DybAlgorithm< DayaBay::ReadoutHeader >::msgSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IMessageSvc * DybAlgorithm< DayaBay::ReadoutHeader >::messageService (  )  const [inherited]

Reimplemented from DybBaseAlg.

INTupleSvc * DybAlgorithm< DayaBay::ReadoutHeader >::ntupleSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

INTupleSvc * DybAlgorithm< DayaBay::ReadoutHeader >::ntupleService (  )  const [inherited]

Reimplemented from DybBaseAlg.

IRndmGenSvc * DybAlgorithm< DayaBay::ReadoutHeader >::randSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IToolSvc * DybAlgorithm< DayaBay::ReadoutHeader >::toolSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

IExceptionSvc * DybAlgorithm< DayaBay::ReadoutHeader >::exceptionSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

ISvcLocator * DybAlgorithm< DayaBay::ReadoutHeader >::serviceLocator (  )  const [inherited]

Reimplemented from DybBaseAlg.

ISvcLocator * DybAlgorithm< DayaBay::ReadoutHeader >::svcLoc (  )  const [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::createSubAlgorithm ( const std::string &  type,
const std::string &  name,
Algorithm *&  pSubAlg 
) [inherited]

Reimplemented from DybBaseAlg.

std::vector< Algorithm * > * DybAlgorithm< DayaBay::ReadoutHeader >::subAlgorithms (  )  const [inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::setProperty ( const Property p  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::setProperty ( const std::string &  s  )  [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::setProperty ( const std::string &  n,
const std::string &  v 
) [virtual, inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::setProperty ( const std::string &  name,
const TYPE &  value 
) [inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::getProperty ( Property p  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual const Property & DybAlgorithm< DayaBay::ReadoutHeader >::getProperty ( const std::string &  name  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::getProperty ( const std::string &  n,
std::string &  v 
) const [virtual, inherited]

Reimplemented from DybBaseAlg.

virtual const std::vector< Property * > & DybAlgorithm< DayaBay::ReadoutHeader >::getProperties (  )  const [virtual, inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::setProperties (  )  [inherited]

Reimplemented from DybBaseAlg.

Property * DybAlgorithm< DayaBay::ReadoutHeader >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
) const [inherited]

Reimplemented from DybBaseAlg.

Property * DybAlgorithm< DayaBay::ReadoutHeader >::declareRemoteProperty ( const std::string &  name,
IProperty rsvc,
const std::string &  rname = "" 
) const [inherited]

Reimplemented from DybBaseAlg.

IMonitorSvc * DybAlgorithm< DayaBay::ReadoutHeader >::monitorSvc (  )  const [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::ReadoutHeader >::declareInfo ( const std::string &  name,
const T &  var,
const std::string &  desc 
) const [inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::ReadoutHeader >::declareInfo ( const std::string &  name,
const std::string &  format,
const void *  var,
int  size,
const std::string &  desc 
) const [inherited]

Reimplemented from DybBaseAlg.

unsigned long DybAlgorithm< DayaBay::ReadoutHeader >::addRef (  )  [inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::queryInterface ( const InterfaceID riid,
void **   
) [inherited]

Reimplemented from DybBaseAlg.

static const InterfaceID & DybAlgorithm< DayaBay::ReadoutHeader >::interfaceID (  )  [static, inherited]

Reimplemented from DybBaseAlg.

static const InterfaceID & DybAlgorithm< DayaBay::ReadoutHeader >::interfaceID (  )  [static, inherited]

Reimplemented from DybBaseAlg.

static const InterfaceID & DybAlgorithm< DayaBay::ReadoutHeader >::interfaceID (  )  [static, inherited]

Reimplemented from DybBaseAlg.

DayaBay::ReadoutHeader * DybAlgorithm< DayaBay::ReadoutHeader >::MakeHeaderObject (  )  [protected, inherited]

void DybAlgorithm< DayaBay::ReadoutHeader >::InitializeHeader ( DayaBay::HeaderObject header  )  [protected, inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::ReadoutHeader >::AppendInputHeader ( const DayaBay::HeaderObject header  )  const [protected, inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::releaseTool ( const IAlgTool tool  )  const [protected, inherited]

Reimplemented from DybBaseAlg.

StatusCode DybAlgorithm< DayaBay::ReadoutHeader >::releaseSvc ( const IInterface svc  )  const [protected, inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::ReadoutHeader >::isInitialized (  )  const [protected, inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::ReadoutHeader >::isFinalized (  )  const [protected, inherited]

Reimplemented from DybBaseAlg.

int DybAlgorithm< DayaBay::ReadoutHeader >::outputLevel (  )  const [protected, inherited]

Reimplemented from DybBaseAlg.

IntegerProperty & DybAlgorithm< DayaBay::ReadoutHeader >::outputLevelProperty (  )  [protected, inherited]

Reimplemented from DybBaseAlg.

void DybAlgorithm< DayaBay::ReadoutHeader >::initOutputLevel ( Property prop  )  [protected, inherited]

Reimplemented from DybBaseAlg.


Member Data Documentation

IMixingSvc* MixingAlgorithm::m_mixSvc [private]

Definition at line 26 of file MixingAlgorithm.h.

DybAlgorithm< DayaBay::ReadoutHeader >::SUCCESS [inherited]

Reimplemented from DybBaseAlg.

DybAlgorithm< DayaBay::ReadoutHeader >::NO_INTERFACE [inherited]

Reimplemented from DybBaseAlg.

DybAlgorithm< DayaBay::ReadoutHeader >::VERSMISMATCH [inherited]

Reimplemented from DybBaseAlg.

DybAlgorithm< DayaBay::ReadoutHeader >::LAST_ERROR [inherited]

Reimplemented from DybBaseAlg.

DayaBay::HeaderObject * DybAlgorithm< DayaBay::ReadoutHeader >::m_headerObject [protected, inherited]

Reimplemented from DybBaseAlg.

bool DybAlgorithm< DayaBay::ReadoutHeader >::m_pullMode [protected, inherited]

Reimplemented from DybBaseAlg.

std::string DybAlgorithm< DayaBay::ReadoutHeader >::m_location [protected, inherited]

Reimplemented from DybBaseAlg.

const bool DybAlgorithm< DayaBay::ReadoutHeader >::IgnoreRootInTES [static, protected, inherited]

Reimplemented from DybBaseAlg.

const bool DybAlgorithm< DayaBay::ReadoutHeader >::UseRootInTES [static, protected, inherited]

Reimplemented from DybBaseAlg.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:45:53 2011 for Mixing by doxygen 1.4.7