Difference: MuSunMu_PK (1 vs. 2)

Revision 22011-04-22 - PeterWinter

Line: 1 to 1
 
META TOPICPARENT name="LinuxPK"
Changed:
<
<

TEventTreeAnalysis::TEventTreeAnalysis()

pointers and data members

TTree *fEventTree; // Musun main tree
TBranch *fMusunEventBranch;
TMusunEvent *fEvent;

Public Member Functions

TMusunEvent ()
virtual ~TMusunEvent ()
void Clear (Option_t *option="")
void SetNelectron (Int_t n)
void SetNmusunneutronpulse (Int_t n)
void SetNmusunfadcpulse (Int_t n)
void SetNmusunwfdgondolapulse (Int_t n)
void SetNwfdpulse (Int_t n)
void SetValid (Bool_t valid)
void SetHasFadcPulse (Bool_t hfp)
void SetHasNeutronPulse (Bool_t hnp)
void SetHasWfdGondolaPulse (Bool_t hgp)
void SetHasWfdPulse (Bool_t hwp)
void SetHasGondCaen (Bool_t hgc)
void SetSerialNumber (Int_t serial_num)
void SetEventNumber (Int_t event_num)
void SetMuEntranceX (Float_t mentx)
void SetMuEntranceY (Float_t menty)
void SetNgondCaen (Int_t n)
void SetBlockNumber (Int_t bl_num)
void SetBlockTime (Int_t bl_t)
void SetNMuEntrances (Int_t nments)
void SetMuEntranceT (Int_t mentt)
void SetMuEntranceNo (Int_t mentno)
void SetIsoMuon ( TMuEntrance *mu)
TElectron * AddElectron ( TElectron *e)
TMusunNeutronPulse * AddMusunNeutronPulse ( TMusunNeutronPulse * n)
TMusunFadcPulse * AddMusunFadcPulse ( TMusunFadcPulse *p)
TMusunWfdGondolaPulse * AddMusunWfdGondolaPulse ( TMusunWfdGondolaPulse * w)
TMusunWfdPulse * AddWfdPulse ( TMusunWfdPulse *d)
TGondOnly * AddGondCaen ( TGondOnly *t)
TMuEntrance * GetMuEntrance () const
virtual Int_t GetNmusunfadcpulse () const
virtual TClonesArray * GetMusunFadcPulse () const
virtual Int_t GetNmusunneutronpulse () const
virtual TClonesArray * GetMusunNeutronPulse () const
virtual Int_t GetNmusunwfdgondolapulse () const
virtual TClonesArray * GetMusunWfdGondolaPulse () const
virtual Int_t GetNwfdpulse () const
virtual TClonesArray * GetMusunWfdPulse () const
Int_t GetNelectron () const
TClonesArray * GetElectrons () const
Int_t GetNgondCaen () const
TClonesArray * GetGondCaen () const
Bool_t IsValid () const
Bool_t HasFadcPulse () const
Bool_t HasNeutronPulse () const
Bool_t HasWfdGondolaPulse () const
Bool_t HasWfdPulse () const
Bool_t HasGondCaen () const
Int_t GetSerialNumber () const
Int_t GetEventNumber () const
Float_t GetMuEntranceX () const
Float_t GetMuEntranceY () const
Int_t GetBlockNumber () const
Int_t GetBlockTime () const
Int_t GetNMuEntrances () const
Int_t GetMuEntranceT () const
Int_t GetMuEntranceNo () const

TMusunNeutronPulse *newneutron;
TMusunWfdPulse *wpulse

Public Member Functions

TMusunWfdPulse ()
TMusunWfdPulse (const TMusunWfdPulse &orig)
virtual ~TMusunWfdPulse ()
void Clear (Option_t *option="")
void Reset (Option_t *option="")
Int_t * GetSample ()
Int_t GetNSample ()
Int_t GetBlockTime () const
Int_t GetPadNo () const
Short_t GetPadI () const
Short_t GetPadJ () const
Int_t GetPedestal () const
Double_t GetPedestalSigma () const
Int_t GetFitPedestal () const
Int_t GetFitTime () const
Int_t GetFitIntegral () const
Double_t GetFitSigma () const
Double_t GetFitChisq () const
Int_t GetFitAmplitude () const
void SetBlockTime (Int_t time)
void SetPadNo (Int_t padn)
void SetPadI (Short_t padino)
void SetPadJ (Short_t padjno)
void SetPedestal (Int_t pedval)
void SetPedestalSigma (Double_t pds)
void SetFitPedestal (Short_t fitped)
void SetFitAmplitude (Int_t fitamp)
void SetFitTime (Int_t ftime)
void SetFitIntegral (Int_t fint)
void SetFitSigma (Double_t fsig)
void SetFitChisq (Double_t fchi)
void SetSamples (Int_t nsample, Int_t *psamples)


TGondOnly *gondmusun;
TElectron *el;
TMusunWfdGondolaPulse *p;

classes and functions

  • INT TEventTreeAnalysis::ProcessEvent(EVENT_HEADER *pheader, void *pevent)
    • Int_t nmuEnt = gData->muEntrances->fN;
    • TPCWFD_info *Wfd_Pulse_Array;
    • WFDPulse *WFD_Pulses;
    • for(int i=0; i < nmuEnt ; i++) {
      TMuEntrance &muEnt = gData->muEntrances->fHitClu[i];
      if(timesort){
      if ( wfdpBlockTime <= tmuEnt - 5000) {
      lastWfd = wf;
      continue;
      }
      if ( wfdpBlockTime >= tmuEnt + 35000 ) break;
      }
    • INT TEventTreeAnalysis::ProcessEvent(EVENT_HEADER *pheader, void *pevent)
      • Int_t nmuEnt = gData->muEntrances->fN;
      • TPCWFD_info *Wfd_Pulse_Array;
      • WFDPulse *WFD_Pulses;
      • for(int i=0; i < nmuEnt ; i++) {
        TMuEntrance &muEnt = gData->muEntrances->fHitClu[i];
        if(timesort){
        if ( wfdpBlockTime <= tmuEnt - 5000) {
        lastWfd = wf;
        continue;
        }
        if ( wfdpBlockTime >= tmuEnt + 35000 ) break;
        }
        wpulse->SetFitSigma(wfdpSigma);
        wpulse->SetFitChisq(wfdpChisq);
        wpulse->SetSamples(88, Wfd_Pulse_Array[wf].wfdsamples);
        fEvent->AddWfdPulse(wpulse);

Referenced by TEventTreeAnalysis::ProcessEvent().

00117 {
00118 TClonesArray &wfdpulses = *fWfdPulses;
00119 [[http://muon.npl.washington.edu/exp/MuSun/html/html/classTMusunWfdPulse.html][TMusunWfdPulse]] *wfdpulse = new(wfdpulses[fNwfdpulse++]) [[http://muon.npl.washington.edu/exp/MuSun/html/html/classTMusunWfdPulse.html][TMusunWfdPulse]](*d);
00120 return wfdpulse;
00121 }
>
>
Please go to https://muon.npl.washington.edu/twiki/bin/view/Main/MuSunMu_PK
 \ No newline at end of file

Revision 12011-01-12 - PeterKammel

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="LinuxPK"

TEventTreeAnalysis::TEventTreeAnalysis()

pointers and data members

TTree *fEventTree; // Musun main tree
TBranch *fMusunEventBranch;
TMusunEvent *fEvent;

Public Member Functions

TMusunEvent ()
virtual ~TMusunEvent ()
void Clear (Option_t *option="")
void SetNelectron (Int_t n)
void SetNmusunneutronpulse (Int_t n)
void SetNmusunfadcpulse (Int_t n)
void SetNmusunwfdgondolapulse (Int_t n)
void SetNwfdpulse (Int_t n)
void SetValid (Bool_t valid)
void SetHasFadcPulse (Bool_t hfp)
void SetHasNeutronPulse (Bool_t hnp)
void SetHasWfdGondolaPulse (Bool_t hgp)
void SetHasWfdPulse (Bool_t hwp)
void SetHasGondCaen (Bool_t hgc)
void SetSerialNumber (Int_t serial_num)
void SetEventNumber (Int_t event_num)
void SetMuEntranceX (Float_t mentx)
void SetMuEntranceY (Float_t menty)
void SetNgondCaen (Int_t n)
void SetBlockNumber (Int_t bl_num)
void SetBlockTime (Int_t bl_t)
void SetNMuEntrances (Int_t nments)
void SetMuEntranceT (Int_t mentt)
void SetMuEntranceNo (Int_t mentno)
void SetIsoMuon ( TMuEntrance *mu)
TElectron * AddElectron ( TElectron *e)
TMusunNeutronPulse * AddMusunNeutronPulse ( TMusunNeutronPulse * n)
TMusunFadcPulse * AddMusunFadcPulse ( TMusunFadcPulse *p)
TMusunWfdGondolaPulse * AddMusunWfdGondolaPulse ( TMusunWfdGondolaPulse * w)
TMusunWfdPulse * AddWfdPulse ( TMusunWfdPulse *d)
TGondOnly * AddGondCaen ( TGondOnly *t)
TMuEntrance * GetMuEntrance () const
virtual Int_t GetNmusunfadcpulse () const
virtual TClonesArray * GetMusunFadcPulse () const
virtual Int_t GetNmusunneutronpulse () const
virtual TClonesArray * GetMusunNeutronPulse () const
virtual Int_t GetNmusunwfdgondolapulse () const
virtual TClonesArray * GetMusunWfdGondolaPulse () const
virtual Int_t GetNwfdpulse () const
virtual TClonesArray * GetMusunWfdPulse () const
Int_t GetNelectron () const
TClonesArray * GetElectrons () const
Int_t GetNgondCaen () const
TClonesArray * GetGondCaen () const
Bool_t IsValid () const
Bool_t HasFadcPulse () const
Bool_t HasNeutronPulse () const
Bool_t HasWfdGondolaPulse () const
Bool_t HasWfdPulse () const
Bool_t HasGondCaen () const
Int_t GetSerialNumber () const
Int_t GetEventNumber () const
Float_t GetMuEntranceX () const
Float_t GetMuEntranceY () const
Int_t GetBlockNumber () const
Int_t GetBlockTime () const
Int_t GetNMuEntrances () const
Int_t GetMuEntranceT () const
Int_t GetMuEntranceNo () const

TMusunNeutronPulse *newneutron;
TMusunWfdPulse *wpulse

Public Member Functions

TMusunWfdPulse ()
TMusunWfdPulse (const TMusunWfdPulse &orig)
virtual ~TMusunWfdPulse ()
void Clear (Option_t *option="")
void Reset (Option_t *option="")
Int_t * GetSample ()
Int_t GetNSample ()
Int_t GetBlockTime () const
Int_t GetPadNo () const
Short_t GetPadI () const
Short_t GetPadJ () const
Int_t GetPedestal () const
Double_t GetPedestalSigma () const
Int_t GetFitPedestal () const
Int_t GetFitTime () const
Int_t GetFitIntegral () const
Double_t GetFitSigma () const
Double_t GetFitChisq () const
Int_t GetFitAmplitude () const
void SetBlockTime (Int_t time)
void SetPadNo (Int_t padn)
void SetPadI (Short_t padino)
void SetPadJ (Short_t padjno)
void SetPedestal (Int_t pedval)
void SetPedestalSigma (Double_t pds)
void SetFitPedestal (Short_t fitped)
void SetFitAmplitude (Int_t fitamp)
void SetFitTime (Int_t ftime)
void SetFitIntegral (Int_t fint)
void SetFitSigma (Double_t fsig)
void SetFitChisq (Double_t fchi)
void SetSamples (Int_t nsample, Int_t *psamples)


TGondOnly *gondmusun;
TElectron *el;
TMusunWfdGondolaPulse *p;

classes and functions

  • INT TEventTreeAnalysis::ProcessEvent(EVENT_HEADER *pheader, void *pevent)
    • Int_t nmuEnt = gData->muEntrances->fN;
    • TPCWFD_info *Wfd_Pulse_Array;
    • WFDPulse *WFD_Pulses;
    • for(int i=0; i < nmuEnt ; i++) {
      TMuEntrance &muEnt = gData->muEntrances->fHitClu[i];
      if(timesort){
      if ( wfdpBlockTime <= tmuEnt - 5000) {
      lastWfd = wf;
      continue;
      }
      if ( wfdpBlockTime >= tmuEnt + 35000 ) break;
      }
    • INT TEventTreeAnalysis::ProcessEvent(EVENT_HEADER *pheader, void *pevent)
      • Int_t nmuEnt = gData->muEntrances->fN;
      • TPCWFD_info *Wfd_Pulse_Array;
      • WFDPulse *WFD_Pulses;
      • for(int i=0; i < nmuEnt ; i++) {
        TMuEntrance &muEnt = gData->muEntrances->fHitClu[i];
        if(timesort){
        if ( wfdpBlockTime <= tmuEnt - 5000) {
        lastWfd = wf;
        continue;
        }
        if ( wfdpBlockTime >= tmuEnt + 35000 ) break;
        }
        wpulse->SetFitSigma(wfdpSigma);
        wpulse->SetFitChisq(wfdpChisq);
        wpulse->SetSamples(88, Wfd_Pulse_Array[wf].wfdsamples);
        fEvent->AddWfdPulse(wpulse);

Referenced by TEventTreeAnalysis::ProcessEvent().

00117 {
00118 TClonesArray &wfdpulses = *fWfdPulses;
00119 [[http://muon.npl.washington.edu/exp/MuSun/html/html/classTMusunWfdPulse.html][TMusunWfdPulse]] *wfdpulse = new(wfdpulses[fNwfdpulse++]) [[http://muon.npl.washington.edu/exp/MuSun/html/html/classTMusunWfdPulse.html][TMusunWfdPulse]](*d);
00120 return wfdpulse;
00121 }
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback